#include <RPCSimParam.h>
Public Member Functions | |
RPCSimParam (const edm::ParameterSet &config) | |
void | setRandomEngine (CLHEP::HepRandomEngine &eng) |
void | simulate (const RPCRoll *roll, const edm::PSimHitContainer &rpcHits) |
void | simulateNoise (const RPCRoll *) |
~RPCSimParam () | |
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 | aveCls |
double | aveEff |
double | dtimCs |
CLHEP::RandFlat * | flatDistribution1 |
CLHEP::RandFlat * | flatDistribution2 |
CLHEP::RandFlat * | flatDistribution_ |
double | gate |
double | lbGate |
int | N_hits |
int | nbxing |
CLHEP::RandPoissonQ * | poissonDistribution |
double | rate |
double | resEle |
double | resRPC |
bool | rpcdigiprint |
double | sspeed |
double | timOff |
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 parametrized model (ORCA-based)
Definition at line 22 of file RPCSimParam.h.
RPCSimParam::RPCSimParam | ( | const edm::ParameterSet & | config | ) |
Definition at line 19 of file RPCSimParam.cc.
References _rpcSync, aveCls, aveEff, gather_cfg::cout, dtimCs, gate, edm::ParameterSet::getParameter(), lbGate, nbxing, rate, resEle, resRPC, rpcdigiprint, sspeed, and timOff.
RPCSimParam::~RPCSimParam | ( | ) |
Definition at line 57 of file RPCSimParam.cc.
References _rpcSync, flatDistribution1, flatDistribution2, flatDistribution_, and poissonDistribution.
|
inlineprivatevirtual |
|
virtual |
Implements RPCSim.
Definition at line 48 of file RPCSimParam.cc.
References _rpcSync, flatDistribution1, flatDistribution2, flatDistribution_, poissonDistribution, and RPCSynchronizer::setRandomEngine().
|
virtual |
Implements RPCSim.
Definition at line 67 of file RPCSimParam.cc.
References _rpcSync, aveCls, aveEff, RPCRoll::centreOfStrip(), edm::DetSet< T >::clear(), alignCSCRings::e, flatDistribution_, RPCSim::getRPCSimSetUp(), RPCSynchronizer::getSimHitBx(), i, RPCRoll::id(), create_public_lumi_plots::log, RPCRoll::nstrips(), DetId::rawId(), RPCSynchronizer::setRPCSimSetUp(), RPCRoll::specs(), RPCSim::strips, RPCSim::theDetectorHitMap, RPCSim::theRpcDigiSimLinks, RPCRollSpecs::topology(), w(), and PV3DBase< T, PVType, FrameType >::x().
|
virtual |
Implements RPCSim.
Definition at line 138 of file RPCSimParam.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 53 of file RPCSimParam.h.
Referenced by RPCSimParam(), setRandomEngine(), simulate(), and ~RPCSimParam().
|
private |
Definition at line 39 of file RPCSimParam.h.
Referenced by RPCSimParam(), and simulate().
|
private |
Definition at line 36 of file RPCSimParam.h.
Referenced by RPCSimParam(), and simulate().
|
private |
Definition at line 42 of file RPCSimParam.h.
Referenced by RPCSimParam().
|
private |
Definition at line 57 of file RPCSimParam.h.
Referenced by setRandomEngine(), simulateNoise(), and ~RPCSimParam().
|
private |
Definition at line 58 of file RPCSimParam.h.
Referenced by setRandomEngine(), simulateNoise(), and ~RPCSimParam().
|
private |
Definition at line 56 of file RPCSimParam.h.
Referenced by setRandomEngine(), simulate(), and ~RPCSimParam().
|
private |
Definition at line 51 of file RPCSimParam.h.
Referenced by RPCSimParam(), and simulateNoise().
|
private |
Definition at line 45 of file RPCSimParam.h.
Referenced by RPCSimParam().
|
private |
Definition at line 48 of file RPCSimParam.h.
Referenced by simulateNoise().
|
private |
Definition at line 49 of file RPCSimParam.h.
Referenced by RPCSimParam(), and simulateNoise().
|
private |
Definition at line 59 of file RPCSimParam.h.
Referenced by setRandomEngine(), simulateNoise(), and ~RPCSimParam().
|
private |
Definition at line 50 of file RPCSimParam.h.
Referenced by RPCSimParam(), and simulateNoise().
|
private |
Definition at line 43 of file RPCSimParam.h.
Referenced by RPCSimParam().
|
private |
Definition at line 40 of file RPCSimParam.h.
Referenced by RPCSimParam().
|
private |
Definition at line 46 of file RPCSimParam.h.
Referenced by RPCSimParam().
|
private |
Definition at line 44 of file RPCSimParam.h.
Referenced by RPCSimParam().
|
private |
Definition at line 41 of file RPCSimParam.h.
Referenced by RPCSimParam().