4#include "GaudiKernel/Service.h"
6#include "GaudiKernel/NTuple.h"
9#include "G4UImanager.hh"
12 #include "G4VisManager.hh"
23class G4VUserPhysicsList;
26class G4VUserActionInitialization;
32class G4Svc:
public extends<Service, IG4Svc>
36 G4Svc(
const std::string& name, ISvcLocator* svc );
70 G4VisManager * visMgr() {
return p_visMgr; }
72 G4UImanager *
uiMgr();
163 G4UImanager *p_uiMgr;
174 std::string m_macroName;
175 std::string m_mdcNoiseFile;
178 G4VisManager *p_visMgr;
193 bool m_interactiveG4;
211 double m_beamStartTime;
212 double m_beamDeltaTime;
215 double m_bunchTimeSigma;
218 double m_beamShiftPx;
219 double m_beamShiftPy;
220 double m_beamShiftPz;
227 NTuple::Tuple* m_tupleMdc;
230 NTuple::Tuple* m_tupleTof1;
231 NTuple::Tuple* m_tupleTof2;
232 NTuple::Tuple* m_tupleTof3;
234 bool m_tofSaturationFlag;
236 NTuple::Tuple* m_tupleEmc1;
237 NTuple::Tuple* m_tupleEmc2;
241 bool m_emcLightOutput;
243 double m_emcIncoherentNoise;
245 double m_emcCoherentNoise;
247 double m_emcNoiseMean;
248 double m_emcNoiseSigma;
250 double m_emcNoiseThreshold;
260 int m_emcELecSaturation;
265 int m_emcELecSatuDead;
270 NTuple::Tuple* m_tupleMuc;
virtual StatusCode initialize()
std::string GetMdcNoiseFile()
const G4Event * GetCurrentEvent() const
NTuple::Tuple * GetTupleMdc()
void SetTupleTof3(NTuple::Tuple *tuple)
void SetTupleMdc(NTuple::Tuple *tuple)
double EmcNoiseThreshold()
G4Svc(const std::string &name, ISvcLocator *svc)
NTuple::Tuple * GetTupleTof3()
double EmcIncoherentNoise()
void SetTupleMuc(NTuple::Tuple *tuple)
double GetBeamDeltaTime()
void SetTupleEmc1(NTuple::Tuple *tuple)
double GetBunchTimeSigma()
void SetTupleEmc2(NTuple::Tuple *tuple)
double GetBeamStartTime()
double EmcCoherentNoise()
NTuple::Tuple * GetTupleEmc2()
void SetTupleTof2(NTuple::Tuple *tuple)
void SetBeamTime(double value)
void SetUserInitialization(G4VUserDetectorConstruction *userInit)
NTuple::Tuple * GetTupleTof2()
void SetTupleTof1(NTuple::Tuple *tuple)
virtual StatusCode finalize()
const G4Run * GetCurrentRun() const
NTuple::Tuple * GetTupleMuc()
NTuple::Tuple * GetTupleEmc1()
NTuple::Tuple * GetTupleTof1()
Forward and external declarations.