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
SubsystemNeutronReader::theHitReader
NeutronReader * theHitReader
Definition: SubsystemNeutronReader.h:40
SubsystemNeutronReader::generateChamberNoise
void generateChamberNoise(int chamberType, int chamberIndex, edm::PSimHitContainer &result, CLHEP::HepRandomEngine *)
Definition: SubsystemNeutronReader.cc:35
SubsystemNeutronReader::detId
virtual int detId(int chamberIndex, int localDetId)=0
PSimHitContainer.h
SubsystemNeutronReader::theEventsInWindow
float theEventsInWindow
how many collsions happened between theStartTime and theEndTime
Definition: SubsystemNeutronReader.h:50
PSimHit.h
SubsystemNeutronReader::theLuminosity
float theLuminosity
in units of 10**34, set by Muon:NeutronLuminosity
Definition: SubsystemNeutronReader.h:46
CLHEP
Definition: CocoaGlobals.h:27
edm::ParameterSet
Definition: ParameterSet.h:36
SubsystemNeutronReader::theEventOccupancy
std::vector< double > theEventOccupancy
Definition: SubsystemNeutronReader.h:52
SubsystemNeutronReader::clear
void clear()
Definition: SubsystemNeutronReader.h:32
SubsystemNeutronReader::theChambersDone
std::vector< int > theChambersDone
just makes sure chambers aren't done twice
Definition: SubsystemNeutronReader.h:43
SubsystemNeutronReader::theEndTime
float theEndTime
Definition: SubsystemNeutronReader.h:48
SubsystemNeutronReader
Definition: SubsystemNeutronReader.h:20
SubsystemNeutronReader::theStartTime
float theStartTime
Definition: SubsystemNeutronReader.h:47
mps_fire.result
result
Definition: mps_fire.py:303
edm::PSimHitContainer
std::vector< PSimHit > PSimHitContainer
Definition: PSimHitContainer.h:11
ParameterSet.h
SubsystemNeutronReader::SubsystemNeutronReader
SubsystemNeutronReader(const edm::ParameterSet &pset)
Definition: SubsystemNeutronReader.cc:13
SubsystemNeutronReader::~SubsystemNeutronReader
virtual ~SubsystemNeutronReader()
Definition: SubsystemNeutronReader.cc:33
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27
NeutronReader
Definition: NeutronReader.h:11