CMS 3D CMS Logo

IRPCDigitizer.h
Go to the documentation of this file.
1 #ifndef SimMuon_IRPCDigitizer_h
2 #define SimMuon_IRPCDigitizer_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  ~IRPCDigitizer();
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 
RPCSimSetUp * getRPCSimSetUp()
Definition: IRPCDigitizer.h:51
RPCSim * theRPCSim
Definition: IRPCDigitizer.h:58
edm::DetSetVector< RPCDigiSimLink > RPCDigiSimLinks
Definition: IRPCDigitizer.h:36
Definition: config.py:1
std::string theName
Definition: IRPCDigitizer.h:60
const RPCGeometry * theGeometry
Definition: IRPCDigitizer.h:57
Definition: RPCSim.h:30
void setRPCSimSetUp(RPCSimSetUp *simsetup)
Definition: IRPCDigitizer.h:49
RPCSimSetUp * theSimSetUp
Definition: IRPCDigitizer.h:59
HLT enums.
void setGeometry(const RPCGeometry *geom)
sets geometry
Definition: IRPCDigitizer.h:47