7 #include "GaudiKernel/IIncidentSvc.h"
14 #include "CLHEP/Vector/ThreeVector.h"
17 const std::string&
name,
18 const IInterface*
parent) :
20 m_comTime(0) , m_useLArTime(false)
32 CHECK( incsvc.retrieve() );
35 incsvc->addListener(
this,
"BeginEvent",pri);
39 return StatusCode::SUCCESS;
60 StatusCode sc = evtStore()->retrieve(coll,
"CaloMuonRecorder");
61 if (
sc!=StatusCode::SUCCESS) {
66 int n = coll->
size() ;
75 CLHEP::Hep3Vector
pos =
r.GetPosition();
76 CLHEP::Hep3Vector
p =
r.GetMomentum();
78 <<
pos.y() <<
" " <<
pos.z() );
80 <<
p.y() <<
" " <<
p.z() );
125 std::vector<std::string>
keys ;
126 keys.push_back(
"LArHitEMB") ;
127 keys.push_back(
"LArHitEMEC") ;
128 keys.push_back(
"LArHitHEC") ;
129 keys.push_back(
"LArHitFCAL") ;
131 std::vector<std::string>::const_iterator
it =
keys.begin() ;
132 std::vector<std::string>::const_iterator it_e =
keys.end() ;
137 for (;
it!=it_e;++
it) {
144 for (;hit_it!=hit_it_e;++hit_it) {
145 const LArHit * hit = (*hit_it);