#include <RPCSimSetUp.h>
Public Member Functions | |
const std::vector< double > & | getAsymmetricClsDistribution (uint32_t id, uint32_t slice) |
const std::vector< double > & | getAsymmetryForCls (uint32_t id, uint32_t slice, uint32_t cls) |
const std::vector< double > & | getCls (uint32_t id) |
const std::map< int, std::vector< double > > & | getClsMap () |
const std::vector< float > & | getEff (uint32_t id) |
const RPCGeometry * | getGeometry () |
const std::vector< float > & | getNoise (uint32_t id) |
float | getTime (uint32_t id) |
RPCSimSetUp (const edm::ParameterSet &ps) | |
void | setGeometry (const RPCGeometry *geom) |
sets geometry More... | |
void | setRPCSetUp (const std::vector< RPCStripNoises::NoiseItem > &vnoise, const std::vector< float > &vcls) |
void | setRPCSetUp (const std::vector< RPCStripNoises::NoiseItem > &vnoise, const std::vector< RPCClusterSize::ClusterSizeItem > &vClusterSize) |
virtual | ~RPCSimSetUp () |
Public Attributes | |
std::map< RPCDetId, float > | _bxmap |
std::map< int, std::vector < double > > | _clsMap |
std::vector< double > | _DetAsymmetryForCls |
std::vector< double > | _DetClsAsymmetric |
std::map< uint32_t, std::vector< double > > | _mapDetClsMap |
std::map< uint32_t, std::vector< double > > | _mapDetClsMapLegacy |
std::map< uint32_t, std::vector< float > > | _mapDetIdEff |
std::map< uint32_t, std::vector< float > > | _mapDetIdNoise |
const RPCGeometry * | theGeometry |
Definition at line 28 of file RPCSimSetUp.h.
|
explicit |
Definition at line 35 of file RPCSimSetUp.cc.
|
virtual |
Definition at line 617 of file RPCSimSetUp.cc.
const std::vector< double > & RPCSimSetUp::getAsymmetricClsDistribution | ( | uint32_t | id, |
uint32_t | slice | ||
) |
Definition at line 477 of file RPCSimSetUp.cc.
References counter, Exception, mps_fire::i, dqmiolumiharvest::j, and LogDebug.
Referenced by RPCSimAsymmetricCls::getClSize().
const std::vector< double > & RPCSimSetUp::getAsymmetryForCls | ( | uint32_t | id, |
uint32_t | slice, | ||
uint32_t | cls | ||
) |
Definition at line 541 of file RPCSimSetUp.cc.
References Exception, mps_fire::i, dqmiolumiharvest::j, LogDebug, findQualityFiles::size, and relativeConstraints::value.
Referenced by RPCSimAsymmetricCls::simulate().
const std::vector< double > & RPCSimSetUp::getCls | ( | uint32_t | id | ) |
Definition at line 458 of file RPCSimSetUp.cc.
References Exception, and LogDebug.
Referenced by RPCSimModelTiming::getClSize(), and RPCSimAverageNoiseEffCls::getClSize().
const std::map< int, std::vector< double > > & RPCSimSetUp::getClsMap | ( | ) |
Definition at line 450 of file RPCSimSetUp.cc.
References Exception.
Referenced by RPCSimAverage::getClSize(), RPCSimAverageNoise::getClSize(), RPCSimAverageNoiseEff::getClSize(), RPCSimAverageNoiseEffCls::getClSize(), and RPCSimAsymmetricCls::getClSize().
const std::vector< float > & RPCSimSetUp::getEff | ( | uint32_t | id | ) |
Definition at line 417 of file RPCSimSetUp.cc.
References Exception, LogDebug, RPCRoll::nstrips(), RPCDetId, and findQualityFiles::size.
|
inline |
Definition at line 49 of file RPCSimSetUp.h.
References theGeometry.
Referenced by RPCSynchronizer::getSimHitBx(), and RPCSynchronizer::getSimHitBxAndTimingForIRPC().
const std::vector< float > & RPCSimSetUp::getNoise | ( | uint32_t | id | ) |
Definition at line 407 of file RPCSimSetUp.cc.
References Exception, and LogDebug.
float RPCSimSetUp::getTime | ( | uint32_t | id | ) |
Definition at line 440 of file RPCSimSetUp.cc.
References Exception, and DetId::rawId().
Referenced by RPCSynchronizer::getSimHitBx(), and RPCSynchronizer::getSimHitBxAndTimingForIRPC().
|
inline |
sets geometry
Definition at line 47 of file RPCSimSetUp.h.
References relativeConstraints::geom, and theGeometry.
Referenced by RPCDigiProducer::beginRun(), and RPCandIRPCDigiProducer::beginRun().
void RPCSimSetUp::setRPCSetUp | ( | const std::vector< RPCStripNoises::NoiseItem > & | vnoise, |
const std::vector< float > & | vcls | ||
) |
Definition at line 42 of file RPCSimSetUp.cc.
References counter, dqmiodumpmetadata::n, RPCDetId, and groupFilesInBlocks::temp.
Referenced by RPCDigiProducer::beginRun(), and RPCandIRPCDigiProducer::beginRun().
void RPCSimSetUp::setRPCSetUp | ( | const std::vector< RPCStripNoises::NoiseItem > & | vnoise, |
const std::vector< RPCClusterSize::ClusterSizeItem > & | vClusterSize | ||
) |
Definition at line 95 of file RPCSimSetUp.cc.
References LogDebug, RPCRoll::nstrips(), RPCDetId, and AlCaHLTBitMon_QueryRunRegistry::string.
std::map<RPCDetId, float> RPCSimSetUp::_bxmap |
Definition at line 55 of file RPCSimSetUp.h.
std::map<int, std::vector<double> > RPCSimSetUp::_clsMap |
Definition at line 56 of file RPCSimSetUp.h.
std::vector<double> RPCSimSetUp::_DetAsymmetryForCls |
Definition at line 60 of file RPCSimSetUp.h.
std::vector<double> RPCSimSetUp::_DetClsAsymmetric |
Definition at line 59 of file RPCSimSetUp.h.
std::map<uint32_t, std::vector<double> > RPCSimSetUp::_mapDetClsMap |
Definition at line 57 of file RPCSimSetUp.h.
std::map<uint32_t, std::vector<double> > RPCSimSetUp::_mapDetClsMapLegacy |
Definition at line 58 of file RPCSimSetUp.h.
std::map<uint32_t, std::vector<float> > RPCSimSetUp::_mapDetIdEff |
Definition at line 54 of file RPCSimSetUp.h.
std::map<uint32_t, std::vector<float> > RPCSimSetUp::_mapDetIdNoise |
Definition at line 53 of file RPCSimSetUp.h.
const RPCGeometry* RPCSimSetUp::theGeometry |
Definition at line 51 of file RPCSimSetUp.h.
Referenced by getGeometry(), and setGeometry().