1 #ifndef SimG4CMSForwardSimG4FluxProducer_h 2 #define SimG4CMSForwardSimG4FluxProducer_h 18 #include "G4LogicalVolumeStore.hh" 19 #include "G4PhysicalVolumeStore.hh" 27 public Observer<const BeginOfEvent *>,
48 std::map<G4LogicalVolume*,std::pair<unsigned int,std::string>>::iterator
findLV(G4LogicalVolume * plv);
55 std::map<G4LogicalVolume*,std::pair<unsigned int,std::string>>
mapLV_;
const SimG4FluxProducer & operator=(const SimG4FluxProducer &)=delete
SimG4FluxProducer(const edm::ParameterSet &p)
std::map< std::pair< G4LogicalVolume *, unsigned int >, ParticleFlux > store_
~SimG4FluxProducer() override
void produce(edm::Event &, const edm::EventSetup &) override
std::map< G4LogicalVolume *, std::pair< unsigned int, std::string > > mapLV_
G4VPhysicalVolume * topPV_
std::vector< int > LVTypes_
void update(const BeginOfRun *run) override
This routine will be called when the appropriate signal arrives.
std::map< G4LogicalVolume *, std::pair< unsigned int, std::string > >::iterator findLV(G4LogicalVolume *plv)
G4VPhysicalVolume * getTopPV()
std::vector< std::string > LVNames_
void endOfEvent(ParticleFlux &pflx, unsigned int k)