Private Member Functions | |
std::vector< int > | getRange (int subdet, int smNb, int towerNbInSm, int stripNbInTower=0, int xtalNbInStrip=0) |
This method is not used at all, however is a reminder that something alike will probably be needed once the mapping EB to BCPs will be in place. More... | |
void | parseTextFile () |
void | parseWeightsFile () |
Private Attributes | |
const edm::FileInPath | configFilename_ |
std::string | dbFilename_ |
bool | flagPrint_ |
std::map< uint32_t, std::vector< float > > | mapPhys_ |
std::map< uint32_t, std::vector< uint32_t > > | mapStrip_ [2] |
std::map< uint32_t, std::vector< uint32_t > > | mapTimeWeight_ |
std::map< uint32_t, std::vector< uint32_t > > | mapTower_ [2] |
std::map< uint32_t, std::vector< uint32_t > > | mapWeight_ |
std::map< uint32_t, std::vector< uint32_t > > | mapXtal_ |
std::map< int, std::vector< unsigned int > > | mapXtalToGroup_ |
std::map< int, std::vector< unsigned int > > | mapXtalToLin_ |
Static Private Attributes | |
static const int | maxSamplesUsed_ = 12 |
static const int | nLinConst_ = 8 |
Additional Inherited Members | |
Static Public Member Functions inherited from edm::eventsetup::ESProductResolverProvider | |
static void | prevalidate (ConfigurationDescriptions &) |
Protected Types inherited from edm::ESProductResolverFactoryProducer | |
using | EventSetupRecordKey = eventsetup::EventSetupRecordKey |
Protected Types inherited from edm::eventsetup::ESProductResolverProvider | |
using | KeyedResolversVector = std::vector< std::pair< DataKey, std::shared_ptr< ESProductResolver > >> |
Protected Member Functions inherited from edm::ESProducer | |
ESConsumesInfo * | consumesInfoPushBackNew () |
unsigned int | consumesInfoSize () const |
template<typename CallbackT , typename TList , typename TRecord > | |
void | registerProducts (std::shared_ptr< std::pair< unsigned int, std::shared_ptr< CallbackT >>> iCallback, const TList *, const TRecord *iRecord, const es::Label &iLabel) |
template<typename CallbackT , typename TRecord > | |
void | registerProducts (std::shared_ptr< std::pair< unsigned int, std::shared_ptr< CallbackT >>>, const eventsetup::produce::Null *, const TRecord *, const es::Label &) |
template<typename T > | |
auto | setWhatProduced (T *iThis, const es::Label &iLabel={}) |
template<typename T > | |
auto | setWhatProduced (T *iThis, const char *iLabel) |
template<typename T > | |
auto | setWhatProduced (T *iThis, const std::string &iLabel) |
template<typename T , typename TDecorator > | |
auto | setWhatProduced (T *iThis, const TDecorator &iDec, const es::Label &iLabel={}) |
template<typename T , typename TReturn , typename TRecord > | |
auto | setWhatProduced (T *iThis, TReturn(T::*iMethod)(const TRecord &), const es::Label &iLabel={}) |
template<typename T , typename TReturn , typename TRecord , typename TDecorator > | |
auto | setWhatProduced (T *iThis, TReturn(T ::*iMethod)(const TRecord &), const TDecorator &iDec, const es::Label &iLabel={}) |
template<typename TFunc > | |
auto | setWhatProduced (TFunc &&func, const es::Label &iLabel={}) |
template<typename TReturn , typename TRecord , typename TFunc , typename TDecorator > | |
ESConsumesCollectorT< TRecord > | setWhatProduced (TFunc &&func, TDecorator &&iDec, const es::Label &iLabel={}) |
void | usesResources (std::vector< std::string > const &) |
Protected Member Functions inherited from edm::ESProductResolverFactoryProducer | |
template<class TFactory > | |
void | registerFactory (std::unique_ptr< TFactory > iFactory, const std::string &iLabel=std::string()) |
virtual void | registerFactoryWithKey (const EventSetupRecordKey &iRecord, std::unique_ptr< eventsetup::ESProductResolverFactoryBase > iFactory, const std::string &iLabel=std::string()) |
KeyedResolversVector | registerResolvers (const EventSetupRecordKey &, unsigned int iovIndex) override |
Protected Member Functions inherited from edm::eventsetup::ESProductResolverProvider | |
template<class T > | |
void | usingRecord () |
void | usingRecordWithKey (const EventSetupRecordKey &key) |
Definition at line 47 of file EcalEBTrigPrimPhase2ESProducer.cc.
EcalEBTrigPrimPhase2ESProducer::EcalEBTrigPrimPhase2ESProducer | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 134 of file EcalEBTrigPrimPhase2ESProducer.cc.
References parseWeightsFile(), produceAmpWeight(), produceBadX(), produceLinearizationConst(), producePedestals(), produceTimeWeight(), produceWeightGroup(), and edm::ESProducer::setWhatProduced().
|
override |
Definition at line 155 of file EcalEBTrigPrimPhase2ESProducer.cc.
|
private |
This method is not used at all, however is a reminder that something alike will probably be needed once the mapping EB to BCPs will be in place.
Definition at line 687 of file EcalEBTrigPrimPhase2ESProducer.cc.
References FastTimerService_cff::range.
|
private |
Definition at line 462 of file EcalEBTrigPrimPhase2ESProducer.cc.
References gather_cfg::cout, data, dbFilename_, TauDecayModes::dec, corrVsCorr::filename, flagPrint_, edm::FileInPath::fullPath(), mps_fire::i, l1ctLayer2EG_cff::id, timingPdfMaker::infile, dqmdumpme::k, mps_splice::line, mapStrip_, mapTower_, mapXtal_, pickleFileParser::slash, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by produceBadX(), and producePhysicsConst().
|
private |
debug
debug
Definition at line 302 of file EcalEBTrigPrimPhase2ESProducer.cc.
References configFilename_, gather_cfg::cout, data, TauDecayModes::dec, corrVsCorr::filename, flagPrint_, edm::FileInPath::fullPath(), mps_fire::i, l1ctLayer2EG_cff::id, mapTimeWeight_, mapWeight_, mapXtalToGroup_, mapXtalToLin_, maxSamplesUsed_, nLinConst_, pickleFileParser::slash, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by EcalEBTrigPrimPhase2ESProducer().
std::unique_ptr< EcalEBPhase2TPGAmplWeightIdMap > EcalEBTrigPrimPhase2ESProducer::produceAmpWeight | ( | const EcalEBPhase2TPGAmplWeightIdMapRcd & | iRecord | ) |
Definition at line 200 of file EcalEBTrigPrimPhase2ESProducer.cc.
References ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, mapWeight_, dumpMFGeometry_cfg::prod, and hltDeepSecondaryVertexTagInfosPFPuppi_cfi::weights.
Referenced by EcalEBTrigPrimPhase2ESProducer().
std::unique_ptr< EcalTPGCrystalStatus > EcalEBTrigPrimPhase2ESProducer::produceBadX | ( | const EcalTPGCrystalStatusRcd & | iRecord | ) |
Definition at line 288 of file EcalEBTrigPrimPhase2ESProducer.cc.
References ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, mapXtal_, parseTextFile(), dumpMFGeometry_cfg::prod, and EcalTPGCrystalStatusCode::setStatusCode().
Referenced by EcalEBTrigPrimPhase2ESProducer().
std::unique_ptr< EcalEBPhase2TPGLinearizationConst > EcalEBTrigPrimPhase2ESProducer::produceLinearizationConst | ( | const EcalEBPhase2TPGLinearizationConstRcd & | iRecord | ) |
Definition at line 180 of file EcalEBTrigPrimPhase2ESProducer.cc.
References EcalEBPhase2TPGLinearizationConstant::i2cSub_x1, EcalEBPhase2TPGLinearizationConstant::i2cSub_x10, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, mapXtalToLin_, EcalEBPhase2TPGLinearizationConstant::mult_x1, EcalEBPhase2TPGLinearizationConstant::mult_x10, dumpMFGeometry_cfg::prod, EcalEBPhase2TPGLinearizationConstant::shift_x1, and EcalEBPhase2TPGLinearizationConstant::shift_x10.
Referenced by EcalEBTrigPrimPhase2ESProducer().
std::unique_ptr< EcalEBPhase2TPGPedestalsMap > EcalEBTrigPrimPhase2ESProducer::producePedestals | ( | const EcalEBPhase2TPGPedestalsRcd & | iRecord | ) |
Definition at line 163 of file EcalEBTrigPrimPhase2ESProducer.cc.
References ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, mapXtalToLin_, QIE10Task_cfi::ped, and dumpMFGeometry_cfg::prod.
Referenced by EcalEBTrigPrimPhase2ESProducer().
std::unique_ptr< EcalTPGPhysicsConst > EcalEBTrigPrimPhase2ESProducer::producePhysicsConst | ( | const EcalTPGPhysicsConstRcd & | iRecord | ) |
Definition at line 266 of file EcalEBTrigPrimPhase2ESProducer.cc.
References ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, B2GTnPMonitor_cfi::item, mapPhys_, parseTextFile(), and dumpMFGeometry_cfg::prod.
std::unique_ptr< EcalEBPhase2TPGTimeWeightIdMap > EcalEBTrigPrimPhase2ESProducer::produceTimeWeight | ( | const EcalEBPhase2TPGTimeWeightIdMapRcd & | iRecord | ) |
Definition at line 225 of file EcalEBTrigPrimPhase2ESProducer.cc.
References ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, mapTimeWeight_, and dumpMFGeometry_cfg::prod.
Referenced by EcalEBTrigPrimPhase2ESProducer().
std::unique_ptr< EcalTPGWeightGroup > EcalEBTrigPrimPhase2ESProducer::produceWeightGroup | ( | const EcalTPGWeightGroupRcd & | iRecord | ) |
Definition at line 250 of file EcalEBTrigPrimPhase2ESProducer.cc.
References ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, mapXtalToGroup_, and dumpMFGeometry_cfg::prod.
Referenced by EcalEBTrigPrimPhase2ESProducer().
|
private |
Definition at line 75 of file EcalEBTrigPrimPhase2ESProducer.cc.
Referenced by parseWeightsFile().
|
private |
Definition at line 73 of file EcalEBTrigPrimPhase2ESProducer.cc.
Referenced by parseTextFile().
|
private |
Definition at line 76 of file EcalEBTrigPrimPhase2ESProducer.cc.
Referenced by parseTextFile(), and parseWeightsFile().
|
private |
Definition at line 84 of file EcalEBTrigPrimPhase2ESProducer.cc.
Referenced by producePhysicsConst().
|
private |
Definition at line 78 of file EcalEBTrigPrimPhase2ESProducer.cc.
Referenced by parseTextFile().
|
private |
Definition at line 81 of file EcalEBTrigPrimPhase2ESProducer.cc.
Referenced by parseWeightsFile(), and produceTimeWeight().
|
private |
Definition at line 79 of file EcalEBTrigPrimPhase2ESProducer.cc.
Referenced by parseTextFile().
|
private |
Definition at line 80 of file EcalEBTrigPrimPhase2ESProducer.cc.
Referenced by parseWeightsFile(), and produceAmpWeight().
|
private |
Definition at line 77 of file EcalEBTrigPrimPhase2ESProducer.cc.
Referenced by parseTextFile(), and produceBadX().
|
private |
Definition at line 82 of file EcalEBTrigPrimPhase2ESProducer.cc.
Referenced by parseWeightsFile(), and produceWeightGroup().
|
private |
Definition at line 83 of file EcalEBTrigPrimPhase2ESProducer.cc.
Referenced by parseWeightsFile(), produceLinearizationConst(), and producePedestals().
|
staticprivate |
Definition at line 85 of file EcalEBTrigPrimPhase2ESProducer.cc.
Referenced by parseWeightsFile().
|
staticprivate |
Definition at line 86 of file EcalEBTrigPrimPhase2ESProducer.cc.
Referenced by parseWeightsFile().