#include <RPCSimTriv.h>
Public Member Functions | |
RPCSimTriv (const edm::ParameterSet &config) | |
void | setRandomEngine (CLHEP::HepRandomEngine &eng) |
void | simulate (const RPCRoll *roll, const edm::PSimHitContainer &rpcHits) |
void | simulateNoise (const RPCRoll *) |
~RPCSimTriv () | |
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 RPCSimTriv.h.
RPCSimTriv::RPCSimTriv | ( | const edm::ParameterSet & | config | ) |
Definition at line 24 of file RPCSimTriv.cc.
References _rpcSync, gate, edm::ParameterSet::getParameter(), nbxing, and rate.
RPCSimTriv::~RPCSimTriv | ( | ) |
Definition at line 40 of file RPCSimTriv.cc.
References _rpcSync, flatDistribution1, flatDistribution2, and poissonDistribution.
|
inlineprivatevirtual |
|
virtual |
Implements RPCSim.
Definition at line 33 of file RPCSimTriv.cc.
References _rpcSync, flatDistribution1, flatDistribution2, poissonDistribution, and RPCSynchronizer::setRandomEngine().
|
virtual |
Implements RPCSim.
Definition at line 48 of file RPCSimTriv.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 76 of file RPCSimTriv.cc.
References compareJSON::const, flatDistribution1, flatDistribution2, gate, i, RPCRoll::id(), N_hits, nbxing, RPCRoll::nstrips(), poissonDistribution, rate, RPCDetId::region(), strip(), RPCSim::strips, RPCRoll::topology(), and x.
|
private |
Definition at line 35 of file RPCSimTriv.h.
Referenced by RPCSimTriv(), setRandomEngine(), simulate(), and ~RPCSimTriv().
|
private |
Definition at line 45 of file RPCSimTriv.h.
Referenced by setRandomEngine(), simulateNoise(), and ~RPCSimTriv().
|
private |
Definition at line 46 of file RPCSimTriv.h.
Referenced by setRandomEngine(), simulateNoise(), and ~RPCSimTriv().
|
private |
Definition at line 42 of file RPCSimTriv.h.
Referenced by RPCSimTriv(), and simulateNoise().
|
private |
Definition at line 39 of file RPCSimTriv.h.
Referenced by simulateNoise().
|
private |
Definition at line 40 of file RPCSimTriv.h.
Referenced by RPCSimTriv(), and simulateNoise().
|
private |
Definition at line 47 of file RPCSimTriv.h.
Referenced by setRandomEngine(), simulateNoise(), and ~RPCSimTriv().
|
private |
Definition at line 41 of file RPCSimTriv.h.
Referenced by RPCSimTriv(), and simulateNoise().