#include <RPCSimAsymmetricCls.h>
Public Member Functions | |
int | getClSize (float posX, CLHEP::HepRandomEngine *) |
int | getClSize (uint32_t id, float posX, CLHEP::HepRandomEngine *) |
RPCSimAsymmetricCls (const edm::ParameterSet &config) | |
void | simulate (const RPCRoll *roll, const edm::PSimHitContainer &rpcHits, CLHEP::HepRandomEngine *) override |
void | simulateNoise (const RPCRoll *, CLHEP::HepRandomEngine *) override |
unsigned int | slice (float posX) |
~RPCSimAsymmetricCls () 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::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 |
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 30 of file RPCSimAsymmetricCls.h.
RPCSimAsymmetricCls::RPCSimAsymmetricCls | ( | const edm::ParameterSet & | config | ) |
|
override |
int RPCSimAsymmetricCls::getClSize | ( | float | posX, |
CLHEP::HepRandomEngine * | engine | ||
) |
Definition at line 93 of file RPCSimAsymmetricCls.cc.
References clsMap, TrackCollections2monitor_cff::func, RPCSimSetUp::getClsMap(), RPCSim::getRPCSimSetUp(), LogDebug, min(), RecoTauValidation_cfi::posX, and sum_clsize.
Referenced by simulate().
int RPCSimAsymmetricCls::getClSize | ( | uint32_t | id, |
float | posX, | ||
CLHEP::HepRandomEngine * | engine | ||
) |
Definition at line 74 of file RPCSimAsymmetricCls.cc.
References clsForDetId, RPCSimSetUp::getAsymmetricClsDistribution(), RPCSim::getRPCSimSetUp(), mps_fire::i, LogDebug, min(), RecoTauValidation_cfi::posX, and slice().
|
inlineoverrideprivatevirtual |
|
overridevirtual |
Implements RPCSim.
Definition at line 136 of file RPCSimAsymmetricCls.cc.
References _rpcSync, RPCRoll::centreOfStrip(), GetRecoTauVFromDQM_MC_cff::cl, edm::DetSet< T >::clear(), eledig, RPCSimSetUp::getAsymmetryForCls(), getClSize(), RPCSim::getRPCSimSetUp(), RPCSynchronizer::getSimHitBx(), mps_fire::i, RPCRoll::id(), LogDebug, RPCGeomServ::name(), RPCRoll::nstrips(), hltrates_dqm_sourceclient-live_cfg::offset, RecoTauValidation_cfi::posX, DetId::rawId(), RPCSynchronizer::setRPCSimSetUp(), slice(), RPCRoll::specs(), AlCaHLTBitMon_QueryRunRegistry::string, RPCRoll::strip(), RPCSim::strips, RPCSim::theDetectorHitMap, RPCSim::theRpcDigiSimLinks, RPCRollSpecs::topology(), ecaldqm::topology(), and PV3DBase< T, PVType, FrameType >::x().
|
overridevirtual |
Implements RPCSim.
Definition at line 314 of file RPCSimAsymmetricCls.cc.
References custom_jme_cff::area, dqmMemoryStats::float, frate, gate, RPCSim::getRPCSimSetUp(), mps_fire::i, RPCRoll::id(), dqmiolumiharvest::j, RectangularStripTopology::localPosition(), TrapezoidalStripTopology::localPosition(), LogDebug, N_hits, RPCGeomServ::name(), nbxing, RPCRoll::nstrips(), DetId::rawId(), RPCDetId::region(), AlCaHLTBitMon_QueryRunRegistry::string, RectangularStripTopology::stripLength(), TrapezoidalStripTopology::stripLength(), RPCSim::strips, RPCRoll::topology(), x, TrackerOfflineValidation_Dqm_cff::xmax, and TrackerOfflineValidation_Dqm_cff::xmin.
unsigned int RPCSimAsymmetricCls::slice | ( | float | posX | ) |
Definition at line 391 of file RPCSimAsymmetricCls.cc.
References RecoTauValidation_cfi::posX.
Referenced by getClSize(), and simulate().
|
private |
Definition at line 69 of file RPCSimAsymmetricCls.h.
Referenced by RPCSimAsymmetricCls(), simulate(), and ~RPCSimAsymmetricCls().
|
private |
Definition at line 48 of file RPCSimAsymmetricCls.h.
Referenced by RPCSimAsymmetricCls().
|
private |
Definition at line 44 of file RPCSimAsymmetricCls.h.
Referenced by RPCSimAsymmetricCls().
|
private |
Definition at line 66 of file RPCSimAsymmetricCls.h.
Referenced by getClSize().
|
private |
Definition at line 64 of file RPCSimAsymmetricCls.h.
Referenced by getClSize().
|
private |
Definition at line 51 of file RPCSimAsymmetricCls.h.
Referenced by RPCSimAsymmetricCls().
|
private |
Definition at line 56 of file RPCSimAsymmetricCls.h.
Referenced by RPCSimAsymmetricCls(), and simulate().
|
private |
Definition at line 62 of file RPCSimAsymmetricCls.h.
Referenced by RPCSimAsymmetricCls(), and simulateNoise().
|
private |
Definition at line 61 of file RPCSimAsymmetricCls.h.
Referenced by RPCSimAsymmetricCls(), and simulateNoise().
|
private |
Definition at line 67 of file RPCSimAsymmetricCls.h.
|
private |
Definition at line 54 of file RPCSimAsymmetricCls.h.
Referenced by RPCSimAsymmetricCls().
|
private |
Definition at line 58 of file RPCSimAsymmetricCls.h.
Referenced by simulateNoise().
|
private |
Definition at line 59 of file RPCSimAsymmetricCls.h.
Referenced by RPCSimAsymmetricCls(), and simulateNoise().
|
private |
Definition at line 60 of file RPCSimAsymmetricCls.h.
Referenced by RPCSimAsymmetricCls().
|
private |
Definition at line 52 of file RPCSimAsymmetricCls.h.
Referenced by RPCSimAsymmetricCls().
|
private |
Definition at line 49 of file RPCSimAsymmetricCls.h.
Referenced by RPCSimAsymmetricCls().
|
private |
Definition at line 55 of file RPCSimAsymmetricCls.h.
Referenced by RPCSimAsymmetricCls().
|
private |
Definition at line 53 of file RPCSimAsymmetricCls.h.
Referenced by RPCSimAsymmetricCls().
|
private |
Definition at line 65 of file RPCSimAsymmetricCls.h.
Referenced by getClSize().
|
private |
Definition at line 50 of file RPCSimAsymmetricCls.h.
Referenced by RPCSimAsymmetricCls().