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