CMS 3D CMS Logo

RPCDigitizer.h
Go to the documentation of this file.
1 #ifndef SimMuon_RPCDigitizer_h
2 #define SimMuon_RPCDigitizer_h
3 //
4 
18 #include <string>
19 #include "CLHEP/Random/RandomEngine.h"
20 
21 namespace edm{
22  class ParameterSet;
23 }
24 
25 class RPCRoll;
26 class RPCSim;
27 class RPCSimSetUp;
28 
29 namespace CLHEP {
30  class HepRandomEngine;
31 }
32 
34 {
35 public:
38  ~RPCDigitizer();
39 
40  // *** digitize ***
41  void doAction(MixCollection<PSimHit> & simHits,
42  RPCDigiCollection & rpcDigis,
43  RPCDigiSimLinks & rpcDigiSimLink,
44  CLHEP::HepRandomEngine*);
45 
47  void setGeometry(const RPCGeometry * geom) {theGeometry = geom;}
48 
49  void setRPCSimSetUp(RPCSimSetUp *simsetup){theSimSetUp = simsetup;}
50 
51  RPCSimSetUp* getRPCSimSetUp(){ return theSimSetUp; }
52 
54  const RPCRoll * findDet(int detId) const;
55 
56 private:
61  bool theNoise;
62 };
63 
64 #endif
65 
RPCSim * theRPCSim
Definition: RPCDigitizer.h:58
RPCSimSetUp * theSimSetUp
Definition: RPCDigitizer.h:59
Definition: config.py:1
void setGeometry(const RPCGeometry *geom)
sets geometry
Definition: RPCDigitizer.h:47
RPCSimSetUp * getRPCSimSetUp()
Definition: RPCDigitizer.h:51
void setRPCSimSetUp(RPCSimSetUp *simsetup)
Definition: RPCDigitizer.h:49
Definition: RPCSim.h:30
const RPCGeometry * theGeometry
Definition: RPCDigitizer.h:57
edm::DetSetVector< RPCDigiSimLink > RPCDigiSimLinks
Definition: RPCDigitizer.h:36
HLT enums.
std::string theName
Definition: RPCDigitizer.h:60