CMS 3D CMS Logo

SubsystemNeutronReader.h
Go to the documentation of this file.
1 #ifndef SimMuon_Neutron_SubsystemNeutronReader_h
2 #define SimMuon_Neutron_SubsystemNeutronReader_h
3 
11 
12 #include <vector>
13 
14 class NeutronReader;
15 
16 namespace CLHEP {
17  class HepRandomEngine;
18 }
19 
21 public:
26  virtual ~SubsystemNeutronReader();
27 
30  void generateChamberNoise(int chamberType, int chamberIndex, edm::PSimHitContainer& result, CLHEP::HepRandomEngine*);
31 
32  void clear() { theChambersDone.clear(); }
33 
34 protected:
37  virtual int detId(int chamberIndex, int localDetId) = 0;
38 
39 private:
41 
43  std::vector<int> theChambersDone;
44 
47  float theStartTime;
48  float theEndTime;
51 
52  std::vector<double> theEventOccupancy; // Placed here so ctor init list order OK
53 };
54 
55 #endif
std::vector< double > theEventOccupancy
SubsystemNeutronReader(const edm::ParameterSet &pset)
std::vector< int > theChambersDone
just makes sure chambers aren&#39;t done twice
void generateChamberNoise(int chamberType, int chamberIndex, edm::PSimHitContainer &result, CLHEP::HepRandomEngine *)
virtual int detId(int chamberIndex, int localDetId)=0
float theEventsInWindow
how many collsions happened between theStartTime and theEndTime
std::vector< PSimHit > PSimHitContainer
float theLuminosity
in units of 10**34, set by Muon:NeutronLuminosity