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_;
SimG4FluxProducer(const edm::ParameterSet &p)
std::map< std::pair< G4LogicalVolume *, unsigned int >, ParticleFlux > store_
std::map< G4LogicalVolume *, std::pair< unsigned int, std::string > > mapLV_
G4VPhysicalVolume * topPV_
std::vector< int > LVTypes_
std::map< G4LogicalVolume *, std::pair< unsigned int, std::string > >::iterator findLV(G4LogicalVolume *plv)
const SimG4FluxProducer & operator=(const SimG4FluxProducer &)
G4VPhysicalVolume * getTopPV()
std::vector< std::string > LVNames_
void endOfEvent(ParticleFlux &pflx, unsigned int k)
virtual ~SimG4FluxProducer()
void produce(edm::Event &, const edm::EventSetup &)
void update(const BeginOfRun *run)
This routine will be called when the appropriate signal arrives.