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 public:
37  ~IRPCDigitizer();
38 
39  // *** digitize ***
40  void doAction(MixCollection<PSimHit>& simHits,
41  RPCDigiCollection& rpcDigis,
42  RPCDigiSimLinks& rpcDigiSimLink,
43  CLHEP::HepRandomEngine*);
44 
46  void setGeometry(const RPCGeometry* geom) { theGeometry = geom; }
47 
48  void setRPCSimSetUp(RPCSimSetUp* simsetup) { theSimSetUp = simsetup; }
49 
50  RPCSimSetUp* getRPCSimSetUp() { return theSimSetUp; }
51 
53  const RPCRoll* findDet(int detId) const;
54 
55 private:
57  std::unique_ptr<RPCSim> theRPCSim;
60  bool theNoise;
61 };
62 
63 #endif
RPCSimSetUp * getRPCSimSetUp()
Definition: IRPCDigitizer.h:50
edm::DetSetVector< RPCDigiSimLink > RPCDigiSimLinks
Definition: IRPCDigitizer.h:35
Definition: config.py:1
std::string theName
Definition: IRPCDigitizer.h:59
const RPCGeometry * theGeometry
Definition: IRPCDigitizer.h:56
Definition: RPCSim.h:30
void setRPCSimSetUp(RPCSimSetUp *simsetup)
Definition: IRPCDigitizer.h:48
RPCSimSetUp * theSimSetUp
Definition: IRPCDigitizer.h:58
HLT enums.
void setGeometry(const RPCGeometry *geom)
sets geometry
Definition: IRPCDigitizer.h:46
std::unique_ptr< RPCSim > theRPCSim
Definition: IRPCDigitizer.h:57