CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
GEMDigitizer.h
Go to the documentation of this file.
1 #ifndef SimMuon_GEMDigitizer_h
2 #define SimMuon_GEMDigitizer_h
3 
16 #include <string>
17 #include "CLHEP/Random/RandomEngine.h"
18 
19 namespace edm{
20  class ParameterSet;
21 }
22 
23 class GEMEtaPartition;
24 class GEMSim;
25 class GEMSimSetUp;
26 class GEMGeometry;
27 
29 {
30 public:
31 
33 
34  GEMDigitizer(const edm::ParameterSet& config, CLHEP::HepRandomEngine&);
35 
36  ~GEMDigitizer();
37 
39  GEMDigiCollection & rpcDigis,
40  StripDigiSimLinks & digiSimLinks);
41 
44 
45  void setGEMSimSetUp(GEMSimSetUp *simsetup) {simSetUp_ = simsetup;}
46 
48 
50  const GEMEtaPartition * findDet(int detId) const;
51 
52 private:
53 
58 };
59 
60 #endif
GEMSimSetUp * getGEMSimSetUp()
Definition: GEMDigitizer.h:47
const GEMEtaPartition * findDet(int detId) const
finds the GEM det unit in the geometry associated with this det ID
Definition: GEMDigitizer.cc:60
Definition: GEMSim.h:26
GEMSim * gemSim_
Definition: GEMDigitizer.h:55
GEMDigitizer(const edm::ParameterSet &config, CLHEP::HepRandomEngine &)
Definition: GEMDigitizer.cc:11
std::string modelName_
Definition: GEMDigitizer.h:57
edm::DetSetVector< StripDigiSimLink > StripDigiSimLinks
Definition: GEMDigitizer.h:32
const GEMGeometry * geometry_
Definition: GEMDigitizer.h:54
void setGeometry(const GEMGeometry *geom)
sets geometry
Definition: GEMDigitizer.h:43
void digitize(MixCollection< PSimHit > &simHits, GEMDigiCollection &rpcDigis, StripDigiSimLinks &digiSimLinks)
Definition: GEMDigitizer.cc:25
void setGEMSimSetUp(GEMSimSetUp *simsetup)
Definition: GEMDigitizer.h:45
GEMSimSetUp * simSetUp_
Definition: GEMDigitizer.h:56
tuple simHits
Definition: trackerHits.py:16