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;
29 {
30 public:
32  RPCDigitizer(const edm::ParameterSet& config, CLHEP::HepRandomEngine&);
33 
34  ~RPCDigitizer();
35 
39  RPCDigiCollection & rpcDigis,
40  RPCDigiSimLinks & rpcDigiSimLink);
41 
42 
45 
46  void setRPCSimSetUp(RPCSimSetUp *simsetup){theSimSetUp = simsetup;}
47 
49 
51  const RPCRoll * findDet(int detId) const;
52 
53 private:
57  std::string theName;
58 
59 };
60 
61 #endif
62 
RPCSim * theRPCSim
Definition: RPCDigitizer.h:55
RPCSimSetUp * theSimSetUp
Definition: RPCDigitizer.h:56
void setGeometry(const RPCGeometry *geom)
sets geometry
Definition: RPCDigitizer.h:44
RPCSimSetUp * getRPCSimSetUp()
Definition: RPCDigitizer.h:48
void setRPCSimSetUp(RPCSimSetUp *simsetup)
Definition: RPCDigitizer.h:46
RPCDigitizer(const edm::ParameterSet &config, CLHEP::HepRandomEngine &)
Definition: RPCDigitizer.cc:12
Definition: RPCSim.h:27
const RPCGeometry * theGeometry
Definition: RPCDigitizer.h:54
edm::DetSetVector< RPCDigiSimLink > RPCDigiSimLinks
Definition: RPCDigitizer.h:31
void doAction(MixCollection< PSimHit > &simHits, RPCDigiCollection &rpcDigis, RPCDigiSimLinks &rpcDigiSimLink)
Definition: RPCDigitizer.cc:24
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:61
std::string theName
Definition: RPCDigitizer.h:57