27 #include "G4LogicalVolumeStore.hh" 28 #include "G4PhysicalVolumeStore.hh" 30 #include "G4TouchableHistory.hh" 39 public Observer<const BeginOfEvent *>,
61 typedef std::map<G4LogicalVolume*,std::pair<unsigned int,std::string>>::iterator
volumeIterator;
63 volumeIterator
findLV(G4LogicalVolume * plv);
64 void storeInfo(
const volumeIterator itr, G4LogicalVolume* plv,
65 unsigned int copy,
double time,
double energy,
bool flag);
72 std::map<G4LogicalVolume*,std::pair<unsigned int,std::string>>
mapLV_;
78 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)
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< G4LogicalVolume *, std::pair< unsigned int, std::string > > mapLV_
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 > >::iterator volumeIterator
std::map< std::pair< G4LogicalVolume *, unsigned int >, std::array< double, 3 > > store_