CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_4_5_patch3/src/SimMuon/RPCDigitizer/src/RPCSimSimple.h

Go to the documentation of this file.
00001 #ifndef RPCDigitizer_RPCSimSimple_h
00002 #define RPCDigitizer_RPCSimSimple_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 RPCSimSimple : public RPCSim
00022 {
00023  public:
00024   RPCSimSimple(const edm::ParameterSet& config);
00025   ~RPCSimSimple();
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   int N_hits;
00039   int nbxing;
00040   double rate;
00041   double gate;
00042 
00043   CLHEP::RandFlat* flatDistribution1;
00044   CLHEP::RandFlat* flatDistribution2;
00045   CLHEP::RandPoissonQ *poissonDistribution;
00046 };
00047 #endif