CMS 3D CMS Logo

RPCSimTriv.h

Go to the documentation of this file.
00001 #ifndef RPCDigitizer_RPCSimTriv_h
00002 #define RPCDigitizer_RPCSimTriv_h
00003 
00010 #include "SimMuon/RPCDigitizer/src/RPCSim.h"
00011 #include "SimMuon/RPCDigitizer/src/RPCSynchronizer.h"
00012 
00013 class RPCGeometry;
00014 
00015 namespace CLHEP {
00016   class HepRandomEngine;
00017   class RandFlat;
00018   class RandPoissonQ;
00019 }
00020 
00021 class RPCSimTriv : public RPCSim
00022 {
00023  public:
00024   RPCSimTriv(const edm::ParameterSet& config);
00025   ~RPCSimTriv();
00026 
00027   void simulate(const RPCRoll* roll,
00028                 const edm::PSimHitContainer& rpcHits);
00029 
00030   void simulateNoise(const RPCRoll*);
00031 
00032 
00033  private:
00034   void init(){};
00035 
00036   RPCSynchronizer* _rpcSync;
00037 
00038   int N_hits;
00039   int nbxing;
00040   double rate;
00041   double gate;
00042 
00043   CLHEP::HepRandomEngine* rndEngine;
00044   CLHEP::RandFlat* flatDistribution;
00045   CLHEP::RandPoissonQ *poissonDistribution_;
00046 };
00047 #endif

Generated on Tue Jun 9 17:47:50 2009 for CMSSW by  doxygen 1.5.4