test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 {
22 public:
27  virtual ~SubsystemNeutronReader();
28 
31  void generateChamberNoise(int chamberType, int chamberIndex, edm::PSimHitContainer & result,
32  CLHEP::HepRandomEngine*);
33 
34  void clear() {theChambersDone.clear();}
35 
36 protected:
39  virtual int detId(int chamberIndex, int localDetId ) = 0;
40 
41 
42 private:
43 
45 
47  std::vector<int> theChambersDone;
48 
49 
52  float theStartTime;
53  float theEndTime;
56 
57  std::vector<double> theEventOccupancy; // Placed here so ctor init list order OK
58 
59 };
60 
61 #endif
62 
std::vector< double > theEventOccupancy
tuple result
Definition: mps_fire.py:84
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