#include <G4Svc.h>
Inheritance diagram for G4Svc:
Public Member Functions | |
double | EmcCoherentNoise () |
double | EmcCoherentNoise () |
double | EmcIncoherentNoise () |
double | EmcIncoherentNoise () |
bool | EmcLightOutput () |
bool | EmcLightOutput () |
int | EmcNoiseLevel () |
int | EmcNoiseLevel () |
double | EmcNoiseMean () |
double | EmcNoiseMean () |
double | EmcNoiseSigma () |
double | EmcNoiseSigma () |
double | EmcNoiseThreshold () |
double | EmcNoiseThreshold () |
bool | EmcRootFlag () |
bool | EmcRootFlag () |
int | EmcTime () |
int | EmcTime () |
virtual StatusCode | finalize () |
virtual StatusCode | finalize () |
void | G4Init () |
void | G4Init () |
double | GetBeamAngle () |
double | GetBeamAngle () |
double | GetBeamDeltaTime () |
double | GetBeamDeltaTime () |
double | GetBeamPosX () |
double | GetBeamPosX () |
double | GetBeamPosY () |
double | GetBeamPosY () |
double | GetBeamPosZ () |
double | GetBeamPosZ () |
double | GetBeamShiftPx () |
double | GetBeamShiftPx () |
double | GetBeamShiftPy () |
double | GetBeamShiftPy () |
double | GetBeamShiftPz () |
double | GetBeamShiftPz () |
double | GetBeamSizeX () |
double | GetBeamSizeX () |
double | GetBeamSizeY () |
double | GetBeamSizeY () |
double | GetBeamSizeZ () |
double | GetBeamSizeZ () |
double | GetBeamStartTime () |
double | GetBeamStartTime () |
double | GetBeamTime () |
double | GetBeamTime () |
bool | GetBoostLab () |
bool | GetBoostLab () |
double | GetBunchTimeSigma () |
double | GetBunchTimeSigma () |
const G4Event * | GetCurrentEvent () const |
const G4Event * | GetCurrentEvent () const |
const G4Run * | GetCurrentRun () const |
const G4Run * | GetCurrentRun () const |
int | GetMdcDataInput () |
int | GetMdcDataInput () |
int | GetMdcDedxFlag () |
int | GetMdcDedxFlag () |
std::string | GetMdcNoiseFile () |
std::string | GetMdcNoiseFile () |
double | GetNBunch () |
double | GetNBunch () |
bool | GetSetBeamShift () |
bool | GetSetBeamShift () |
NTuple::Tuple * | GetTupleEmc1 () |
NTuple::Tuple * | GetTupleEmc1 () |
NTuple::Tuple * | GetTupleEmc2 () |
NTuple::Tuple * | GetTupleEmc2 () |
NTuple::Tuple * | GetTupleMdc () |
NTuple::Tuple * | GetTupleMdc () |
NTuple::Tuple * | GetTupleMuc () |
NTuple::Tuple * | GetTupleMuc () |
NTuple::Tuple * | GetTupleTof1 () |
NTuple::Tuple * | GetTupleTof1 () |
NTuple::Tuple * | GetTupleTof2 () |
NTuple::Tuple * | GetTupleTof2 () |
NTuple::Tuple * | GetTupleTof3 () |
NTuple::Tuple * | GetTupleTof3 () |
virtual StatusCode | initialize () |
virtual StatusCode | initialize () |
int | LogLevel () |
int | LogLevel () |
bool | MdcRootFlag () |
bool | MdcRootFlag () |
int | MucNoiseMode () |
int | MucNoiseMode () |
bool | MucRootFlag () |
bool | MucRootFlag () |
virtual StatusCode | queryInterface (const InterfaceID &riid, void **ppvInterface) |
virtual StatusCode | queryInterface (const InterfaceID &riid, void **ppvInterface) |
void | RunInitialize () |
void | RunInitialize () |
G4RunManager * | runMgr () |
G4RunManager * | runMgr () |
void | RunTerminate () |
void | RunTerminate () |
void | SetBeamTime (double value) |
void | SetBeamTime (double value) |
void | SetTupleEmc1 (NTuple::Tuple *tuple) |
void | SetTupleEmc1 (NTuple::Tuple *tuple) |
void | SetTupleEmc2 (NTuple::Tuple *tuple) |
void | SetTupleEmc2 (NTuple::Tuple *tuple) |
void | SetTupleMdc (NTuple::Tuple *tuple) |
void | SetTupleMdc (NTuple::Tuple *tuple) |
void | SetTupleMuc (NTuple::Tuple *tuple) |
void | SetTupleMuc (NTuple::Tuple *tuple) |
void | SetTupleTof1 (NTuple::Tuple *tuple) |
void | SetTupleTof1 (NTuple::Tuple *tuple) |
void | SetTupleTof2 (NTuple::Tuple *tuple) |
void | SetTupleTof2 (NTuple::Tuple *tuple) |
void | SetTupleTof3 (NTuple::Tuple *tuple) |
void | SetTupleTof3 (NTuple::Tuple *tuple) |
void | SetUserAction (G4UserSteppingAction *) |
void | SetUserAction (G4UserTrackingAction *) |
void | SetUserAction (G4UserStackingAction *) |
void | SetUserAction (G4VUserPrimaryGeneratorAction *) |
void | SetUserAction (G4UserEventAction *) |
void | SetUserAction (G4UserRunAction *) |
void | SetUserAction (G4UserSteppingAction *) |
void | SetUserAction (G4UserTrackingAction *) |
void | SetUserAction (G4UserStackingAction *) |
void | SetUserAction (G4VUserPrimaryGeneratorAction *) |
void | SetUserAction (G4UserEventAction *) |
void | SetUserAction (G4UserRunAction *) |
void | SetUserInitialization (G4VUserPhysicsList *physInit) |
void | SetUserInitialization (G4VUserDetectorConstruction *userInit) |
void | SetUserInitialization (G4VUserPhysicsList *physInit) |
void | SetUserInitialization (G4VUserDetectorConstruction *userInit) |
void | SimulateEvents (int) |
void | SimulateEvents (int) |
void | StartUISession () |
void | StartUISession () |
bool | TofRootFlag () |
bool | TofRootFlag () |
bool | TofSaturationFlag () |
bool | TofSaturationFlag () |
G4UImanager * | uiMgr () |
G4UImanager * | uiMgr () |
Static Public Member Functions | |
const InterfaceID & | interfaceID () |
Retrieve interface ID. | |
const InterfaceID & | interfaceID () |
Retrieve interface ID. | |
Protected Member Functions | |
G4Svc (const std::string &name, ISvcLocator *svc) | |
G4Svc (const std::string &name, ISvcLocator *svc) | |
virtual | ~G4Svc () |
virtual | ~G4Svc () |
Private Attributes | |
bool | _init |
double | m_beamAngle |
double | m_beamDeltaTime |
double | m_beamPosX |
double | m_beamPosY |
double | m_beamPosZ |
double | m_beamShiftPx |
double | m_beamShiftPy |
double | m_beamShiftPz |
double | m_beamSizeX |
double | m_beamSizeY |
double | m_beamSizeZ |
double | m_beamStartTime |
double | m_beamTime |
bool | m_besGenAction |
bool | m_boostLab |
double | m_bunchTimeSigma |
double | m_emcCoherentNoise |
double | m_emcIncoherentNoise |
bool | m_emcLightOutput |
int | m_emcNoiseLevel |
double | m_emcNoiseMean |
double | m_emcNoiseSigma |
double | m_emcNoiseThreshold |
bool | m_emcRootFlag |
int | m_emcTime |
int | m_eventVerb |
bool | m_interactiveG4 |
int | m_logLevel |
std::string | m_macroName |
int | m_mdcDataInput |
int | m_mdcDedxFlag |
std::string | m_mdcNoiseFile |
bool | m_mdcRootFlag |
int | m_mucNoiseMode |
bool | m_mucRootFlag |
double | m_nBunch |
RealizationSvc * | m_RealizationSvc |
RealizationSvc * | m_RealizationSvc |
int | m_runID |
int | m_runVerb |
bool | m_setBeamShift |
bool | m_tofRootFlag |
bool | m_tofSaturationFlag |
int | m_trackVerb |
NTuple::Tuple * | m_tupleEmc1 |
NTuple::Tuple * | m_tupleEmc1 |
NTuple::Tuple * | m_tupleEmc2 |
NTuple::Tuple * | m_tupleEmc2 |
NTuple::Tuple * | m_tupleMdc |
NTuple::Tuple * | m_tupleMdc |
NTuple::Tuple * | m_tupleMuc |
NTuple::Tuple * | m_tupleMuc |
NTuple::Tuple * | m_tupleTof1 |
NTuple::Tuple * | m_tupleTof1 |
NTuple::Tuple * | m_tupleTof2 |
NTuple::Tuple * | m_tupleTof2 |
NTuple::Tuple * | m_tupleTof3 |
NTuple::Tuple * | m_tupleTof3 |
bool | m_vis |
G4SvcRunManager * | p_runMgr |
G4SvcRunManager * | p_runMgr |
G4UImanager * | p_uiMgr |
G4UImanager * | p_uiMgr |
Friends | |
class | SvcFactory<G4Svc> |
|
00037 : 00038 Service( name, svc ), p_runMgr(0), p_uiMgr(0), p_visMgr(0), 00039 _init(false), m_beamTime(0) 00040 { 00041 //declareProperty( "PhysicsList", m_PhysicsList="none"); 00042 //declareProperty( "DefaultPhysicsCut", m_PhysicsCut=-1.); 00043 declareProperty( "Visualize", m_vis=false); 00044 //declareProperty( "VisType", m_visType="VRML1FILE"); 00045 00046 declareProperty( "RunVerbosity", m_runVerb=0); 00047 declareProperty( "EventVerbosity", m_eventVerb=0); 00048 declareProperty( "TrackingVerbosity", m_trackVerb=0); 00049 00050 declareProperty( "FADSmacro",m_macroName="none" ); 00051 declareProperty( "MdcNoiseFile", m_mdcNoiseFile="none"); 00052 00053 //declareProperty( "SaveHits", m_saveHits=true); 00054 //declareProperty( "SaveTracks", m_saveTracks=false); 00055 declareProperty( "LogLevel", m_logLevel=6); 00056 00057 declareProperty( "InteractiveG4" , m_interactiveG4=false); 00058 00059 declareProperty("BesGenAction", m_besGenAction=false); 00060 00061 declareProperty("BeamPosX",m_beamPosX=0); 00062 declareProperty("BeamPosY",m_beamPosY=0); 00063 declareProperty("BeamPosZ",m_beamPosZ=0); 00064 00065 declareProperty("BeamSizeX", m_beamSizeX=10); 00066 declareProperty("BeamSizeY", m_beamSizeY=20); 00067 declareProperty("BeamSizeZ", m_beamSizeZ=30); 00068 00069 declareProperty("BeamStartTime",m_beamStartTime=0); 00070 declareProperty("BeamDeltaTime",m_beamDeltaTime=0); 00071 declareProperty("NBunch",m_nBunch=1); 00072 00073 declareProperty("BunchTimeSigma",m_bunchTimeSigma=0); 00074 00075 declareProperty("MdcDataInput",m_mdcDataInput=1); 00076 declareProperty("MdcDedxFlag",m_mdcDedxFlag=1); 00077 00078 declareProperty("BoostLab",m_boostLab=false); 00079 declareProperty("BeamAngle",m_beamAngle=11); 00080 00081 declareProperty("SetBeamShift",m_setBeamShift= false); 00082 declareProperty("BeamShiftPx" ,m_beamShiftPx=39.45); // in unit MeV 00083 declareProperty("BeamShiftPy" ,m_beamShiftPy=-0.98); 00084 declareProperty("BeamShiftPz" ,m_beamShiftPz=3.70); 00085 00086 declareProperty("MdcRootFlag",m_mdcRootFlag=false); 00087 declareProperty("TofRootFlag",m_tofRootFlag=false); 00088 declareProperty("EmcRootFlag",m_emcRootFlag=false); 00089 declareProperty("MucRootFlag",m_mucRootFlag=false); 00090 00091 // Switch for ADC Saturation in Bhabha events 00092 declareProperty("TofSaturationFlag",m_tofSaturationFlag=true); 00093 00094 declareProperty("EmcLightOutput",m_emcLightOutput=true); 00095 declareProperty("EmcIncoherentNoise",m_emcIncoherentNoise=0.2); 00096 declareProperty("EmcCoherentNoise",m_emcCoherentNoise=0.); 00097 declareProperty("EmcNoiseMean",m_emcNoiseMean=1.16); 00098 declareProperty("EmcNoiseSigma",m_emcNoiseSigma=0.23); 00099 declareProperty("EmcNoiseThreshold",m_emcNoiseThreshold=0.5); 00100 declareProperty("EmcNoiseLevel",m_emcNoiseLevel=3); 00101 declareProperty("EmcTime",m_emcTime=20); 00102 00103 declareProperty("MucNoiseMode", m_mucNoiseMode=1); 00104 }
|
|
00108 { 00109 std::cout<<"G4Svc::~G4Svc()"<<std::endl; 00110 if (p_runMgr != 0) { 00111 delete p_runMgr; 00112 } 00113 #ifdef G4VIS_USE 00114 if (p_visMgr != 0) { 00115 delete p_visMgr; 00116 } 00117 #endif 00118 00119 }
|
|
|
|
|
|
00126 {return m_emcCoherentNoise;}
|
|
00126 {return m_emcCoherentNoise;}
|
|
00125 {return m_emcIncoherentNoise;}
|
|
00125 {return m_emcIncoherentNoise;}
|
|
00124 {return m_emcLightOutput;}
|
|
00124 {return m_emcLightOutput;}
|
|
00130 {return m_emcNoiseLevel;}
|
|
00130 {return m_emcNoiseLevel;}
|
|
00127 {return m_emcNoiseMean;}
|
|
00127 {return m_emcNoiseMean;}
|
|
00128 {return m_emcNoiseSigma;}
|
|
00128 {return m_emcNoiseSigma;}
|
|
00129 {return m_emcNoiseThreshold;}
|
|
00129 {return m_emcNoiseThreshold;}
|
|
00119 {return m_emcRootFlag;}
|
|
00119 {return m_emcRootFlag;}
|
|
00131 {return m_emcTime;}
|
|
00131 {return m_emcTime;}
|
|
|
|
00166 { 00167 00168 MsgStream log( msgSvc(), name() ); 00169 StatusCode status = Service::finalize(); 00170 00171 if ( status.isSuccess() ) 00172 log << MSG::INFO << "Service finalised successfully" << endreq; 00173 00174 return status; 00175 }
|
|
Implements IG4Svc. |
|
Implements IG4Svc. 00295 { 00296 00297 MsgStream log( msgSvc(), name() ); 00298 00299 log << MSG::VERBOSE << "Attempting G4 Initialization" << endreq; 00300 00301 if (!_init) { 00302 // Tracking 00303 //if (m_saveTracks) { 00304 // log << MSG::INFO << "turning tracking on" << std::endl; 00305 // uiMgr()->ApplyCommand("/tracking/storeTrajectory 1"); 00306 //} 00307 00308 // Visualization manager 00309 #ifdef G4VIS_USE 00310 if (m_vis) { 00311 log << MSG::INFO << "Initializing G4SvcVisManager" << endreq; 00312 //p_visMgr = new G4SvcVisManager; 00313 p_visMgr = new G4VisExecutive; 00314 p_visMgr->Initialize(); 00315 } 00316 #else 00317 m_vis = false; 00318 #endif 00319 00320 if (!m_vis) { 00321 log << MSG::INFO << "Not including Visualization" << endreq; 00322 } 00323 00324 // Verbosity 00325 log << MSG::DEBUG << "Setting verbosity levels - " 00326 << "run: " << m_runVerb << " event: " << m_eventVerb 00327 << " track: " << m_trackVerb << endreq; 00328 00329 { 00330 std::ostrstream ost; 00331 ost << "/run/verbose " << m_runVerb << std::ends; 00332 uiMgr()->ApplyCommand(ost.str()); 00333 } 00334 { 00335 std::ostrstream ost; 00336 ost << "/event/verbose " << m_eventVerb << std::ends; 00337 uiMgr()->ApplyCommand(ost.str()); 00338 } 00339 { 00340 std::ostrstream ost; 00341 ost << "/tracking/verbose " << m_trackVerb << std::ends; 00342 uiMgr()->ApplyCommand(ost.str()); 00343 } 00344 00345 log << MSG::DEBUG << "Initializing G4 kernel" << endreq; 00346 p_runMgr->Initialize(); 00347 _init = true; 00348 00349 if (m_macroName!="none"){ 00350 log << MSG::INFO << "Running G4 macro "<<m_macroName<< endreq; 00351 uiMgr()->ApplyCommand("/control/execute "+m_macroName); 00352 } 00353 if (m_interactiveG4) { 00354 StartUISession(); 00355 } 00356 00357 }else { 00358 log << MSG::ERROR << "G4 kernel already initialized" << endreq; 00359 } 00360 }
|
|
00089 {return m_beamAngle;}
|
|
00089 {return m_beamAngle;}
|
|
00081 {return m_beamDeltaTime;}
|
|
00081 {return m_beamDeltaTime;}
|
|
00068 {return m_beamPosX;}
|
|
00068 {return m_beamPosX;}
|
|
00069 {return m_beamPosY;}
|
|
00069 {return m_beamPosY;}
|
|
00070 {return m_beamPosZ;}
|
|
00070 {return m_beamPosZ;}
|
|
00076 {return m_beamShiftPx;}
|
|
00076 {return m_beamShiftPx;}
|
|
00077 {return m_beamShiftPy;}
|
|
00077 {return m_beamShiftPy;}
|
|
00078 {return m_beamShiftPz;}
|
|
00078 {return m_beamShiftPz;}
|
|
00072 {return m_beamSizeX;}
|
|
00072 {return m_beamSizeX;}
|
|
00073 {return m_beamSizeY;}
|
|
00073 {return m_beamSizeY;}
|
|
00074 {return m_beamSizeZ;}
|
|
00074 {return m_beamSizeZ;}
|
|
00080 {return m_beamStartTime;}
|
|
00080 {return m_beamStartTime;}
|
|
00085 {return m_beamTime;}
|
|
00085 {return m_beamTime;}
|
|
00090 {return m_boostLab;}
|
|
00090 {return m_boostLab;}
|
|
00083 {return m_bunchTimeSigma;}
|
|
00083 {return m_bunchTimeSigma;}
|
|
Implements IG4Svc. |
|
Implements IG4Svc. 00192 { 00193 00194 const G4Event *evt = p_runMgr->GetCurrentEvent(); 00195 00196 if (evt == 0) { 00197 MsgStream log( msgSvc(), name() ); 00198 log << MSG::ERROR << "Could not get current G4Event" << endreq; 00199 } 00200 00201 return ( evt ); 00202 00203 }
|
|
Implements IG4Svc. |
|
Implements IG4Svc. 00206 { 00207 00208 return ( p_runMgr->GetCurrentRun() ); 00209 00210 }
|
|
00093 { return m_mdcDataInput; }
|
|
00093 { return m_mdcDataInput; }
|
|
00094 {return m_mdcDedxFlag;}
|
|
00094 {return m_mdcDedxFlag;}
|
|
00087 {return m_mdcNoiseFile;}
|
|
00087 {return m_mdcNoiseFile;}
|
|
00082 {return m_nBunch;}
|
|
00082 {return m_nBunch;}
|
|
00091 {return m_setBeamShift;}
|
|
00091 {return m_setBeamShift;}
|
|
00108 {return m_tupleEmc1;}
|
|
00108 {return m_tupleEmc1;}
|
|
00111 {return m_tupleEmc2;}
|
|
00111 {return m_tupleEmc2;}
|
|
00096 {return m_tupleMdc;}
|
|
00096 {return m_tupleMdc;}
|
|
00114 {return m_tupleMuc;}
|
|
00114 {return m_tupleMuc;}
|
|
00099 {return m_tupleTof1;}
|
|
00099 {return m_tupleTof1;}
|
|
00102 {return m_tupleTof2;}
|
|
00102 {return m_tupleTof2;}
|
|
00105 {return m_tupleTof3;}
|
|
00105 {return m_tupleTof3;}
|
|
|
|
00139 { 00140 00141 MsgStream log( msgSvc(), name() ); 00142 00143 StatusCode status = Service::initialize(); 00144 log << MSG::INFO << "Service initialized" << endreq; 00145 00146 //get IRealizationSvc 00147 IRealizationSvc *tmpReal; 00148 status = service("RealizationSvc", tmpReal); 00149 if (!status.isSuccess()) 00150 { 00151 log << MSG::ERROR << " Could not initialize Realization Service" << endreq; 00152 return status; 00153 } else { 00154 log << MSG::INFO << "got the RealizationSvc" << endreq; 00155 m_RealizationSvc=dynamic_cast<RealizationSvc*>(tmpReal); 00156 } 00157 00158 m_runID = m_RealizationSvc->getRunId(); 00159 00160 runMgr(); 00161 return status; 00162 }
|
|
Retrieve interface ID.
00056 { return IID_IG4Svc; }
|
|
Retrieve interface ID.
00056 { return IID_IG4Svc; }
|
|
00135 {return m_logLevel;}
|
|
00135 {return m_logLevel;}
|
|
00117 {return m_mdcRootFlag;}
|
|
00117 {return m_mdcRootFlag;}
|
|
00133 {return m_mucNoiseMode;}
|
|
00133 {return m_mucNoiseMode;}
|
|
00120 {return m_mucRootFlag;}
|
|
00120 {return m_mucRootFlag;}
|
|
|
|
00179 { 00180 StatusCode sc = StatusCode::FAILURE; 00181 00182 if (riid == IID_IG4Svc) { 00183 *ppvInterface = dynamic_cast<IG4Svc*>(this); 00184 sc = StatusCode::SUCCESS; 00185 } else { 00186 sc = Service::queryInterface( riid, ppvInterface ); 00187 } 00188 return sc; 00189 }
|
|
|
|
00364 { 00365 bool cond = p_runMgr->ConfirmBeamOnCondition(); 00366 if(cond) 00367 { 00368 std::cout<<"########### initializing the G4Run ############"<< 00369 std::endl; 00370 p_runMgr->SetRunIDCounter( -std::abs(m_runID) ); 00371 p_runMgr->RunInitialization(); 00372 } 00373 }
|
|
Implements IG4Svc. |
|
Implements IG4Svc. 00122 { 00123 std::cout<<"G4Svc::runMgr()"<<std::endl; 00124 MsgStream log( msgSvc(), name() ); 00125 00126 if (p_runMgr == 0) { 00127 p_runMgr = new G4SvcRunManager(); 00128 p_runMgr->SetLogLevel( m_logLevel ); 00129 //p_runMgr->SetSaveHits( m_saveHits ); 00130 //p_runMgr->SetSaveTracks( m_saveTracks ); 00131 } 00132 00133 return p_runMgr; 00134 00135 }
|
|
|
|
00376 { 00377 p_runMgr->RunTermination(); 00378 }
|
|
00086 {m_beamTime = value;}
|
|
00086 {m_beamTime = value;}
|
|
00109 {m_tupleEmc1 = tuple;}
|
|
00109 {m_tupleEmc1 = tuple;}
|
|
00112 {m_tupleEmc2 = tuple;}
|
|
00112 {m_tupleEmc2 = tuple;}
|
|
00097 {m_tupleMdc = tuple;}
|
|
00097 {m_tupleMdc = tuple;}
|
|
00115 {m_tupleMuc = tuple;}
|
|
00115 {m_tupleMuc = tuple;}
|
|
00100 {m_tupleTof1 = tuple;}
|
|
00100 {m_tupleTof1 = tuple;}
|
|
00103 {m_tupleTof2 = tuple;}
|
|
00103 {m_tupleTof2 = tuple;}
|
|
00106 {m_tupleTof3 = tuple;}
|
|
00106 {m_tupleTof3 = tuple;}
|
|
Implements IG4Svc. |
|
Implements IG4Svc. |
|
Implements IG4Svc. |
|
Implements IG4Svc. |
|
Implements IG4Svc. |
|
Implements IG4Svc. |
|
Implements IG4Svc.
|
|
Implements IG4Svc.
|
|
Implements IG4Svc.
|
|
Implements IG4Svc. 00252 { 00253 if (p_runMgr != 0) { 00254 if(m_besGenAction) 00255 p_runMgr->SetUserAction( action ); 00256 } 00257 }
|
|
Implements IG4Svc.
|
|
Implements IG4Svc.
|
|
Implements IG4Svc. |
|
Implements IG4Svc. |
|
Implements IG4Svc.
|
|
Implements IG4Svc.
|
|
|
|
00381 { 00382 p_runMgr->SimulateEvent(i); 00383 }
|
|
Implements IG4Svc. |
|
Implements IG4Svc. 00282 { 00283 00284 MsgStream log( msgSvc(), name() ); 00285 log << MSG::DEBUG << "Starting G4 terminal" << endreq; 00286 00287 G4UIsession * ses = new G4UIterminal(new G4UItcsh); 00288 ses->SessionStart(); 00289 00290 delete ses; 00291 }
|
|
00118 {return m_tofRootFlag;}
|
|
00118 {return m_tofRootFlag;}
|
|
00122 {return m_tofSaturationFlag;} // Tof Q Saturation in bhabha events
|
|
00122 {return m_tofSaturationFlag;} // Tof Q Saturation in bhabha events
|
|
Implements IG4Svc. |
|
Implements IG4Svc. 00213 { 00214 if (p_uiMgr == 0) { 00215 p_uiMgr = G4UImanager::GetUIpointer(); 00216 } 00217 return ( p_uiMgr ); 00218 }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|