CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
22 #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 {
43 public:
45 
47  explicit CSCDigitizer(const edm::ParameterSet & p);
48 
49  ~CSCDigitizer();
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
91 
CSCDriftSim * theDriftSim
Definition: CSCDigitizer.h:78
unsigned int theLayersNeeded
Definition: CSCDigitizer.h:86
edm::DetSetVector< StripDigiSimLink > DigiSimLinks
Definition: CSCDigitizer.h:44
HepPDT::ParticleDataTable ParticleDataTable
const CSCLayer * findLayer(int detId) const
finds the layer in the geometry associated with this det ID
std::list< int > layersMissing(const CSCStripDigiCollection &stripDigis) const
finds which layers, 1-6, aren&#39;t in the current list
bool digitizeBadChambers_
Definition: CSCDigitizer.h:87
CSCStripElectronicsSim * theStripElectronicsSim
Definition: CSCDigitizer.h:82
CSCDigitizer(const edm::ParameterSet &p)
configurable parameters
Definition: CSCDigitizer.cc:16
CSCNeutronReader * theNeutronReader
Definition: CSCDigitizer.h:83
const CSCGeometry * theCSCGeometry
Definition: CSCDigitizer.h:84
void setStripConditions(CSCStripConditions *cond)
CSCWireHitSim * theWireHitSim
Definition: CSCDigitizer.h:79
tuple simHits
Definition: trackerHits.py:16
void setParticleDataTable(const ParticleDataTable *pdt)
void doAction(MixCollection< PSimHit > &simHits, CSCWireDigiCollection &wireDigis, CSCStripDigiCollection &stripDigis, CSCComparatorDigiCollection &comparators, DigiSimLinks &wireDigiSimLinks, DigiSimLinks &stripDigiSimLinks, CLHEP::HepRandomEngine *)
Definition: CSCDigitizer.cc:45
CSCWireElectronicsSim * theWireElectronicsSim
Definition: CSCDigitizer.h:81
void setGeometry(const CSCGeometry *geom)
sets geometry
Definition: CSCDigitizer.h:62
void setMagneticField(const MagneticField *field)
sets the magnetic field
CSCStripHitSim * theStripHitSim
Definition: CSCDigitizer.h:80
CSCStripConditions * theConditions
Definition: CSCDigitizer.h:85