#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 > > | mapXtal_ |
Additional Inherited Members | |
Public Types inherited from edm::eventsetup::DataProxyProvider | |
typedef std::vector< std::pair< DataKey, edm::propagate_const< std::shared_ptr< DataProxy > > > > | KeyedProxies |
typedef std::vector< EventSetupRecordKey > | Keys |
typedef std::map< EventSetupRecordKey, KeyedProxies > | RecordProxies |
Static Public Member Functions inherited from edm::eventsetup::DataProxyProvider | |
static void | prevalidate (ConfigurationDescriptions &) |
Protected Member Functions inherited from edm::ESProducer | |
ESProducer (const ESProducer &)=delete | |
ESProducer const & | operator= (const ESProducer &)=delete |
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 TArg > | |
ESConsumesCollectorT< TRecord > | setWhatProduced (T *iThis, TReturn(T::*iMethod)(const TRecord &), const TArg &iDec, const es::Label &iLabel={}) |
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 eventsetup::EventSetupRecordKey &iRecord, std::unique_ptr< eventsetup::ProxyFactoryBase > iFactory, const std::string &iLabel=std::string()) |
void | registerProxies (const eventsetup::EventSetupRecordKey &iRecord, KeyedProxies &aProxyList) override |
override DataProxyProvider method More... | |
Protected Member Functions inherited from edm::eventsetup::DataProxyProvider | |
void | eraseAll (const EventSetupRecordKey &iRecordKey) |
deletes all the Proxies in aStream More... | |
void | invalidateProxies (const EventSetupRecordKey &iRecordKey) |
template<class T > | |
void | usingRecord () |
void | usingRecordWithKey (const EventSetupRecordKey &) |
Definition at line 50 of file EcalTrigPrimESProducer.h.
EcalTrigPrimESProducer::EcalTrigPrimESProducer | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 53 of file EcalTrigPrimESProducer.cc.
References produceBadStrip(), produceBadTT(), produceBadX(), produceFineGrainEB(), produceFineGrainEBGroup(), produceFineGrainEEstrip(), produceFineGrainEEtower(), produceLinearizationConst(), produceLUT(), produceLutGroup(), producePedestals(), producePhysicsConst(), produceSlidingWindow(), produceSpike(), produceWeight(), produceWeightGroup(), and edm::ESProducer::setWhatProduced().
|
override |
Definition at line 78 of file EcalTrigPrimESProducer.cc.
|
private |
Definition at line 708 of file EcalTrigPrimESProducer.cc.
|
private |
Definition at line 324 of file EcalTrigPrimESProducer.cc.
References gather_cfg::cout, data, dbFilename_, TauDecayModes::dec, corrVsCorr::filename, flagPrint_, edm::FileInPath::fullPath(), mps_fire::i, triggerObjects_cff::id, gen::k, mps_splice::line, mapFg_, mapLut_, mapPhys_, mapStrip_, mapTower_, mapWeight_, mapXtal_, pickleFileParser::slash, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by produceBadTT(), produceBadX(), produceFineGrainEB(), produceFineGrainEBGroup(), produceFineGrainEEstrip(), produceFineGrainEEtower(), produceLinearizationConst(), produceLUT(), produceLutGroup(), producePedestals(), producePhysicsConst(), produceSlidingWindow(), produceSpike(), produceWeight(), and produceWeightGroup().
std::unique_ptr< EcalTPGStripStatus > EcalTrigPrimESProducer::produceBadStrip | ( | const EcalTPGStripStatusRcd & | iRecord | ) |
Definition at line 287 of file EcalTrigPrimESProducer.cc.
References parseEventContent::prod.
Referenced by EcalTrigPrimESProducer().
std::unique_ptr< EcalTPGTowerStatus > EcalTrigPrimESProducer::produceBadTT | ( | const EcalTPGTowerStatusRcd & | iRecord | ) |
Definition at line 294 of file EcalTrigPrimESProducer.cc.
References begin, mapTower_, parseTextFile(), and parseEventContent::prod.
Referenced by EcalTrigPrimESProducer().
std::unique_ptr< EcalTPGCrystalStatus > EcalTrigPrimESProducer::produceBadX | ( | const EcalTPGCrystalStatusRcd & | iRecord | ) |
Definition at line 273 of file EcalTrigPrimESProducer.cc.
References mapXtal_, parseTextFile(), parseEventContent::prod, and EcalTPGCrystalStatusCode::setStatusCode().
Referenced by EcalTrigPrimESProducer().
std::unique_ptr< EcalTPGFineGrainEBIdMap > EcalTrigPrimESProducer::produceFineGrainEB | ( | const EcalTPGFineGrainEBIdMapRcd & | iRecord | ) |
Definition at line 135 of file EcalTrigPrimESProducer.cc.
References mapFg_, parseTextFile(), parseEventContent::prod, and EcalTPGFineGrainConstEB::setValues().
Referenced by EcalTrigPrimESProducer().
std::unique_ptr< EcalTPGFineGrainEBGroup > EcalTrigPrimESProducer::produceFineGrainEBGroup | ( | const EcalTPGFineGrainEBGroupRcd & | iRecord | ) |
Definition at line 241 of file EcalTrigPrimESProducer.cc.
References begin, mapTower_, parseTextFile(), and parseEventContent::prod.
Referenced by EcalTrigPrimESProducer().
std::unique_ptr< EcalTPGFineGrainStripEE > EcalTrigPrimESProducer::produceFineGrainEEstrip | ( | const EcalTPGFineGrainStripEERcd & | iRecord | ) |
Definition at line 150 of file EcalTrigPrimESProducer.cc.
References begin, EcalTPGFineGrainStripEE::Item::lut, mapStrip_, parseTextFile(), parseEventContent::prod, and EcalTPGFineGrainStripEE::Item::threshold.
Referenced by EcalTrigPrimESProducer().
std::unique_ptr< EcalTPGFineGrainTowerEE > EcalTrigPrimESProducer::produceFineGrainEEtower | ( | const EcalTPGFineGrainTowerEERcd & | iRecord | ) |
Definition at line 173 of file EcalTrigPrimESProducer.cc.
References begin, mapTower_, parseTextFile(), and parseEventContent::prod.
Referenced by EcalTrigPrimESProducer().
std::unique_ptr< EcalTPGLinearizationConst > EcalTrigPrimESProducer::produceLinearizationConst | ( | const EcalTPGLinearizationConstRcd & | iRecord | ) |
Definition at line 102 of file EcalTrigPrimESProducer.cc.
References mapXtal_, EcalTPGLinearizationConstant::mult_x1, EcalTPGLinearizationConstant::mult_x12, EcalTPGLinearizationConstant::mult_x6, parseTextFile(), parseEventContent::prod, EcalTPGLinearizationConstant::shift_x1, EcalTPGLinearizationConstant::shift_x12, and EcalTPGLinearizationConstant::shift_x6.
Referenced by EcalTrigPrimESProducer().
std::unique_ptr< EcalTPGLutIdMap > EcalTrigPrimESProducer::produceLUT | ( | const EcalTPGLutIdMapRcd & | iRecord | ) |
Definition at line 185 of file EcalTrigPrimESProducer.cc.
References mps_fire::i, lumiPlot::lut, mapLut_, parseTextFile(), parseEventContent::prod, and EcalTPGLut::setLut().
Referenced by EcalTrigPrimESProducer().
std::unique_ptr< EcalTPGLutGroup > EcalTrigPrimESProducer::produceLutGroup | ( | const EcalTPGLutGroupRcd & | iRecord | ) |
Definition at line 228 of file EcalTrigPrimESProducer.cc.
References begin, mapTower_, parseTextFile(), and parseEventContent::prod.
Referenced by EcalTrigPrimESProducer().
std::unique_ptr< EcalTPGPedestals > EcalTrigPrimESProducer::producePedestals | ( | const EcalTPGPedestalsRcd & | iRecord | ) |
Definition at line 87 of file EcalTrigPrimESProducer.cc.
References mapXtal_, EcalTPGPedestal::mean_x1, EcalTPGPedestal::mean_x12, EcalTPGPedestal::mean_x6, parseTextFile(), and parseEventContent::prod.
Referenced by EcalTrigPrimESProducer().
std::unique_ptr< EcalTPGPhysicsConst > EcalTrigPrimESProducer::producePhysicsConst | ( | const EcalTPGPhysicsConstRcd & | iRecord | ) |
Definition at line 253 of file EcalTrigPrimESProducer.cc.
References EcalTPGPhysicsConst::Item::EtSat, EcalTPGPhysicsConst::Item::FG_highRatio, EcalTPGPhysicsConst::Item::FG_highThreshold, EcalTPGPhysicsConst::Item::FG_lowRatio, EcalTPGPhysicsConst::Item::FG_lowThreshold, mapPhys_, parseTextFile(), parseEventContent::prod, EcalTPGPhysicsConst::Item::ttf_threshold_High, and EcalTPGPhysicsConst::Item::ttf_threshold_Low.
Referenced by EcalTrigPrimESProducer().
std::unique_ptr< EcalTPGSlidingWindow > EcalTrigPrimESProducer::produceSlidingWindow | ( | const EcalTPGSlidingWindowRcd & | iRecord | ) |
Definition at line 121 of file EcalTrigPrimESProducer.cc.
References begin, mapStrip_, parseTextFile(), and parseEventContent::prod.
Referenced by EcalTrigPrimESProducer().
std::unique_ptr< EcalTPGSpike > EcalTrigPrimESProducer::produceSpike | ( | const EcalTPGSpikeRcd & | iRecord | ) |
Definition at line 313 of file EcalTrigPrimESProducer.cc.
References begin, mapTower_, parseTextFile(), and parseEventContent::prod.
Referenced by EcalTrigPrimESProducer().
std::unique_ptr< EcalTPGWeightIdMap > EcalTrigPrimESProducer::produceWeight | ( | const EcalTPGWeightIdMapRcd & | iRecord | ) |
Definition at line 201 of file EcalTrigPrimESProducer.cc.
References mapWeight_, parseTextFile(), parseEventContent::prod, EcalTPGWeights::setValues(), and HGCalRecHit_cfi::weights.
Referenced by EcalTrigPrimESProducer().
std::unique_ptr< EcalTPGWeightGroup > EcalTrigPrimESProducer::produceWeightGroup | ( | const EcalTPGWeightGroupRcd & | iRecord | ) |
Definition at line 214 of file EcalTrigPrimESProducer.cc.
References begin, mapStrip_, parseTextFile(), and parseEventContent::prod.
Referenced by EcalTrigPrimESProducer().
|
private |
Definition at line 91 of file EcalTrigPrimESProducer.h.
Referenced by parseTextFile().
|
private |
Definition at line 92 of file EcalTrigPrimESProducer.h.
Referenced by parseTextFile().
|
private |
Definition at line 97 of file EcalTrigPrimESProducer.h.
Referenced by parseTextFile(), and produceFineGrainEB().
|
private |
Definition at line 98 of file EcalTrigPrimESProducer.h.
Referenced by parseTextFile(), and produceLUT().
|
private |
Definition at line 99 of file EcalTrigPrimESProducer.h.
Referenced by parseTextFile(), and producePhysicsConst().
|
private |
Definition at line 94 of file EcalTrigPrimESProducer.h.
Referenced by parseTextFile(), produceFineGrainEEstrip(), produceSlidingWindow(), and produceWeightGroup().
|
private |
Definition at line 95 of file EcalTrigPrimESProducer.h.
Referenced by parseTextFile(), produceBadTT(), produceFineGrainEBGroup(), produceFineGrainEEtower(), produceLutGroup(), and produceSpike().
|
private |
Definition at line 96 of file EcalTrigPrimESProducer.h.
Referenced by parseTextFile(), and produceWeight().
|
private |
Definition at line 93 of file EcalTrigPrimESProducer.h.
Referenced by parseTextFile(), produceBadX(), produceLinearizationConst(), and producePedestals().