#include <RPCSimSimple.h>
Public Member Functions | |
RPCSimSimple (const edm::ParameterSet &config) | |
void | setRandomEngine (CLHEP::HepRandomEngine &eng) |
void | simulate (const RPCRoll *roll, const edm::PSimHitContainer &rpcHits) |
void | simulateNoise (const RPCRoll *) |
~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 |
CLHEP::RandFlat * | flatDistribution1 |
CLHEP::RandFlat * | flatDistribution2 |
double | gate |
int | N_hits |
int | nbxing |
CLHEP::RandPoissonQ * | poissonDistribution |
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 21 of file RPCSimSimple.h.
RPCSimSimple::RPCSimSimple | ( | const edm::ParameterSet & | config | ) |
Definition at line 28 of file RPCSimSimple.cc.
References _rpcSync, gate, edm::ParameterSet::getParameter(), nbxing, and rate.
RPCSimSimple::~RPCSimSimple | ( | ) |
Definition at line 45 of file RPCSimSimple.cc.
References _rpcSync, flatDistribution1, flatDistribution2, and poissonDistribution.
|
inlineprivatevirtual |
|
virtual |
Implements RPCSim.
Definition at line 37 of file RPCSimSimple.cc.
References _rpcSync, flatDistribution1, flatDistribution2, poissonDistribution, and RPCSynchronizer::setRandomEngine().
|
virtual |
Implements RPCSim.
Definition at line 54 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, and RPCRollSpecs::topology().
|
virtual |
Implements RPCSim.
Definition at line 81 of file RPCSimSimple.cc.
References compareJSON::const, flatDistribution1, flatDistribution2, gate, i, RPCRoll::id(), N_hits, nbxing, RPCRoll::nstrips(), poissonDistribution, rate, RPCDetId::region(), RPCSim::strips, RPCRoll::topology(), x, SiStripMonitorClusterAlca_cfi::xmax, and SiStripMonitorClusterAlca_cfi::xmin.
|
private |
Definition at line 35 of file RPCSimSimple.h.
Referenced by RPCSimSimple(), setRandomEngine(), simulate(), and ~RPCSimSimple().
|
private |
Definition at line 43 of file RPCSimSimple.h.
Referenced by setRandomEngine(), simulateNoise(), and ~RPCSimSimple().
|
private |
Definition at line 44 of file RPCSimSimple.h.
Referenced by setRandomEngine(), simulateNoise(), and ~RPCSimSimple().
|
private |
Definition at line 41 of file RPCSimSimple.h.
Referenced by RPCSimSimple(), and simulateNoise().
|
private |
Definition at line 38 of file RPCSimSimple.h.
Referenced by simulateNoise().
|
private |
Definition at line 39 of file RPCSimSimple.h.
Referenced by RPCSimSimple(), and simulateNoise().
|
private |
Definition at line 45 of file RPCSimSimple.h.
Referenced by setRandomEngine(), simulateNoise(), and ~RPCSimSimple().
|
private |
Definition at line 40 of file RPCSimSimple.h.
Referenced by RPCSimSimple(), and simulateNoise().