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 #include <boost/utility.hpp>
24 
27 
28 class CSCDriftSim;
29 class CSCWireHitSim;
30 class CSCStripHitSim;
33 class CSCLayer;
34 class CSCNeutronReader;
35 class CSCStripConditions;
36 
37 namespace CLHEP {
38  class HepRandomEngine;
39 }
40 
41 class CSCDigitizer : public boost::noncopyable {
42 public:
44 
46  explicit CSCDigitizer(const edm::ParameterSet &p);
47 
48  ~CSCDigitizer();
49 
53  CSCWireDigiCollection &wireDigis,
54  CSCStripDigiCollection &stripDigis,
55  CSCComparatorDigiCollection &comparators,
56  DigiSimLinks &wireDigiSimLinks,
57  DigiSimLinks &stripDigiSimLinks,
58  CLHEP::HepRandomEngine *);
59 
62 
64  void setMagneticField(const MagneticField *field);
65 
67 
68  void setParticleDataTable(const ParticleDataTable *pdt);
69 
70 private:
72  const CSCLayer *findLayer(int detId) const;
73 
75  std::list<int> layersMissing(const CSCStripDigiCollection &stripDigis) const;
76 
85  unsigned int theLayersNeeded;
87 };
88 
89 #endif
edm::DetSetVector
Definition: DetSetVector.h:61
CSCDigitizer::theWireHitSim
CSCWireHitSim * theWireHitSim
Definition: CSCDigitizer.h:78
CSCDigitizer::setMagneticField
void setMagneticField(const MagneticField *field)
sets the magnetic field
Definition: CSCDigitizer.cc:176
CSCStripElectronicsSim
Definition: CSCStripElectronicsSim.h:28
AlCaHLTBitMon_ParallelJobs.p
p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
CSCDigitizer::theConditions
CSCStripConditions * theConditions
Definition: CSCDigitizer.h:84
CSCStripDigiCollection
CSCDigitizer::digitizeBadChambers_
bool digitizeBadChambers_
Definition: CSCDigitizer.h:86
PSimHitContainer.h
FastTrackerRecHitCombiner_cfi.simHits
simHits
Definition: FastTrackerRecHitCombiner_cfi.py:5
CSCDigitizer::theLayersNeeded
unsigned int theLayersNeeded
Definition: CSCDigitizer.h:85
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:41
CSCDigitizer::setGeometry
void setGeometry(const CSCGeometry *geom)
sets geometry
Definition: CSCDigitizer.h:61
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:11
relativeConstraints.geom
geom
Definition: relativeConstraints.py:72
CSCStripConditions
Definition: CSCStripConditions.h:13
CSCNeutronReader
Definition: CSCNeutronReader.h:10
CSCDigitizer::DigiSimLinks
edm::DetSetVector< StripDigiSimLink > DigiSimLinks
Definition: CSCDigitizer.h:43
CLHEP
Definition: CocoaGlobals.h:27
CSCWireHitSim
Definition: CSCWireHitSim.h:27
cond
Definition: plugin.cc:23
edm::ParameterSet
Definition: ParameterSet.h:36
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:83
CSCDigitizer::CSCDigitizer
CSCDigitizer(const edm::ParameterSet &p)
configurable parameters
Definition: CSCDigitizer.cc:15
CSCStripDigiCollection.h
CSCComparatorDigiCollection
MagneticField.h
DetSetVector.h
CSCDriftSim
Definition: CSCDriftSim.h:32
CSCDigitizer::theStripHitSim
CSCStripHitSim * theStripHitSim
Definition: CSCDigitizer.h:79
CSCWireDigiCollection
CSCWireElectronicsSim
Definition: CSCWireElectronicsSim.h:20
CSCComparatorDigiCollection.h
CSCDigitizer::theDriftSim
CSCDriftSim * theDriftSim
Definition: CSCDigitizer.h:77
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:82
ParticleDataTable
HepPDT::ParticleDataTable ParticleDataTable
Definition: ParticleDataTable.h:8
CSCDigitizer::theStripElectronicsSim
CSCStripElectronicsSim * theStripElectronicsSim
Definition: CSCDigitizer.h:81
CSCGeometry.h
CSCDigitizer::theWireElectronicsSim
CSCWireElectronicsSim * theWireElectronicsSim
Definition: CSCDigitizer.h:80