#include <EcalTrigPrimESProducer.h>
Private Member Functions | |
std::vector< int > | getRange (int subdet, int smNb, int towerNbInSm, int stripNbInTower=0, int xtalNbInStrip=0) |
void | parseTextFile () |
Private Attributes | |
std::string | dbFilename_ |
bool | flagPrint_ |
std::map< uint32_t, std::vector< uint32_t > > | mapFg_ |
std::map< uint32_t, std::vector< uint32_t > > | mapLut_ |
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 > > | mapTower_ [2] |
std::map< uint32_t, std::vector< uint32_t > > | mapWeight_ |
std::map< uint32_t, std::vector< uint32_t > > | mapWeight_odd_ |
std::map< uint32_t, std::vector< uint32_t > > | mapXtal_ |
std::vector< uint32_t > | tpMode_ |
Additional Inherited Members | |
Static Public Member Functions inherited from edm::eventsetup::DataProxyProvider | |
static void | prevalidate (ConfigurationDescriptions &) |
Protected Types inherited from edm::ESProxyFactoryProducer | |
using | EventSetupRecordKey = eventsetup::EventSetupRecordKey |
Protected Types inherited from edm::eventsetup::DataProxyProvider | |
using | KeyedProxiesVector = std::vector< std::pair< DataKey, std::shared_ptr< DataProxy > >> |
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::ESProxyFactoryProducer | |
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::ProxyFactoryBase > iFactory, const std::string &iLabel=std::string()) |
KeyedProxiesVector | registerProxies (const EventSetupRecordKey &, unsigned int iovIndex) override |
Protected Member Functions inherited from edm::eventsetup::DataProxyProvider | |
template<class T > | |
void | usingRecord () |
void | usingRecordWithKey (const EventSetupRecordKey &key) |
Definition at line 56 of file EcalTrigPrimESProducer.h.
EcalTrigPrimESProducer::EcalTrigPrimESProducer | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 57 of file EcalTrigPrimESProducer.cc.
References produceBadStrip(), produceBadTT(), produceBadX(), produceFineGrainEB(), produceFineGrainEBGroup(), produceFineGrainEEstrip(), produceFineGrainEEtower(), produceLinearizationConst(), produceLUT(), produceLutGroup(), produceOddWeight(), produceOddWeightGroup(), producePedestals(), producePhysicsConst(), produceSlidingWindow(), produceSpike(), produceTPMode(), produceWeight(), produceWeightGroup(), edm::ESProducer::setWhatProduced(), and tpMode_.
|
override |
Definition at line 86 of file EcalTrigPrimESProducer.cc.
|
private |
|
private |
Definition at line 365 of file EcalTrigPrimESProducer.cc.
References data, dbFilename_, TauDecayModes::dec, corrVsCorr::filename, flagPrint_, edm::FileInPath::fullPath(), mps_fire::i, l1ctLayer2EG_cff::id, timingPdfMaker::infile, dqmdumpme::k, mps_splice::line, mapFg_, mapLut_, mapPhys_, mapStrip_, mapTower_, mapWeight_, mapWeight_odd_, mapXtal_, pickleFileParser::slash, AlCaHLTBitMon_QueryRunRegistry::string, and tpMode_.
Referenced by produceBadTT(), produceBadX(), produceFineGrainEB(), produceFineGrainEBGroup(), produceFineGrainEEstrip(), produceFineGrainEEtower(), produceLinearizationConst(), produceLUT(), produceLutGroup(), produceOddWeight(), produceOddWeightGroup(), producePedestals(), producePhysicsConst(), produceSlidingWindow(), produceSpike(), produceTPMode(), produceWeight(), and produceWeightGroup().
std::unique_ptr< EcalTPGStripStatus > EcalTrigPrimESProducer::produceBadStrip | ( | const EcalTPGStripStatusRcd & | iRecord | ) |
Definition at line 330 of file EcalTrigPrimESProducer.cc.
References dumpMFGeometry_cfg::prod.
Referenced by EcalTrigPrimESProducer().
std::unique_ptr< EcalTPGTowerStatus > EcalTrigPrimESProducer::produceBadTT | ( | const EcalTPGTowerStatusRcd & | iRecord | ) |
Definition at line 336 of file EcalTrigPrimESProducer.cc.
References mapTower_, parseTextFile(), and dumpMFGeometry_cfg::prod.
Referenced by EcalTrigPrimESProducer().
std::unique_ptr< EcalTPGCrystalStatus > EcalTrigPrimESProducer::produceBadX | ( | const EcalTPGCrystalStatusRcd & | iRecord | ) |
Definition at line 318 of file EcalTrigPrimESProducer.cc.
References mapXtal_, parseTextFile(), dumpMFGeometry_cfg::prod, and EcalTPGCrystalStatusCode::setStatusCode().
Referenced by EcalTrigPrimESProducer().
std::unique_ptr< EcalTPGFineGrainEBIdMap > EcalTrigPrimESProducer::produceFineGrainEB | ( | const EcalTPGFineGrainEBIdMapRcd & | iRecord | ) |
Definition at line 139 of file EcalTrigPrimESProducer.cc.
References mapFg_, parseTextFile(), dumpMFGeometry_cfg::prod, and EcalTPGFineGrainConstEB::setValues().
Referenced by EcalTrigPrimESProducer().
std::unique_ptr< EcalTPGFineGrainEBGroup > EcalTrigPrimESProducer::produceFineGrainEBGroup | ( | const EcalTPGFineGrainEBGroupRcd & | iRecord | ) |
Definition at line 289 of file EcalTrigPrimESProducer.cc.
References mapTower_, parseTextFile(), and dumpMFGeometry_cfg::prod.
Referenced by EcalTrigPrimESProducer().
std::unique_ptr< EcalTPGFineGrainStripEE > EcalTrigPrimESProducer::produceFineGrainEEstrip | ( | const EcalTPGFineGrainStripEERcd & | iRecord | ) |
Definition at line 152 of file EcalTrigPrimESProducer.cc.
References B2GTnPMonitor_cfi::item, mapStrip_, parseTextFile(), and dumpMFGeometry_cfg::prod.
Referenced by EcalTrigPrimESProducer().
std::unique_ptr< EcalTPGFineGrainTowerEE > EcalTrigPrimESProducer::produceFineGrainEEtower | ( | const EcalTPGFineGrainTowerEERcd & | iRecord | ) |
Definition at line 174 of file EcalTrigPrimESProducer.cc.
References mapTower_, parseTextFile(), and dumpMFGeometry_cfg::prod.
Referenced by EcalTrigPrimESProducer().
std::unique_ptr< EcalTPGLinearizationConst > EcalTrigPrimESProducer::produceLinearizationConst | ( | const EcalTPGLinearizationConstRcd & | iRecord | ) |
Definition at line 108 of file EcalTrigPrimESProducer.cc.
References B2GTnPMonitor_cfi::item, mapXtal_, parseTextFile(), and dumpMFGeometry_cfg::prod.
Referenced by EcalTrigPrimESProducer().
std::unique_ptr< EcalTPGLutIdMap > EcalTrigPrimESProducer::produceLUT | ( | const EcalTPGLutIdMapRcd & | iRecord | ) |
Definition at line 185 of file EcalTrigPrimESProducer.cc.
References mps_fire::i, mapLut_, parseTextFile(), dumpMFGeometry_cfg::prod, and EcalTPGLut::setLut().
Referenced by EcalTrigPrimESProducer().
std::unique_ptr< EcalTPGLutGroup > EcalTrigPrimESProducer::produceLutGroup | ( | const EcalTPGLutGroupRcd & | iRecord | ) |
Definition at line 277 of file EcalTrigPrimESProducer.cc.
References mapTower_, parseTextFile(), and dumpMFGeometry_cfg::prod.
Referenced by EcalTrigPrimESProducer().
std::unique_ptr< EcalTPGOddWeightIdMap > EcalTrigPrimESProducer::produceOddWeight | ( | const EcalTPGOddWeightIdMapRcd & | iRecord | ) |
Definition at line 224 of file EcalTrigPrimESProducer.cc.
References mapWeight_odd_, parseTextFile(), dumpMFGeometry_cfg::prod, and hltDeepSecondaryVertexTagInfosPFPuppi_cfi::weights.
Referenced by EcalTrigPrimESProducer().
std::unique_ptr< EcalTPGOddWeightGroup > EcalTrigPrimESProducer::produceOddWeightGroup | ( | const EcalTPGOddWeightGroupRcd & | iRecord | ) |
Definition at line 237 of file EcalTrigPrimESProducer.cc.
References mapStrip_, parseTextFile(), and dumpMFGeometry_cfg::prod.
Referenced by EcalTrigPrimESProducer().
std::unique_ptr< EcalTPGPedestals > EcalTrigPrimESProducer::producePedestals | ( | const EcalTPGPedestalsRcd & | iRecord | ) |
Definition at line 94 of file EcalTrigPrimESProducer.cc.
References B2GTnPMonitor_cfi::item, mapXtal_, parseTextFile(), and dumpMFGeometry_cfg::prod.
Referenced by EcalTrigPrimESProducer().
std::unique_ptr< EcalTPGPhysicsConst > EcalTrigPrimESProducer::producePhysicsConst | ( | const EcalTPGPhysicsConstRcd & | iRecord | ) |
Definition at line 300 of file EcalTrigPrimESProducer.cc.
References B2GTnPMonitor_cfi::item, mapPhys_, parseTextFile(), and dumpMFGeometry_cfg::prod.
Referenced by EcalTrigPrimESProducer().
std::unique_ptr< EcalTPGSlidingWindow > EcalTrigPrimESProducer::produceSlidingWindow | ( | const EcalTPGSlidingWindowRcd & | iRecord | ) |
Definition at line 126 of file EcalTrigPrimESProducer.cc.
References mapStrip_, parseTextFile(), and dumpMFGeometry_cfg::prod.
Referenced by EcalTrigPrimESProducer().
std::unique_ptr< EcalTPGSpike > EcalTrigPrimESProducer::produceSpike | ( | const EcalTPGSpikeRcd & | iRecord | ) |
Definition at line 354 of file EcalTrigPrimESProducer.cc.
References mapTower_, parseTextFile(), and dumpMFGeometry_cfg::prod.
Referenced by EcalTrigPrimESProducer().
std::unique_ptr< EcalTPGTPMode > EcalTrigPrimESProducer::produceTPMode | ( | const EcalTPGTPModeRcd & | iRecord | ) |
Definition at line 250 of file EcalTrigPrimESProducer.cc.
References parseTextFile(), dumpMFGeometry_cfg::prod, and tpMode_.
Referenced by EcalTrigPrimESProducer().
std::unique_ptr< EcalTPGWeightIdMap > EcalTrigPrimESProducer::produceWeight | ( | const EcalTPGWeightIdMapRcd & | iRecord | ) |
Definition at line 200 of file EcalTrigPrimESProducer.cc.
References mapWeight_, parseTextFile(), dumpMFGeometry_cfg::prod, and hltDeepSecondaryVertexTagInfosPFPuppi_cfi::weights.
Referenced by EcalTrigPrimESProducer().
std::unique_ptr< EcalTPGWeightGroup > EcalTrigPrimESProducer::produceWeightGroup | ( | const EcalTPGWeightGroupRcd & | iRecord | ) |
Definition at line 212 of file EcalTrigPrimESProducer.cc.
References mapStrip_, parseTextFile(), and dumpMFGeometry_cfg::prod.
Referenced by EcalTrigPrimESProducer().
|
private |
Definition at line 86 of file EcalTrigPrimESProducer.h.
Referenced by parseTextFile().
|
private |
Definition at line 87 of file EcalTrigPrimESProducer.h.
Referenced by parseTextFile().
|
private |
Definition at line 93 of file EcalTrigPrimESProducer.h.
Referenced by parseTextFile(), and produceFineGrainEB().
|
private |
Definition at line 94 of file EcalTrigPrimESProducer.h.
Referenced by parseTextFile(), and produceLUT().
|
private |
Definition at line 95 of file EcalTrigPrimESProducer.h.
Referenced by parseTextFile(), and producePhysicsConst().
|
private |
Definition at line 89 of file EcalTrigPrimESProducer.h.
Referenced by parseTextFile(), produceFineGrainEEstrip(), produceOddWeightGroup(), produceSlidingWindow(), and produceWeightGroup().
|
private |
Definition at line 90 of file EcalTrigPrimESProducer.h.
Referenced by parseTextFile(), produceBadTT(), produceFineGrainEBGroup(), produceFineGrainEEtower(), produceLutGroup(), and produceSpike().
|
private |
Definition at line 91 of file EcalTrigPrimESProducer.h.
Referenced by parseTextFile(), and produceWeight().
|
private |
Definition at line 92 of file EcalTrigPrimESProducer.h.
Referenced by parseTextFile(), and produceOddWeight().
|
private |
Definition at line 88 of file EcalTrigPrimESProducer.h.
Referenced by parseTextFile(), produceBadX(), produceLinearizationConst(), and producePedestals().
|
private |
Definition at line 96 of file EcalTrigPrimESProducer.h.
Referenced by EcalTrigPrimESProducer(), parseTextFile(), and produceTPMode().