CMS 3D CMS Logo

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  private:
00033   void init(){};
00034 
00035   RPCSynchronizer* _rpcSync;
00036   int N_hits;
00037   int nbxing;
00038   double rate;
00039   double gate;
00040 
00041   CLHEP::HepRandomEngine* rndEngine;
00042   CLHEP::RandFlat* flatDistribution;
00043   CLHEP::RandPoissonQ *poissonDistribution_;
00044 };
00045 #endif

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