Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-09-10 02:59:12

0001 #ifndef RPCDigitizer_RPCSimParam_h
0002 #define RPCDigitizer_RPCSimParam_h
0003 
0004 /** \class RPCSimParam
0005  *   Class for the RPC strip response simulation based
0006  *   on a parametrized model (ORCA-based)
0007  *
0008  *  \author Marcello Maggi -- INFN Bari
0009  */
0010 #include "SimMuon/RPCDigitizer/src/RPCSim.h"
0011 #include "FWCore/Framework/interface/EventSetup.h"
0012 #include "SimMuon/RPCDigitizer/src/RPCSynchronizer.h"
0013 
0014 class RPCGeometry;
0015 
0016 namespace CLHEP {
0017   class HepRandomEngine;
0018 }
0019 
0020 class RPCSimParam : public RPCSim {
0021 public:
0022   RPCSimParam(const edm::ParameterSet& config);
0023   ~RPCSimParam() override;
0024 
0025   void simulate(const RPCRoll* roll, const edm::PSimHitContainer& rpcHits, CLHEP::HepRandomEngine*) override;
0026 
0027   void simulateNoise(const RPCRoll*, CLHEP::HepRandomEngine*) override;
0028 
0029 private:
0030   void init() override {}
0031 
0032 private:
0033   double aveEff;
0034   double aveCls;
0035   double resRPC;
0036   double timOff;
0037   double dtimCs;
0038   double resEle;
0039   double sspeed;
0040   double lbGate;
0041   bool rpcdigiprint;
0042 
0043   int N_hits;
0044   int nbxing;
0045   double rate;
0046   double gate;
0047 
0048   RPCSynchronizer* _rpcSync;
0049 };
0050 #endif