27 #include "G4LogicalVolumeStore.hh" 28 #include "G4PhysicalVolumeStore.hh" 30 #include "G4TouchableHistory.hh" 38 public Observer<const BeginOfEvent *>,
60 typedef std::map<G4LogicalVolume*,std::pair<unsigned int,std::string>>::iterator
volumeIterator;
62 volumeIterator
findLV(G4LogicalVolume * plv);
63 void storeInfo(
const volumeIterator itr, G4LogicalVolume* plv,
64 unsigned int copy,
double time,
double energy);
71 std::map<G4LogicalVolume*,std::pair<unsigned int,std::string>>
mapLV_;
77 std::map<std::pair<G4LogicalVolume*,unsigned int>,std::pair<double,double>>
store_;
void update(const BeginOfRun *run)
This routine will be called when the appropriate signal arrives.
void endOfEvent(edm::PassiveHitContainer &hgcPH, unsigned int k)
volumeIterator findLV(G4LogicalVolume *plv)
std::map< std::pair< G4LogicalVolume *, unsigned int >, std::pair< double, double > > store_
G4VPhysicalVolume * topPV_
G4VPhysicalVolume * getTopPV()
HGCPassive(const edm::ParameterSet &p)
const HGCPassive & operator=(const HGCPassive &)
std::vector< std::string > LVNames_
void storeInfo(const volumeIterator itr, G4LogicalVolume *plv, unsigned int copy, double time, double energy)
std::vector< PassiveHit > PassiveHitContainer
std::map< G4LogicalVolume *, std::pair< unsigned int, std::string > > mapLV_
void produce(edm::Event &, const edm::EventSetup &)
std::map< G4LogicalVolume *, std::pair< unsigned int, std::string > >::iterator volumeIterator