#include <RPCSimModelTiming.h>
Public Member Functions | |
int | getClSize (uint32_t id, float posX, CLHEP::HepRandomEngine *) |
int | LeftRightNeighbour (const RPCRoll &roll, const LocalPoint &hit_pos, int strip) |
RPCSimModelTiming (const edm::ParameterSet &config) | |
void | simulate (const RPCRoll *roll, const edm::PSimHitContainer &rpcHits, CLHEP::HepRandomEngine *) override |
void | simulateNoise (const RPCRoll *, CLHEP::HepRandomEngine *) override |
~RPCSimModelTiming () 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 |
bool | do_Y |
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 | sigmaY |
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 31 of file RPCSimModelTiming.h.
RPCSimModelTiming::RPCSimModelTiming | ( | const edm::ParameterSet & | config | ) |
|
override |
int RPCSimModelTiming::getClSize | ( | uint32_t | id, |
float | posX, | ||
CLHEP::HepRandomEngine * | engine | ||
) |
Definition at line 214 of file RPCSimModelTiming.cc.
References clsForDetId, TrackCollections2monitor_cff::func, RPCSimSetUp::getCls(), RPCSim::getRPCSimSetUp(), mps_fire::i, min(), RecoTauValidation_cfi::posX, and sum_clsize.
Referenced by simulate().
|
inlineoverrideprotectedvirtual |
int RPCSimModelTiming::LeftRightNeighbour | ( | const RPCRoll & | roll, |
const LocalPoint & | hit_pos, | ||
int | strip | ||
) |
Definition at line 260 of file RPCSimModelTiming.cc.
References RPCRoll::centreOfStrip(), RPCRoll::nstrips(), digitizers_cfi::strip, x, and PV3DBase< T, PVType, FrameType >::x().
Referenced by simulate().
|
overridevirtual |
Implements RPCSim.
Definition at line 76 of file RPCSimModelTiming.cc.
References _rpcSync, Topology::channel(), GetRecoTauVFromDQM_MC_cff::cl, edm::DetSet< T >::clear(), do_Y, eledig, getClSize(), RPCSim::getRPCSimSetUp(), RPCSynchronizer::getSimHitBxAndTimingForIRPC(), RPCSynchronizer::getSmearedTime(), RPCDigi::hasTime(), RPCDigi::hasY(), mps_fire::i, RPCRoll::id(), RPCSim::irpc_digis, LeftRightNeighbour(), RPCRoll::nstrips(), RecoTauValidation_cfi::posX, DetId::rawId(), RPCDigi::setDeltaY(), RPCSynchronizer::setRPCSimSetUp(), RPCDigi::setTime(), RPCDigi::setY(), sigmaY, RPCRoll::specs(), RPCRoll::strip(), RPCSim::theDetectorHitMap, RPCSim::theRpcDigiSimLinks, and RPCRollSpecs::topology().
|
overridevirtual |
Implements RPCSim.
Definition at line 166 of file RPCSimModelTiming.cc.
References custom_jme_cff::area, do_Y, dqmMemoryStats::float, frate, gate, RPCSim::getRPCSimSetUp(), RPCDigi::hasTime(), RPCDigi::hasY(), mps_fire::i, RPCRoll::id(), RPCSim::irpc_digis, dqmiolumiharvest::j, RectangularStripTopology::localPosition(), TrapezoidalStripTopology::localPosition(), N_hits, nbxing, RPCRoll::nstrips(), DetId::rawId(), RPCDetId::region(), RPCDigi::setDeltaY(), RPCDigi::setTime(), RPCDigi::setY(), sigmaY, RectangularStripTopology::stripLength(), TrapezoidalStripTopology::stripLength(), RPCRoll::topology(), x, TrackerOfflineValidation_Dqm_cff::xmax, and TrackerOfflineValidation_Dqm_cff::xmin.
|
protected |
Definition at line 67 of file RPCSimModelTiming.h.
Referenced by RPCSimModelTiming(), simulate(), and ~RPCSimModelTiming().
|
protected |
Definition at line 44 of file RPCSimModelTiming.h.
Referenced by RPCSimModelTiming().
|
protected |
Definition at line 41 of file RPCSimModelTiming.h.
Referenced by RPCSimModelTiming().
|
protected |
Definition at line 64 of file RPCSimModelTiming.h.
Referenced by getClSize().
|
protected |
Definition at line 62 of file RPCSimModelTiming.h.
|
protected |
Definition at line 59 of file RPCSimModelTiming.h.
Referenced by RPCSimModelTiming(), simulate(), and simulateNoise().
|
protected |
Definition at line 47 of file RPCSimModelTiming.h.
Referenced by RPCSimModelTiming().
|
protected |
Definition at line 52 of file RPCSimModelTiming.h.
Referenced by RPCSimModelTiming(), and simulate().
|
protected |
Definition at line 58 of file RPCSimModelTiming.h.
Referenced by RPCSimModelTiming(), and simulateNoise().
|
protected |
Definition at line 57 of file RPCSimModelTiming.h.
Referenced by RPCSimModelTiming(), and simulateNoise().
|
protected |
Definition at line 65 of file RPCSimModelTiming.h.
|
protected |
Definition at line 50 of file RPCSimModelTiming.h.
Referenced by RPCSimModelTiming().
|
protected |
Definition at line 54 of file RPCSimModelTiming.h.
Referenced by simulateNoise().
|
protected |
Definition at line 55 of file RPCSimModelTiming.h.
Referenced by RPCSimModelTiming(), and simulateNoise().
|
protected |
Definition at line 56 of file RPCSimModelTiming.h.
Referenced by RPCSimModelTiming().
|
protected |
Definition at line 48 of file RPCSimModelTiming.h.
Referenced by RPCSimModelTiming().
|
protected |
Definition at line 45 of file RPCSimModelTiming.h.
Referenced by RPCSimModelTiming().
|
protected |
Definition at line 51 of file RPCSimModelTiming.h.
Referenced by RPCSimModelTiming().
|
protected |
Definition at line 60 of file RPCSimModelTiming.h.
Referenced by RPCSimModelTiming(), simulate(), and simulateNoise().
|
protected |
Definition at line 49 of file RPCSimModelTiming.h.
Referenced by RPCSimModelTiming().
|
protected |
Definition at line 63 of file RPCSimModelTiming.h.
Referenced by getClSize().
|
protected |
Definition at line 46 of file RPCSimModelTiming.h.
Referenced by RPCSimModelTiming().