Go to the documentation of this file.
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;
69 std::map<G4LogicalVolume *, std::pair<unsigned int, std::string>>
mapLV_;
75 std::map<std::pair<G4LogicalVolume *, unsigned int>, std::array<double, 3>>
store_;
G4VPhysicalVolume * topPV_
const HGCPassive & operator=(const HGCPassive &)=delete
void produce(edm::Event &, const edm::EventSetup &) override
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.
std::vector< PassiveHit > PassiveHitContainer
HGCPassive(const edm::ParameterSet &p)
void endOfEvent(edm::PassiveHitContainer &hgcPH, unsigned int k)
std::vector< std::pair< float, float > >::iterator itr
std::vector< std::string > LVNames_
G4VPhysicalVolume * getTopPV()
std::map< G4LogicalVolume *, std::pair< unsigned int, std::string > >::iterator volumeIterator
void storeInfo(const volumeIterator itr, G4LogicalVolume *plv, unsigned int copy, double time, double energy, bool flag)
std::map< std::pair< G4LogicalVolume *, unsigned int >, std::array< double, 3 > > store_
volumeIterator findLV(G4LogicalVolume *plv)