CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 ***
42  RPCDigiCollection & rpcDigis,
43  RPCDigiSimLinks & rpcDigiSimLink,
44  CLHEP::HepRandomEngine*);
45 
48 
49  void setRPCSimSetUp(RPCSimSetUp *simsetup){theSimSetUp = simsetup;}
50 
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
RPCDigitizer(const edm::ParameterSet &config)
Definition: RPCDigitizer.cc:12
RPCSimSetUp * theSimSetUp
Definition: RPCDigitizer.h:59
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
void doAction(MixCollection< PSimHit > &simHits, RPCDigiCollection &rpcDigis, RPCDigiSimLinks &rpcDigiSimLink, CLHEP::HepRandomEngine *)
Definition: RPCDigitizer.cc:24
const RPCGeometry * theGeometry
Definition: RPCDigitizer.h:57
edm::DetSetVector< RPCDigiSimLink > RPCDigiSimLinks
Definition: RPCDigitizer.h:36
tuple simHits
Definition: trackerHits.py:16
const RPCRoll * findDet(int detId) const
finds the rpc det unit in the geometry associated with this det ID
Definition: RPCDigitizer.cc:67
std::string theName
Definition: RPCDigitizer.h:60