#include <RPCSimAverage.h>
Public Member Functions | |
int | getClSize (float posX, CLHEP::HepRandomEngine *) |
RPCSimAverage (const edm::ParameterSet &config) | |
void | simulate (const RPCRoll *roll, const edm::PSimHitContainer &rpcHits, CLHEP::HepRandomEngine *) override |
void | simulateNoise (const RPCRoll *, CLHEP::HepRandomEngine *) override |
~RPCSimAverage () | |
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::map< int, std::vector < double > > | clsMap |
double | dtimCs |
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< std::pair< int, int > > | strips |
DetectorHitMap | theDetectorHitMap |
DigiSimLinks | theDigiSimLinks |
RPCDigiSimLinks | theRpcDigiSimLinks |
RPCSimSetUp * | theSimSetUp |
Class for the RPC strip response simulation based on a parametrized model (ORCA-based)
Class for the RPC strip response simulation based on a parametrized model (ORCA-based)
Definition at line 28 of file RPCSimAverage.h.
RPCSimAverage::RPCSimAverage | ( | const edm::ParameterSet & | config | ) |
Definition at line 39 of file RPCSimAverage.cc.
References _rpcSync, aveCls, aveEff, gather_cfg::cout, dtimCs, gate, edm::ParameterSet::getParameter(), lbGate, nbxing, rate, resEle, resRPC, rpcdigiprint, sspeed, and timOff.
RPCSimAverage::~RPCSimAverage | ( | ) |
int RPCSimAverage::getClSize | ( | float | posX, |
CLHEP::HepRandomEngine * | engine | ||
) |
Definition at line 74 of file RPCSimAverage.cc.
References clsMap, RPCSimSetUp::getClsMap(), RPCSim::getRPCSimSetUp(), getDQMSummary::iter, bookConverter::min, and sum_clsize.
Referenced by simulate().
|
inlineprivatevirtual |
|
overridevirtual |
Implements RPCSim.
Definition at line 121 of file RPCSimAverage.cc.
References _rpcSync, aveEff, RPCRoll::centreOfStrip(), GetRecoTauVFromDQM_MC_cff::cl, edm::DetSet< T >::clear(), rpc-layouts::clsize, alignCSCRings::e, 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(), ecaldqm::topology(), w(), and PV3DBase< T, PVType, FrameType >::x().
|
overridevirtual |
Implements RPCSim.
Definition at line 196 of file RPCSimAverage.cc.
References compareJSON::const, gate, i, RPCRoll::id(), N_hits, nbxing, RPCRoll::nstrips(), rate, RPCDetId::region(), RPCSim::strips, RPCRoll::topology(), x, SiStripMonitorClusterAlca_cfi::xmax, and SiStripMonitorClusterAlca_cfi::xmin.
|
private |
Definition at line 65 of file RPCSimAverage.h.
Referenced by RPCSimAverage(), simulate(), and ~RPCSimAverage().
|
private |
Definition at line 47 of file RPCSimAverage.h.
Referenced by RPCSimAverage().
|
private |
Definition at line 44 of file RPCSimAverage.h.
Referenced by RPCSimAverage(), and simulate().
|
private |
Definition at line 61 of file RPCSimAverage.h.
Referenced by getClSize().
|
private |
Definition at line 50 of file RPCSimAverage.h.
Referenced by RPCSimAverage().
|
private |
Definition at line 59 of file RPCSimAverage.h.
Referenced by RPCSimAverage(), and simulateNoise().
|
private |
Definition at line 63 of file RPCSimAverage.h.
|
private |
Definition at line 53 of file RPCSimAverage.h.
Referenced by RPCSimAverage().
|
private |
Definition at line 56 of file RPCSimAverage.h.
Referenced by simulateNoise().
|
private |
Definition at line 57 of file RPCSimAverage.h.
Referenced by RPCSimAverage(), and simulateNoise().
|
private |
Definition at line 58 of file RPCSimAverage.h.
Referenced by RPCSimAverage(), and simulateNoise().
|
private |
Definition at line 51 of file RPCSimAverage.h.
Referenced by RPCSimAverage().
|
private |
Definition at line 48 of file RPCSimAverage.h.
Referenced by RPCSimAverage().
|
private |
Definition at line 54 of file RPCSimAverage.h.
Referenced by RPCSimAverage().
|
private |
Definition at line 52 of file RPCSimAverage.h.
Referenced by RPCSimAverage().
|
private |
Definition at line 62 of file RPCSimAverage.h.
Referenced by getClSize().
|
private |
Definition at line 49 of file RPCSimAverage.h.
Referenced by RPCSimAverage().