#include <RPCSimAverageNoiseEffCls.h>
Public Member Functions | |
int | getClSize (float posX, CLHEP::HepRandomEngine *) |
int | getClSize (uint32_t id, float posX, CLHEP::HepRandomEngine *) |
RPCSimAverageNoiseEffCls (const edm::ParameterSet &config) | |
void | simulate (const RPCRoll *roll, const edm::PSimHitContainer &rpcHits, CLHEP::HepRandomEngine *) override |
void | simulateNoise (const RPCRoll *, CLHEP::HepRandomEngine *) override |
~RPCSimAverageNoiseEffCls () override | |
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 () |
Protected Member Functions | |
void | init () override |
Protected Member Functions inherited from RPCSim | |
virtual void | addLinks (unsigned int strip, int bx) |
RPCSim (const edm::ParameterSet &config) | |
Protected Attributes | |
RPCSynchronizer * | _rpcSync |
double | aveCls |
double | aveEff |
std::vector< double > | clsForDetId |
std::map< int, std::vector< double > > | clsMap |
double | dtimCs |
bool | eledig |
double | frate |
double | gate |
std::ifstream * | infile |
double | lbGate |
int | N_hits |
int | nbxing |
double | rate |
double | resEle |
double | resRPC |
bool | rpcdigiprint |
double | sspeed |
std::vector< double > | sum_clsize |
double | timOff |
Protected Attributes inherited from RPCSim | |
std::set< RPCDigi > | irpc_digis |
std::set< std::pair< int, int > > | strips |
DetectorHitMap | theDetectorHitMap |
DigiSimLinks | theDigiSimLinks |
RPCDigiSimLinks | theRpcDigiSimLinks |
RPCSimSetUp * | theSimSetUp |
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 |
Definition at line 29 of file RPCSimAverageNoiseEffCls.h.
RPCSimAverageNoiseEffCls::RPCSimAverageNoiseEffCls | ( | const edm::ParameterSet & | config | ) |
Definition at line 41 of file RPCSimAverageNoiseEffCls.cc.
References _rpcSync, aveCls, aveEff, dtimCs, eledig, frate, gate, lbGate, nbxing, rate, resEle, resRPC, rpcdigiprint, sspeed, and timOff.
|
override |
Definition at line 72 of file RPCSimAverageNoiseEffCls.cc.
References _rpcSync.
int RPCSimAverageNoiseEffCls::getClSize | ( | float | posX, |
CLHEP::HepRandomEngine * | engine | ||
) |
Definition at line 120 of file RPCSimAverageNoiseEffCls.cc.
References clsMap, EcalMonitorTask_cff::func, RPCSimSetUp::getClsMap(), RPCSim::getRPCSimSetUp(), SiStripPI::min, RecoTauValidation_cfi::posX, and sum_clsize.
Referenced by simulate().
int RPCSimAverageNoiseEffCls::getClSize | ( | uint32_t | id, |
float | posX, | ||
CLHEP::HepRandomEngine * | engine | ||
) |
Definition at line 74 of file RPCSimAverageNoiseEffCls.cc.
References clsForDetId, EcalMonitorTask_cff::func, RPCSimSetUp::getCls(), RPCSim::getRPCSimSetUp(), mps_fire::i, SiStripPI::min, RecoTauValidation_cfi::posX, and sum_clsize.
|
inlineoverrideprotectedvirtual |
|
overridevirtual |
Implements RPCSim.
Definition at line 161 of file RPCSimAverageNoiseEffCls.cc.
References _rpcSync, haddnano::cl, edm::DetSet< T >::clear(), eledig, getClSize(), RPCSim::getRPCSimSetUp(), RPCSynchronizer::getSimHitBx(), mps_fire::i, RecoTauValidation_cfi::posX, nano_mu_digi_cff::roll, RPCSynchronizer::setRPCSimSetUp(), RPCSim::strips, RPCSim::theDetectorHitMap, RPCSim::theRpcDigiSimLinks, HLT_2024v12_cff::topology, and PV3DBase< T, PVType, FrameType >::x().
|
overridevirtual |
Implements RPCSim.
Definition at line 248 of file RPCSimAverageNoiseEffCls.cc.
References custom_jme_cff::area, nano_mu_digi_cff::float, frate, gate, RPCSim::getRPCSimSetUp(), mps_fire::i, dqmiolumiharvest::j, RectangularStripTopology::localPosition(), TrapezoidalStripTopology::localPosition(), N_hits, nbxing, DetId::rawId(), RPCDetId::region(), nano_mu_digi_cff::roll, RectangularStripTopology::stripLength(), TrapezoidalStripTopology::stripLength(), RPCSim::strips, x, TrackerOfflineValidation_Dqm_cff::xmax, and TrackerOfflineValidation_Dqm_cff::xmin.
|
protected |
Definition at line 67 of file RPCSimAverageNoiseEffCls.h.
Referenced by RPCSimAverageNoiseEffCls(), simulate(), and ~RPCSimAverageNoiseEffCls().
|
protected |
Definition at line 46 of file RPCSimAverageNoiseEffCls.h.
Referenced by RPCSimAverageNoiseEffCls().
|
protected |
Definition at line 43 of file RPCSimAverageNoiseEffCls.h.
Referenced by RPCSimAverageNoiseEffCls().
|
protected |
Definition at line 64 of file RPCSimAverageNoiseEffCls.h.
Referenced by getClSize().
|
protected |
Definition at line 62 of file RPCSimAverageNoiseEffCls.h.
Referenced by getClSize().
|
protected |
Definition at line 49 of file RPCSimAverageNoiseEffCls.h.
Referenced by RPCSimAverageNoiseEffCls().
|
protected |
Definition at line 54 of file RPCSimAverageNoiseEffCls.h.
Referenced by RPCSimAverageNoiseEffCls(), and simulate().
|
protected |
Definition at line 60 of file RPCSimAverageNoiseEffCls.h.
Referenced by RPCSimAverageNoiseEffCls(), and simulateNoise().
|
protected |
Definition at line 59 of file RPCSimAverageNoiseEffCls.h.
Referenced by RPCSimAverageNoiseEffCls(), and simulateNoise().
|
protected |
Definition at line 65 of file RPCSimAverageNoiseEffCls.h.
|
protected |
Definition at line 52 of file RPCSimAverageNoiseEffCls.h.
Referenced by RPCSimAverageNoiseEffCls().
|
protected |
Definition at line 56 of file RPCSimAverageNoiseEffCls.h.
Referenced by simulateNoise().
|
protected |
Definition at line 57 of file RPCSimAverageNoiseEffCls.h.
Referenced by RPCSimAverageNoiseEffCls(), and simulateNoise().
|
protected |
Definition at line 58 of file RPCSimAverageNoiseEffCls.h.
Referenced by RPCSimAverageNoiseEffCls().
|
protected |
Definition at line 50 of file RPCSimAverageNoiseEffCls.h.
Referenced by RPCSimAverageNoiseEffCls().
|
protected |
Definition at line 47 of file RPCSimAverageNoiseEffCls.h.
Referenced by RPCSimAverageNoiseEffCls().
|
protected |
Definition at line 53 of file RPCSimAverageNoiseEffCls.h.
Referenced by RPCSimAverageNoiseEffCls().
|
protected |
Definition at line 51 of file RPCSimAverageNoiseEffCls.h.
Referenced by RPCSimAverageNoiseEffCls().
|
protected |
Definition at line 63 of file RPCSimAverageNoiseEffCls.h.
Referenced by getClSize().
|
protected |
Definition at line 48 of file RPCSimAverageNoiseEffCls.h.
Referenced by RPCSimAverageNoiseEffCls().