#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 () | |
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 () |
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< 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.
References _rpcSync, gate, edm::ParameterSet::getParameter(), nbxing, and rate.
RPCSimSimple::~RPCSimSimple | ( | ) |
|
inlineprivatevirtual |
|
overridevirtual |
Implements RPCSim.
Definition at line 35 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 63 of file RPCSimSimple.cc.
References compareJSON::const, gate, i, RPCRoll::id(), RectangularStripTopology::localPosition(), TrapezoidalStripTopology::localPosition(), N_hits, nbxing, RPCRoll::nstrips(), rate, RPCDetId::region(), RectangularStripTopology::stripLength(), TrapezoidalStripTopology::stripLength(), RPCSim::strips, RPCRoll::topology(), x, SiStripMonitorClusterAlca_cfi::xmax, and SiStripMonitorClusterAlca_cfi::xmin.
|
private |
Definition at line 32 of file RPCSimSimple.h.
Referenced by RPCSimSimple(), simulate(), and ~RPCSimSimple().
|
private |
Definition at line 38 of file RPCSimSimple.h.
Referenced by RPCSimSimple(), and simulateNoise().
|
private |
Definition at line 35 of file RPCSimSimple.h.
Referenced by simulateNoise().
|
private |
Definition at line 36 of file RPCSimSimple.h.
Referenced by RPCSimSimple(), and simulateNoise().
|
private |
Definition at line 37 of file RPCSimSimple.h.
Referenced by RPCSimSimple(), and simulateNoise().