26 #include "G4LogicalVolumeStore.hh" 27 #include "G4PhysicalVolumeStore.hh" 29 #include "G4TouchableHistory.hh" 39 public Observer<const BeginOfEvent *>,
59 typedef std::map<G4LogicalVolume *, std::pair<unsigned int, std::string>>::iterator
volumeIterator;
61 volumeIterator
findLV(G4LogicalVolume *plv);
63 const volumeIterator itr, G4LogicalVolume *plv,
unsigned int copy,
double time,
double energy,
bool flag);
69 std::map<G4LogicalVolume *, std::pair<unsigned int, std::string>>
mapLV_;
75 std::map<std::pair<G4LogicalVolume *, unsigned int>, std::array<double, 3>>
store_;
void storeInfo(const volumeIterator itr, G4LogicalVolume *plv, unsigned int copy, double time, double energy, bool flag)
std::map< G4LogicalVolume *, std::pair< unsigned int, std::string > >::iterator volumeIterator
void endOfEvent(edm::PassiveHitContainer &hgcPH, unsigned int k)
volumeIterator findLV(G4LogicalVolume *plv)
G4VPhysicalVolume * topPV_
G4VPhysicalVolume * getTopPV()
HGCPassive(const edm::ParameterSet &p)
std::vector< std::string > LVNames_
void produce(edm::Event &, const edm::EventSetup &) override
std::vector< PassiveHit > PassiveHitContainer
std::map< std::pair< G4LogicalVolume *, unsigned int >, std::array< double, 3 > > store_
void update(const BeginOfRun *run) override
This routine will be called when the appropriate signal arrives.
const HGCPassive & operator=(const HGCPassive &)=delete
std::map< G4LogicalVolume *, std::pair< unsigned int, std::string > > mapLV_