12#include "GaudiKernel/ISvcLocator.h"
13#include "GaudiKernel/Bootstrap.h"
14#include "GaudiKernel/MsgStream.h"
16#include "BesTofDigitizerV.hh"
17#include "BesTofDigi.hh"
18#include "BesTofHit.hh"
19#include "G4DigiManager.hh"
20#include "BesTofGeoParameter.hh"
21#include "Randomize.hh"
86 Gaudi::svcLocator()->service(
"MessageSvc",
msgSvc);
87 MsgStream log(
msgSvc,
"BesTofDigitizerBrV1");
89 ISvcLocator* svcLocator = Gaudi::svcLocator();
98 StatusCode sim_scc = svcLocator->service(
"TofSimSvc",
m_tofSimSvc);
99 if (sim_scc == StatusCode::SUCCESS) {
100 log << MSG::INFO <<
"TofSim Gets TofSimSvc Service Sucessfully!! " << endreq;
103 log << MSG::ERROR <<
"TofSim Gets TofSimSvc Service Failed !! " << endreq;
105 StatusCode qelec_scc = svcLocator->service(
"TofQElecSvc",
m_tofQElecSvc);
106 if (qelec_scc == StatusCode::SUCCESS) {
107 log << MSG::INFO <<
"TofRec Gets tofQElecSvc Sucessfully!! " << endreq;
110 log << MSG::ERROR <<
"TofRec Gets tofQElecSvc Failed !! " << endreq;
117 StatusCode sc = svcLocator->service(
"G4Svc", tmpSvc);
118 m_G4Svc =
dynamic_cast<G4Svc *
>(tmpSvc);
191 for (G4int i=0;i<2;i++)
static NTuple::Item< double > m_transitTime
static NTuple::Item< double > m_tdc0
static NTuple::Item< double > m_edepHit
static NTuple::Item< double > m_timelast1
static NTuple::Item< double > m_max0
static NTuple::Item< double > m_ddT
static NTuple::Item< double > m_adc1
static NTuple::Item< double > m_totalPhot0
static NTuple::Item< double > m_nDigi
static NTuple::Item< double > m_scinNbMPV
static NTuple::Item< double > m_partId
static NTuple::Item< double > m_forb
static NTuple::Item< double > m_endTime
static NTuple::Item< double > m_time1st0
static NTuple::Item< double > m_nHits
static NTuple::Tuple * m_tupleTof1
static NTuple::Item< double > m_nDigiOut
static NTuple::Item< double > m_tdc1
static NTuple::Item< double > m_eTotal
static NTuple::Item< double > m_scinTime
static NTuple::Item< double > m_timeFlight
static NTuple::Tuple * m_tupleTof2
static NTuple::Item< double > m_time1st1
static NTuple::Item< double > m_NphAllSteps
static NTuple::Tuple * m_tupleTof3
static NTuple::Item< double > m_max1
ITofQElecSvc * m_tofQElecSvc
static NTuple::Item< double > m_totalPhot1
static NTuple::Item< double > m_edep
static NTuple::Item< double > m_adc0
static NTuple::Item< double > m_scinNb
static NTuple::Item< double > m_scinSwim
static NTuple::Item< double > m_partIdMPV
static NTuple::Item< double > m_timelast0
static NTuple::Item< double > m_edepMPV
NTuple::Tuple * GetTupleTof3()
NTuple::Tuple * GetTupleTof2()
NTuple::Tuple * GetTupleTof1()