31 #ifdef G4MULTITHREADED
60 int main(
int argc,
char** argv)
69 char*
part = getenv(
"DICOM_PARTIAL_PARAM");
75 seeds[0] = 534524575674523;
76 seeds[1] = 526345623452457;
80 #ifdef G4MULTITHREADED
81 char* nthread_c = getenv(
"DICOM_NTHREADS");
86 G4cout <<
"\n\n\tDICOM2 running in multithreaded mode with "
88 <<
" threads\n\n" <<
G4endl;
91 G4cout <<
"\n\n\tDICOM running in serial mode\n\n" <<
G4endl;
106 theFileMgr->
Convert(
"Data.dat");
114 char* nest = getenv(
"DICOM_NESTED_PARAM" );
115 if( nest &&
G4String(nest) ==
"1" ) {
152 G4String command =
"/control/execute ";
void SetNumberOfThreads(G4int n)
Definition of the DicomHandler class.
static G4double ConvertToDouble(const char *st)
static void setTheSeed(long seed, int lux=3)
static DicomFileMgr * GetInstance()
G4int ApplyCommand(const char *aCommand)
void Convert(G4String fFileName)
Action initialization class.
Definition of the DicomNestedParamDetectorConstruction class.
static G4UImanager * GetUIpointer()
G4int GetNumberOfThreads() const
virtual void SetUserInitialization(G4VUserDetectorConstruction *userInit)
static void setTheEngine(HepRandomEngine *theNewEngine)
Definition of the DicomRegularDetectorConstruction class.
Definition of the DicomIntersectVolume class.
Definition of the DicomPartialDetectorConstruction class.
int main(int argc, char **argv)
G4GLOB_DLL std::ostream G4cout
static void setTheSeeds(const long *seeds, int aux=-1)
Manages intersections of DICOM files with volumes.
TShielding< G4VModularPhysicsList > Shielding
virtual void Initialize()
Definition of the Dicom2ActionInitialization class.