#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 37 of file RPCSimSetUp.cc.
|
virtual |
Definition at line 559 of file RPCSimSetUp.cc.
const std::vector< double > & RPCSimSetUp::getAsymmetricClsDistribution | ( | uint32_t | id, |
uint32_t | slice | ||
) |
Definition at line 426 of file RPCSimSetUp.cc.
References counter, Exception, i, 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 492 of file RPCSimSetUp.cc.
References Exception, i, j, LogDebug, findQualityFiles::size, and relativeConstraints::value.
Referenced by RPCSimAsymmetricCls::simulate().
const std::vector< double > & RPCSimSetUp::getCls | ( | uint32_t | id | ) |
Definition at line 408 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 397 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 364 of file RPCSimSetUp.cc.
References Exception, LogDebug, RPCRoll::nstrips(), RPCDetId, and findQualityFiles::size.
|
inline |
Definition at line 50 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 353 of file RPCSimSetUp.cc.
References Exception, and LogDebug.
float RPCSimSetUp::getTime | ( | uint32_t | id | ) |
Definition at line 386 of file RPCSimSetUp.cc.
References Exception, and DetId::rawId().
Referenced by RPCSynchronizer::getSimHitBx(), and RPCSynchronizer::getSimHitBxAndTimingForIRPC().
|
inline |
sets geometry
Definition at line 48 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 45 of file RPCSimSetUp.cc.
References counter, gen::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 102 of file RPCSimSetUp.cc.
References LogDebug, RPCRoll::nstrips(), RPCDetId, and AlCaHLTBitMon_QueryRunRegistry::string.
std::map<RPCDetId, float> RPCSimSetUp::_bxmap |
Definition at line 56 of file RPCSimSetUp.h.
std::map< int, std::vector<double> > RPCSimSetUp::_clsMap |
Definition at line 57 of file RPCSimSetUp.h.
std::vector<double> RPCSimSetUp::_DetAsymmetryForCls |
Definition at line 61 of file RPCSimSetUp.h.
std::vector<double> RPCSimSetUp::_DetClsAsymmetric |
Definition at line 60 of file RPCSimSetUp.h.
std::map<uint32_t, std::vector<double> > RPCSimSetUp::_mapDetClsMap |
Definition at line 58 of file RPCSimSetUp.h.
std::map<uint32_t, std::vector<double> > RPCSimSetUp::_mapDetClsMapLegacy |
Definition at line 59 of file RPCSimSetUp.h.
std::map<uint32_t, std::vector<float> > RPCSimSetUp::_mapDetIdEff |
Definition at line 55 of file RPCSimSetUp.h.
std::map<uint32_t, std::vector<float> > RPCSimSetUp::_mapDetIdNoise |
Definition at line 54 of file RPCSimSetUp.h.
const RPCGeometry* RPCSimSetUp::theGeometry |
Definition at line 52 of file RPCSimSetUp.h.
Referenced by getGeometry(), and setGeometry().