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:
58  std::unique_ptr<RPCSim> theRPCSim;
60  bool theNoise;
61 };
62 
63 #endif
64 
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
std::unique_ptr< RPCSim > theRPCSim
Definition: RPCDigitizer.h:58
Definition: RPCSim.h:30
const RPCGeometry * theGeometry
Definition: RPCDigitizer.h:57
edm::DetSetVector< RPCDigiSimLink > RPCDigiSimLinks
Definition: RPCDigitizer.h:36
HLT enums.