ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <geant4/tree/geant4-10.6-release/examples/extended/medical/DICOM/include/DicomRunAction.hh>
Public Member Functions | |
DicomRunAction () | |
Constructor. | |
~DicomRunAction () | |
Destructor. | |
G4Run * | GenerateRun () |
void | BeginOfRunAction (const G4Run *) |
void | EndOfRunAction (const G4Run *) |
DicomRun * | GetDicomRun () const |
void | PrintHeader (std::ostream *out) |
std::string | FillString (const std::string &name, char c, G4int n, G4bool back=true) |
Public Member Functions inherited from G4UserRunAction | |
G4UserRunAction () | |
virtual | ~G4UserRunAction () |
virtual void | SetMaster (G4bool val=true) |
G4bool | IsMaster () const |
Protected Attributes | |
DicomRun * | fDcmrun |
std::vector< G4String > | fSDName |
Protected Attributes inherited from G4UserRunAction | |
G4bool | isMaster |
Private Attributes | |
G4int | fFieldValue |
Definition at line 42 of file DicomRunAction.hh.
View newest version in sPHENIX GitHub at line 42 of file DicomRunAction.hh
DicomRunAction::DicomRunAction | ( | ) |
Constructor.
Definition at line 46 of file DicomRunAction.cc.
View newest version in sPHENIX GitHub at line 46 of file DicomRunAction.cc
References fSDName.
DicomRunAction::~DicomRunAction | ( | ) |
Destructor.
Definition at line 56 of file DicomRunAction.cc.
View newest version in sPHENIX GitHub at line 56 of file DicomRunAction.cc
References fSDName.
Reimplemented from G4UserRunAction.
Definition at line 72 of file DicomRunAction.cc.
View newest version in sPHENIX GitHub at line 72 of file DicomRunAction.cc
References G4cout, G4endl, G4Run::GetNumberOfEventToBeProcessed(), G4Run::GetRunID(), G4RunManager::GetRunManager(), G4RunManager::SetPrintProgress(), G4RunManager::SetRandomNumberStore(), G4RunManager::SetRandomNumberStoreDir(), G4RunManager::SetRandomNumberStorePerEvent(), and nlohmann::to_string().
Reimplemented from G4UserRunAction.
Reimplemented in Dicom2RunAction.
Definition at line 87 of file DicomRunAction.cc.
View newest version in sPHENIX GitHub at line 87 of file DicomRunAction.cc
References test::fname, fSDName, G4cout, G4endl, G4Exception(), DicomRun::GetHitsMap(), G4VTHitsMap< T, Map_t >::GetMap(), G4Run::GetNumberOfEvent(), G4Run::GetRunID(), CLHEP::gray, gray, G4UserRunAction::IsMaster(), JustWarning, and PrintHeader().
Referenced by Dicom2RunAction::EndOfRunAction().
std::string DicomRunAction::FillString | ( | const std::string & | name, |
char | c, | ||
G4int | n, | ||
G4bool | back = true |
||
) |
Definition at line 219 of file DicomRunAction.cc.
View newest version in sPHENIX GitHub at line 219 of file DicomRunAction.cc
References test::fname, and k.
Reimplemented from G4UserRunAction.
Reimplemented in Dicom2RunAction.
Definition at line 62 of file DicomRunAction.cc.
View newest version in sPHENIX GitHub at line 62 of file DicomRunAction.cc
|
inline |
Definition at line 55 of file DicomRunAction.hh.
View newest version in sPHENIX GitHub at line 55 of file DicomRunAction.hh
References fDcmrun.
void DicomRunAction::PrintHeader | ( | std::ostream * | out | ) |
Definition at line 197 of file DicomRunAction.cc.
View newest version in sPHENIX GitHub at line 197 of file DicomRunAction.cc
References fFieldValue, G4endl, and it.
Referenced by EndOfRunAction(), and Dicom2RunAction::EndOfRunAction().
|
protected |
Definition at line 62 of file DicomRunAction.hh.
View newest version in sPHENIX GitHub at line 62 of file DicomRunAction.hh
Referenced by GenerateRun(), Dicom2RunAction::GenerateRun(), and GetDicomRun().
|
private |
Definition at line 68 of file DicomRunAction.hh.
View newest version in sPHENIX GitHub at line 68 of file DicomRunAction.hh
Referenced by PrintHeader().
|
protected |
Definition at line 64 of file DicomRunAction.hh.
View newest version in sPHENIX GitHub at line 64 of file DicomRunAction.hh
Referenced by DicomRunAction(), EndOfRunAction(), Dicom2RunAction::EndOfRunAction(), GenerateRun(), Dicom2RunAction::GenerateRun(), and ~DicomRunAction().