Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:30:24

0001 #ifndef RPCDigitizer_RPCSimSimple_h
0002 #define RPCDigitizer_RPCSimSimple_h
0003 
0004 /** \class RPCSimSimple
0005  *   Class for the RPC strip response simulation based
0006  *   on a very simple model
0007  *
0008  *  \author Marcello Maggi -- INFN Bari
0009  */
0010 #include "SimMuon/RPCDigitizer/src/RPCSim.h"
0011 #include "SimMuon/RPCDigitizer/src/RPCSynchronizer.h"
0012 
0013 class RPCGeometry;
0014 
0015 namespace CLHEP {
0016   class HepRandomEngine;
0017 }
0018 
0019 class RPCSimSimple : public RPCSim {
0020 public:
0021   RPCSimSimple(const edm::ParameterSet& config);
0022   ~RPCSimSimple() override;
0023 
0024   void simulate(const RPCRoll* roll, const edm::PSimHitContainer& rpcHits, CLHEP::HepRandomEngine*) override;
0025 
0026   void simulateNoise(const RPCRoll*, CLHEP::HepRandomEngine*) override;
0027 
0028 private:
0029   void init() override{};
0030 
0031   RPCSynchronizer* _rpcSync;
0032   int N_hits;
0033   int nbxing;
0034   double rate;
0035   double gate;
0036 };
0037 #endif