CMS 3D CMS Logo

RPCSimParam.h

Go to the documentation of this file.
00001 #ifndef RPCDigitizer_RPCSimParam_h
00002 #define RPCDigitizer_RPCSimParam_h
00003 
00010 #include "SimMuon/RPCDigitizer/src/RPCSim.h"
00011 #include <FWCore/Framework/interface/EventSetup.h>
00012 #include "SimMuon/RPCDigitizer/src/RPCSynchronizer.h"
00013 
00014 class RPCGeometry;
00015 
00016 namespace CLHEP {
00017   class HepRandomEngine;
00018   class RandFlat;
00019   class RandPoissonQ;
00020 }
00021 
00022 class RPCSimParam : public RPCSim
00023 {
00024  public:
00025   RPCSimParam(const edm::ParameterSet& config);
00026   ~RPCSimParam();
00027 
00028   void simulate(const RPCRoll* roll,
00029                 const edm::PSimHitContainer& rpcHits);
00030 
00031   void simulateNoise(const RPCRoll*);
00032 
00033  private:
00034   void init(){};
00035  private:
00036   double aveEff;
00037   double aveCls;
00038   double resRPC;
00039   double timOff;
00040   double dtimCs;
00041   double resEle;
00042   double sspeed;
00043   double lbGate;
00044   bool rpcdigiprint;
00045 
00046   int N_hits;
00047   int nbxing;
00048   double rate;
00049   double gate;
00050 
00051   RPCSynchronizer* _rpcSync;
00052 
00053   CLHEP::HepRandomEngine* rndEngine;
00054   CLHEP::RandFlat* flatDistribution;
00055   CLHEP::RandPoissonQ *poissonDistribution_;
00056 };
00057 #endif

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