#include <RPCSimAverageNoiseEffCls.h>
Public Member Functions | |
int | getClSize (float posX) |
int | getClSize (uint32_t id, float posX) |
RPCSimAverageNoiseEffCls (const edm::ParameterSet &config) | |
void | setRandomEngine (CLHEP::HepRandomEngine &eng) |
void | simulate (const RPCRoll *roll, const edm::PSimHitContainer &rpcHits) |
void | simulateNoise (const RPCRoll *) |
~RPCSimAverageNoiseEffCls () | |
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 |
std::vector< double > | clsForDetId |
std::map< int, std::vector < double > > | clsMap |
double | dtimCs |
CLHEP::RandFlat * | flatDistribution |
CLHEP::RandFlat * | flatDistribution2 |
double | frate |
double | gate |
std::ifstream * | infile |
double | lbGate |
int | N_hits |
int | nbxing |
CLHEP::RandPoissonQ * | poissonDistribution_ |
double | rate |
double | resEle |
double | resRPC |
bool | rpcdigiprint |
double | sspeed |
std::vector< double > | sum_clsize |
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 |
Definition at line 31 of file RPCSimAverageNoiseEffCls.h.
RPCSimAverageNoiseEffCls::RPCSimAverageNoiseEffCls | ( | const edm::ParameterSet & | config | ) |
Definition at line 50 of file RPCSimAverageNoiseEffCls.cc.
References _rpcSync, aveCls, aveEff, gather_cfg::cout, dtimCs, frate, gate, edm::ParameterSet::getParameter(), lbGate, nbxing, rate, resEle, resRPC, rpcdigiprint, sspeed, and timOff.
RPCSimAverageNoiseEffCls::~RPCSimAverageNoiseEffCls | ( | ) |
Definition at line 91 of file RPCSimAverageNoiseEffCls.cc.
References _rpcSync, flatDistribution, flatDistribution2, and poissonDistribution_.
int RPCSimAverageNoiseEffCls::getClSize | ( | float | posX | ) |
Definition at line 150 of file RPCSimAverageNoiseEffCls.cc.
References clsMap, flatDistribution, statics::func, RPCSimSetUp::getClsMap(), RPCSim::getRPCSimSetUp(), bookConverter::min, and sum_clsize.
Referenced by simulate().
int RPCSimAverageNoiseEffCls::getClSize | ( | uint32_t | id, |
float | posX | ||
) |
Definition at line 101 of file RPCSimAverageNoiseEffCls.cc.
References clsForDetId, flatDistribution, statics::func, RPCSimSetUp::getCls(), RPCSim::getRPCSimSetUp(), i, bookConverter::min, and sum_clsize.
|
inlineprivatevirtual |
|
virtual |
Implements RPCSim.
Definition at line 84 of file RPCSimAverageNoiseEffCls.cc.
References _rpcSync, flatDistribution, flatDistribution2, poissonDistribution_, and RPCSynchronizer::setRandomEngine().
|
virtual |
Implements RPCSim.
Definition at line 196 of file RPCSimAverageNoiseEffCls.cc.
References _rpcSync, RPCRoll::centreOfStrip(), Topology::channel(), GetRecoTauVFromDQM_MC_cff::cl, edm::DetSet< T >::clear(), alignCSCRings::e, flatDistribution, getClSize(), RPCSim::getRPCSimSetUp(), RPCSynchronizer::getSimHitBx(), i, RPCRoll::id(), RPCRoll::nstrips(), DetId::rawId(), RPCSynchronizer::setRPCSimSetUp(), RPCRoll::specs(), RPCRoll::strip(), RPCSim::strips, RPCSim::theDetectorHitMap, RPCSim::theRpcDigiSimLinks, RPCRollSpecs::topology(), w(), and PV3DBase< T, PVType, FrameType >::x().
|
virtual |
Implements RPCSim.
Definition at line 290 of file RPCSimAverageNoiseEffCls.cc.
References compareJSON::const, flatDistribution2, frate, gate, RPCSim::getRPCSimSetUp(), i, RPCRoll::id(), j, N_hits, nbxing, RPCRoll::nstrips(), poissonDistribution_, DetId::rawId(), RPCDetId::region(), RPCSim::strips, RPCRoll::topology(), x, SiStripMonitorClusterAlca_cfi::xmax, and SiStripMonitorClusterAlca_cfi::xmin.
|
private |
Definition at line 71 of file RPCSimAverageNoiseEffCls.h.
Referenced by RPCSimAverageNoiseEffCls(), setRandomEngine(), simulate(), and ~RPCSimAverageNoiseEffCls().
|
private |
Definition at line 51 of file RPCSimAverageNoiseEffCls.h.
Referenced by RPCSimAverageNoiseEffCls().
|
private |
Definition at line 48 of file RPCSimAverageNoiseEffCls.h.
Referenced by RPCSimAverageNoiseEffCls().
|
private |
Definition at line 68 of file RPCSimAverageNoiseEffCls.h.
Referenced by getClSize().
|
private |
Definition at line 66 of file RPCSimAverageNoiseEffCls.h.
Referenced by getClSize().
|
private |
Definition at line 54 of file RPCSimAverageNoiseEffCls.h.
Referenced by RPCSimAverageNoiseEffCls().
|
private |
Definition at line 75 of file RPCSimAverageNoiseEffCls.h.
Referenced by getClSize(), setRandomEngine(), simulate(), and ~RPCSimAverageNoiseEffCls().
|
private |
Definition at line 78 of file RPCSimAverageNoiseEffCls.h.
Referenced by setRandomEngine(), simulateNoise(), and ~RPCSimAverageNoiseEffCls().
|
private |
Definition at line 64 of file RPCSimAverageNoiseEffCls.h.
Referenced by RPCSimAverageNoiseEffCls(), and simulateNoise().
|
private |
Definition at line 63 of file RPCSimAverageNoiseEffCls.h.
Referenced by RPCSimAverageNoiseEffCls(), and simulateNoise().
|
private |
Definition at line 69 of file RPCSimAverageNoiseEffCls.h.
|
private |
Definition at line 57 of file RPCSimAverageNoiseEffCls.h.
Referenced by RPCSimAverageNoiseEffCls().
|
private |
Definition at line 60 of file RPCSimAverageNoiseEffCls.h.
Referenced by simulateNoise().
|
private |
Definition at line 61 of file RPCSimAverageNoiseEffCls.h.
Referenced by RPCSimAverageNoiseEffCls(), and simulateNoise().
|
private |
Definition at line 79 of file RPCSimAverageNoiseEffCls.h.
Referenced by setRandomEngine(), simulateNoise(), and ~RPCSimAverageNoiseEffCls().
|
private |
Definition at line 62 of file RPCSimAverageNoiseEffCls.h.
Referenced by RPCSimAverageNoiseEffCls().
|
private |
Definition at line 55 of file RPCSimAverageNoiseEffCls.h.
Referenced by RPCSimAverageNoiseEffCls().
|
private |
Definition at line 52 of file RPCSimAverageNoiseEffCls.h.
Referenced by RPCSimAverageNoiseEffCls().
|
private |
Definition at line 58 of file RPCSimAverageNoiseEffCls.h.
Referenced by RPCSimAverageNoiseEffCls().
|
private |
Definition at line 56 of file RPCSimAverageNoiseEffCls.h.
Referenced by RPCSimAverageNoiseEffCls().
|
private |
Definition at line 67 of file RPCSimAverageNoiseEffCls.h.
Referenced by getClSize().
|
private |
Definition at line 53 of file RPCSimAverageNoiseEffCls.h.
Referenced by RPCSimAverageNoiseEffCls().