CMS 3D CMS Logo

CSCDigitizer.h
Go to the documentation of this file.
1 #ifndef MU_END_DIGITIZER
2 #define MU_END_DIGITIZER
3 
4 // This is CSCDigitizer.h
5 
13 #include "CLHEP/Random/RandomEngine.h"
23 
26 
27 class CSCDriftSim;
28 class CSCWireHitSim;
29 class CSCStripHitSim;
32 class CSCLayer;
33 class CSCNeutronReader;
34 class CSCStripConditions;
35 
36 namespace CLHEP {
37  class HepRandomEngine;
38 }
39 
40 class CSCDigitizer {
41 public:
43 
44  ~CSCDigitizer();
45  CSCDigitizer(const CSCDigitizer &) = delete;
46  CSCDigitizer &operator=(const CSCDigitizer &) = delete;
47 
49  explicit CSCDigitizer(const edm::ParameterSet &p);
50 
54  CSCWireDigiCollection &wireDigis,
55  CSCStripDigiCollection &stripDigis,
56  CSCComparatorDigiCollection &comparators,
57  DigiSimLinks &wireDigiSimLinks,
58  DigiSimLinks &stripDigiSimLinks,
59  CLHEP::HepRandomEngine *);
60 
63 
65  void setMagneticField(const MagneticField *field);
66 
68 
69  void setParticleDataTable(const ParticleDataTable *pdt);
70 
71 private:
73  const CSCLayer *findLayer(int detId) const;
74 
76  std::list<int> layersMissing(const CSCStripDigiCollection &stripDigis) const;
77 
86  unsigned int theLayersNeeded;
88 };
89 
90 #endif
edm::DetSetVector
Definition: DetSetVector.h:61
CSCDigitizer::theWireHitSim
CSCWireHitSim * theWireHitSim
Definition: CSCDigitizer.h:79
CSCDigitizer::setMagneticField
void setMagneticField(const MagneticField *field)
sets the magnetic field
Definition: CSCDigitizer.cc:176
CSCStripElectronicsSim
Definition: CSCStripElectronicsSim.h:28
CSCDigitizer::theConditions
CSCStripConditions * theConditions
Definition: CSCDigitizer.h:85
CSCStripDigiCollection
CSCDigitizer::digitizeBadChambers_
bool digitizeBadChambers_
Definition: CSCDigitizer.h:87
PSimHitContainer.h
FastTrackerRecHitCombiner_cfi.simHits
simHits
Definition: FastTrackerRecHitCombiner_cfi.py:5
CSCDigitizer::theLayersNeeded
unsigned int theLayersNeeded
Definition: CSCDigitizer.h:86
CSCLayer
Definition: CSCLayer.h:24
CSCDigitizer::doAction
void doAction(MixCollection< PSimHit > &simHits, CSCWireDigiCollection &wireDigis, CSCStripDigiCollection &stripDigis, CSCComparatorDigiCollection &comparators, DigiSimLinks &wireDigiSimLinks, DigiSimLinks &stripDigiSimLinks, CLHEP::HepRandomEngine *)
Definition: CSCDigitizer.cc:39
CSCDigitizer::layersMissing
std::list< int > layersMissing(const CSCStripDigiCollection &stripDigis) const
finds which layers, 1-6, aren't in the current list
Definition: CSCDigitizer.cc:139
CSCDigitizer
Definition: CSCDigitizer.h:40
CSCDigitizer::setGeometry
void setGeometry(const CSCGeometry *geom)
sets geometry
Definition: CSCDigitizer.h:62
CSCDigitizer::~CSCDigitizer
~CSCDigitizer()
Definition: CSCDigitizer.cc:30
CSCGeometry
Definition: CSCGeometry.h:24
CSCDigitizer::setStripConditions
void setStripConditions(CSCStripConditions *cond)
Definition: CSCDigitizer.cc:178
CSCStripHitSim
Definition: CSCStripHitSim.h:21
MixCollection.h
MixCollection
Definition: MixCollection.h:10
relativeConstraints.geom
geom
Definition: relativeConstraints.py:72
CSCStripConditions
Definition: CSCStripConditions.h:13
CSCNeutronReader
Definition: CSCNeutronReader.h:10
CSCDigitizer::CSCDigitizer
CSCDigitizer(const CSCDigitizer &)=delete
CSCDigitizer::DigiSimLinks
edm::DetSetVector< StripDigiSimLink > DigiSimLinks
Definition: CSCDigitizer.h:42
CLHEP
Definition: CocoaGlobals.h:27
CSCWireHitSim
Definition: CSCWireHitSim.h:27
cond
Definition: plugin.cc:23
edm::ParameterSet
Definition: ParameterSet.h:47
AlCaHLTBitMon_ParallelJobs.p
def p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
ParticleDataTable.h
CSCDigitizer::findLayer
const CSCLayer * findLayer(int detId) const
finds the layer in the geometry associated with this det ID
Definition: CSCDigitizer.cc:185
CSCDigitizer::theCSCGeometry
const CSCGeometry * theCSCGeometry
Definition: CSCDigitizer.h:84
CSCStripDigiCollection.h
CSCComparatorDigiCollection
MagneticField.h
DetSetVector.h
CSCDriftSim
Definition: CSCDriftSim.h:32
CSCDigitizer::theStripHitSim
CSCStripHitSim * theStripHitSim
Definition: CSCDigitizer.h:80
CSCWireDigiCollection
CSCWireElectronicsSim
Definition: CSCWireElectronicsSim.h:20
CSCComparatorDigiCollection.h
CSCDigitizer::theDriftSim
CSCDriftSim * theDriftSim
Definition: CSCDigitizer.h:78
CSCWireDigiCollection.h
ParameterSet.h
MagneticField
Definition: MagneticField.h:19
CSCDigitizer::setParticleDataTable
void setParticleDataTable(const ParticleDataTable *pdt)
Definition: CSCDigitizer.cc:183
CSCDigitizer::theNeutronReader
CSCNeutronReader * theNeutronReader
Definition: CSCDigitizer.h:83
ParticleDataTable
HepPDT::ParticleDataTable ParticleDataTable
Definition: ParticleDataTable.h:8
CSCDigitizer::theStripElectronicsSim
CSCStripElectronicsSim * theStripElectronicsSim
Definition: CSCDigitizer.h:82
CSCDigitizer::operator=
CSCDigitizer & operator=(const CSCDigitizer &)=delete
CSCGeometry.h
CSCDigitizer::theWireElectronicsSim
CSCWireElectronicsSim * theWireElectronicsSim
Definition: CSCDigitizer.h:81