#include <RPCSimAverageNoiseEff.h>
Public Member Functions | |
int | getClSize (float posX, CLHEP::HepRandomEngine *) |
RPCSimAverageNoiseEff (const edm::ParameterSet &config) | |
void | simulate (const RPCRoll *roll, const edm::PSimHitContainer &rpcHits, CLHEP::HepRandomEngine *) override |
void | simulateNoise (const RPCRoll *, CLHEP::HepRandomEngine *) override |
~RPCSimAverageNoiseEff () 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 () |
Private Member Functions | |
void | init () override |
Private Attributes | |
RPCSynchronizer * | _rpcSync |
double | aveCls |
double | aveEff |
std::map< int, std::vector< double > > | clsMap |
double | dtimCs |
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 |
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< RPCDigi > | irpc_digis |
std::set< std::pair< int, int > > | strips |
DetectorHitMap | theDetectorHitMap |
DigiSimLinks | theDigiSimLinks |
RPCDigiSimLinks | theRpcDigiSimLinks |
RPCSimSetUp * | theSimSetUp |
Definition at line 29 of file RPCSimAverageNoiseEff.h.
RPCSimAverageNoiseEff::RPCSimAverageNoiseEff | ( | const edm::ParameterSet & | config | ) |
Definition at line 39 of file RPCSimAverageNoiseEff.cc.
References _rpcSync, aveCls, aveEff, gather_cfg::cout, dtimCs, frate, gate, lbGate, nbxing, rate, resEle, resRPC, rpcdigiprint, sspeed, and timOff.
|
override |
int RPCSimAverageNoiseEff::getClSize | ( | float | posX, |
CLHEP::HepRandomEngine * | engine | ||
) |
Definition at line 71 of file RPCSimAverageNoiseEff.cc.
References clsMap, EcalMonitorTask_cff::func, RPCSimSetUp::getClsMap(), RPCSim::getRPCSimSetUp(), SiStripPI::min, RecoTauValidation_cfi::posX, and sum_clsize.
Referenced by simulate().
|
inlineoverrideprivatevirtual |
|
overridevirtual |
Implements RPCSim.
Definition at line 112 of file RPCSimAverageNoiseEff.cc.
References _rpcSync, haddnano::cl, edm::DetSet< T >::clear(), getClSize(), RPCSim::getRPCSimSetUp(), RPCSynchronizer::getSimHitBx(), mps_fire::i, RPCGeomServ::name(), RecoTauValidation_cfi::posX, nano_mu_digi_cff::roll, RPCSynchronizer::setRPCSimSetUp(), AlCaHLTBitMon_QueryRunRegistry::string, RPCSim::strips, RPCSim::theDetectorHitMap, RPCSim::theRpcDigiSimLinks, HLT_2024v11_cff::topology, and PV3DBase< T, PVType, FrameType >::x().
|
overridevirtual |
Implements RPCSim.
Definition at line 203 of file RPCSimAverageNoiseEff.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, RPCGeomServ::name(), nbxing, DetId::rawId(), RPCDetId::region(), nano_mu_digi_cff::roll, AlCaHLTBitMon_QueryRunRegistry::string, RectangularStripTopology::stripLength(), TrapezoidalStripTopology::stripLength(), RPCSim::strips, x, TrackerOfflineValidation_Dqm_cff::xmax, and TrackerOfflineValidation_Dqm_cff::xmin.
|
private |
Definition at line 64 of file RPCSimAverageNoiseEff.h.
Referenced by RPCSimAverageNoiseEff(), simulate(), and ~RPCSimAverageNoiseEff().
|
private |
Definition at line 45 of file RPCSimAverageNoiseEff.h.
Referenced by RPCSimAverageNoiseEff().
|
private |
Definition at line 41 of file RPCSimAverageNoiseEff.h.
Referenced by RPCSimAverageNoiseEff().
|
private |
Definition at line 60 of file RPCSimAverageNoiseEff.h.
Referenced by getClSize().
|
private |
Definition at line 48 of file RPCSimAverageNoiseEff.h.
Referenced by RPCSimAverageNoiseEff().
|
private |
Definition at line 58 of file RPCSimAverageNoiseEff.h.
Referenced by RPCSimAverageNoiseEff(), and simulateNoise().
|
private |
Definition at line 57 of file RPCSimAverageNoiseEff.h.
Referenced by RPCSimAverageNoiseEff(), and simulateNoise().
|
private |
Definition at line 62 of file RPCSimAverageNoiseEff.h.
|
private |
Definition at line 51 of file RPCSimAverageNoiseEff.h.
Referenced by RPCSimAverageNoiseEff().
|
private |
Definition at line 54 of file RPCSimAverageNoiseEff.h.
Referenced by simulateNoise().
|
private |
Definition at line 55 of file RPCSimAverageNoiseEff.h.
Referenced by RPCSimAverageNoiseEff(), and simulateNoise().
|
private |
Definition at line 56 of file RPCSimAverageNoiseEff.h.
Referenced by RPCSimAverageNoiseEff().
|
private |
Definition at line 49 of file RPCSimAverageNoiseEff.h.
Referenced by RPCSimAverageNoiseEff().
|
private |
Definition at line 46 of file RPCSimAverageNoiseEff.h.
Referenced by RPCSimAverageNoiseEff().
|
private |
Definition at line 52 of file RPCSimAverageNoiseEff.h.
Referenced by RPCSimAverageNoiseEff().
|
private |
Definition at line 50 of file RPCSimAverageNoiseEff.h.
Referenced by RPCSimAverageNoiseEff().
|
private |
Definition at line 61 of file RPCSimAverageNoiseEff.h.
Referenced by getClSize().
|
private |
Definition at line 47 of file RPCSimAverageNoiseEff.h.
Referenced by RPCSimAverageNoiseEff().