#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 27 of file RPCSimSetUp.h.
|
explicit |
Definition at line 34 of file RPCSimSetUp.cc.
|
virtual |
Definition at line 609 of file RPCSimSetUp.cc.
const std::vector< double > & RPCSimSetUp::getAsymmetricClsDistribution | ( | uint32_t | id, |
uint32_t | slice | ||
) |
Definition at line 481 of file RPCSimSetUp.cc.
References Exception, mps_fire::i, dqmiolumiharvest::j, LogDebug, and mergeAndRegister::slice.
Referenced by RPCSimAsymmetricCls::getClSize().
const std::vector< double > & RPCSimSetUp::getAsymmetryForCls | ( | uint32_t | id, |
uint32_t | slice, | ||
uint32_t | cls | ||
) |
Definition at line 533 of file RPCSimSetUp.cc.
References Exception, mps_fire::i, dqmiolumiharvest::j, LogDebug, mergeAndRegister::slice, and relativeConstraints::value.
Referenced by RPCSimAsymmetricCls::simulate().
const std::vector< double > & RPCSimSetUp::getCls | ( | uint32_t | id | ) |
Definition at line 462 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 454 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 421 of file RPCSimSetUp.cc.
References Exception, LogDebug, and nano_mu_digi_cff::roll.
|
inline |
Definition at line 48 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 411 of file RPCSimSetUp.cc.
References Exception, and LogDebug.
float RPCSimSetUp::getTime | ( | uint32_t | id | ) |
Definition at line 444 of file RPCSimSetUp.cc.
References Exception, and DetId::rawId().
Referenced by RPCSynchronizer::getSimHitBx(), and RPCSynchronizer::getSimHitBxAndTimingForIRPC().
|
inline |
sets geometry
Definition at line 46 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 41 of file RPCSimSetUp.cc.
References ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, dqmiodumpmetadata::n, 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 94 of file RPCSimSetUp.cc.
References hcalRecHitTable_cff::detId, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, LogDebug, RPCRoll::nstrips(), nano_mu_digi_cff::rawId, nano_mu_digi_cff::roll, and AlCaHLTBitMon_QueryRunRegistry::string.
std::map<RPCDetId, float> RPCSimSetUp::_bxmap |
Definition at line 54 of file RPCSimSetUp.h.
std::map<int, std::vector<double> > RPCSimSetUp::_clsMap |
Definition at line 55 of file RPCSimSetUp.h.
std::vector<double> RPCSimSetUp::_DetAsymmetryForCls |
Definition at line 59 of file RPCSimSetUp.h.
std::vector<double> RPCSimSetUp::_DetClsAsymmetric |
Definition at line 58 of file RPCSimSetUp.h.
std::map<uint32_t, std::vector<double> > RPCSimSetUp::_mapDetClsMap |
Definition at line 56 of file RPCSimSetUp.h.
std::map<uint32_t, std::vector<double> > RPCSimSetUp::_mapDetClsMapLegacy |
Definition at line 57 of file RPCSimSetUp.h.
std::map<uint32_t, std::vector<float> > RPCSimSetUp::_mapDetIdEff |
Definition at line 53 of file RPCSimSetUp.h.
std::map<uint32_t, std::vector<float> > RPCSimSetUp::_mapDetIdNoise |
Definition at line 52 of file RPCSimSetUp.h.
const RPCGeometry* RPCSimSetUp::theGeometry |
Definition at line 50 of file RPCSimSetUp.h.
Referenced by getGeometry(), and setGeometry().