#include <RPCSimSimple.h>
Public Member Functions | |
RPCSimSimple (const edm::ParameterSet &config) | |
void | simulate (const RPCRoll *roll, const edm::PSimHitContainer &rpcHits, CLHEP::HepRandomEngine *) override |
void | simulateNoise (const RPCRoll *, CLHEP::HepRandomEngine *) override |
~RPCSimSimple () override | |
Public Member Functions inherited from RPCSim | |
const DigiSimLinks & | digiSimLinks () const |
virtual void | fillDigis (int rollDetId, RPCDigiCollection &digis) |
RPCSimSetUp * | getRPCSimSetUp () |
const RPCDigiSimLinks & | rpcDigiSimLinks () const |
void | setRPCSimSetUp (RPCSimSetUp *setup) |
virtual | ~RPCSim () |
Private Member Functions | |
void | init () override |
Private Attributes | |
RPCSynchronizer * | _rpcSync |
double | gate |
int | N_hits |
int | nbxing |
double | rate |
Additional Inherited Members | |
Public Types inherited from RPCSim | |
typedef edm::DetSet< StripDigiSimLink > | DigiSimLinks |
typedef edm::DetSet< RPCDigiSimLink > | RPCDigiSimLinks |
Protected Types inherited from RPCSim | |
typedef std::multimap< std::pair< unsigned int, int >, const PSimHit *, std::less< std::pair< unsigned int, int > > > | DetectorHitMap |
Protected Member Functions inherited from RPCSim | |
virtual void | addLinks (unsigned int strip, int bx) |
RPCSim (const edm::ParameterSet &config) | |
Protected Attributes inherited from RPCSim | |
std::set< RPCDigi > | irpc_digis |
std::set< std::pair< int, int > > | strips |
DetectorHitMap | theDetectorHitMap |
DigiSimLinks | theDigiSimLinks |
RPCDigiSimLinks | theRpcDigiSimLinks |
RPCSimSetUp * | theSimSetUp |
Class for the RPC strip response simulation based on a very simple model
Definition at line 19 of file RPCSimSimple.h.
RPCSimSimple::RPCSimSimple | ( | const edm::ParameterSet & | config | ) |
Definition at line 20 of file RPCSimSimple.cc.
|
override |
|
inlineoverrideprivatevirtual |
|
overridevirtual |
Implements RPCSim.
Definition at line 30 of file RPCSimSimple.cc.
References _rpcSync, edm::DetSet< T >::clear(), RPCSim::getRPCSimSetUp(), RPCSynchronizer::getSimHitBx(), RPCRoll::id(), DetId::rawId(), RPCSynchronizer::setRPCSimSetUp(), RPCRoll::specs(), RPCSim::strips, RPCSim::theDetectorHitMap, RPCSim::theRpcDigiSimLinks, RPCRollSpecs::topology(), and ecaldqm::topology().
|
overridevirtual |
Implements RPCSim.
Definition at line 50 of file RPCSimSimple.cc.
References custom_jme_cff::area, gate, mps_fire::i, RPCRoll::id(), RectangularStripTopology::localPosition(), TrapezoidalStripTopology::localPosition(), N_hits, nbxing, RPCRoll::nstrips(), rate, RPCDetId::region(), digitizers_cfi::strip, RectangularStripTopology::stripLength(), TrapezoidalStripTopology::stripLength(), RPCSim::strips, RPCRoll::topology(), x, TrackerOfflineValidation_Dqm_cff::xmax, and TrackerOfflineValidation_Dqm_cff::xmin.
|
private |
Definition at line 29 of file RPCSimSimple.h.
Referenced by RPCSimSimple(), simulate(), and ~RPCSimSimple().
|
private |
Definition at line 35 of file RPCSimSimple.h.
Referenced by RPCSimSimple(), and simulateNoise().
|
private |
Definition at line 32 of file RPCSimSimple.h.
Referenced by simulateNoise().
|
private |
Definition at line 33 of file RPCSimSimple.h.
Referenced by RPCSimSimple(), and simulateNoise().
|
private |
Definition at line 34 of file RPCSimSimple.h.
Referenced by RPCSimSimple(), and simulateNoise().