CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_4_5_patch3/src/SimMuon/RPCDigitizer/src/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   void setRandomEngine(CLHEP::HepRandomEngine& eng);
00033 
00034  private:
00035   void init(){};
00036 
00037   RPCSynchronizer* _rpcSync;
00038 
00039   int N_hits;
00040   int nbxing;
00041   double rate;
00042   double gate;
00043 
00044   //  CLHEP::HepRandomEngine* rndEngine;
00045   CLHEP::RandFlat* flatDistribution1;
00046   CLHEP::RandFlat* flatDistribution2;
00047   CLHEP::RandPoissonQ *poissonDistribution;
00048 };
00049 #endif