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 
33 class RPCDigitizer {
34 public:
37  ~RPCDigitizer();
38 
39  // *** digitize ***
41  RPCDigiCollection& rpcDigis,
42  RPCDigiSimLinks& rpcDigiSimLink,
43  CLHEP::HepRandomEngine*);
44 
47 
48  void setRPCSimSetUp(RPCSimSetUp* simsetup) { theSimSetUp = simsetup; }
49 
51 
53  const RPCRoll* findDet(int detId) const;
54 
55 private:
57  std::unique_ptr<RPCSim> theRPCSim;
59  bool theNoise;
60 };
61 
62 #endif
RPCDigitizer::doAction
void doAction(MixCollection< PSimHit > &simHits, RPCDigiCollection &rpcDigis, RPCDigiSimLinks &rpcDigiSimLink, CLHEP::HepRandomEngine *)
Definition: RPCDigitizer.cc:19
edm::DetSetVector< RPCDigiSimLink >
RPCRoll
Definition: RPCRoll.h:12
RPCDigitizer::theNoise
bool theNoise
Definition: RPCDigitizer.h:59
RPCDigitizer::theSimSetUp
RPCSimSetUp * theSimSetUp
Definition: RPCDigitizer.h:58
edm
HLT enums.
Definition: AlignableModifier.h:19
PSimHitContainer.h
RPCDigitizer::setRPCSimSetUp
void setRPCSimSetUp(RPCSimSetUp *simsetup)
Definition: RPCDigitizer.h:48
FastTrackerRecHitCombiner_cfi.simHits
simHits
Definition: FastTrackerRecHitCombiner_cfi.py:5
RPCDigitizer::getRPCSimSetUp
RPCSimSetUp * getRPCSimSetUp()
Definition: RPCDigitizer.h:50
RPCDigitizer
Definition: RPCDigitizer.h:33
RPCDigitizer::RPCDigiSimLinks
edm::DetSetVector< RPCDigiSimLink > RPCDigiSimLinks
Definition: RPCDigitizer.h:35
RPCDigitizer::findDet
const RPCRoll * findDet(int detId) const
finds the rpc det unit in the geometry associated with this det ID
Definition: RPCDigitizer.cc:55
RPCDigiCollection
config
Definition: config.py:1
MixCollection.h
RPCDigitizer::theRPCSim
std::unique_ptr< RPCSim > theRPCSim
Definition: RPCDigitizer.h:57
MixCollection
Definition: MixCollection.h:10
relativeConstraints.geom
geom
Definition: relativeConstraints.py:72
CLHEP
Definition: CocoaGlobals.h:27
RPCDigitizer::theGeometry
const RPCGeometry * theGeometry
Definition: RPCDigitizer.h:56
edm::ParameterSet
Definition: ParameterSet.h:47
ParameterSet
Definition: Functions.h:16
RPCDigitizer::~RPCDigitizer
~RPCDigitizer()
DetSetVector.h
RPCSim
Definition: RPCSim.h:30
RPCDigitizer::setGeometry
void setGeometry(const RPCGeometry *geom)
sets geometry
Definition: RPCDigitizer.h:46
RPCDigiCollection.h
RPCGeometry
Definition: RPCGeometry.h:20
RPCSimSetUp
Definition: RPCSimSetUp.h:28
RPCGeometry.h
RPCDigitizer::RPCDigitizer
RPCDigitizer(const edm::ParameterSet &config)
Definition: RPCDigitizer.cc:12