#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 | |
template<typename T > | |
void | setWhatProduced (T *iThis, const es::Label &iLabel=es::Label()) |
template<typename T > | |
void | setWhatProduced (T *iThis, const char *iLabel) |
template<typename T > | |
void | setWhatProduced (T *iThis, const std::string &iLabel) |
template<typename T , typename TDecorator > | |
void | setWhatProduced (T *iThis, const TDecorator &iDec, const es::Label &iLabel=es::Label()) |
template<typename T , typename TReturn , typename TRecord > | |
void | setWhatProduced (T *iThis, TReturn(T::*iMethod)(const TRecord &), const es::Label &iLabel=es::Label()) |
template<typename T , typename TReturn , typename TRecord , typename TArg > | |
void | setWhatProduced (T *iThis, TReturn(T::*iMethod)(const TRecord &), const TArg &iDec, const es::Label &iLabel=es::Label()) |
Protected Member Functions inherited from edm::ESProxyFactoryProducer | |
template<class TFactory > | |
void | registerFactory (std::auto_ptr< TFactory > iFactory, const std::string &iLabel=std::string()) |
virtual void | registerFactoryWithKey (const eventsetup::EventSetupRecordKey &iRecord, std::auto_ptr< eventsetup::ProxyFactoryBase > &iFactory, const std::string &iLabel=std::string()) |
virtual void | registerProxies (const eventsetup::EventSetupRecordKey &iRecord, KeyedProxies &aProxyList) |
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 63 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().
EcalTrigPrimESProducer::~EcalTrigPrimESProducer | ( | ) |
Definition at line 89 of file EcalTrigPrimESProducer.cc.
|
private |
Definition at line 721 of file EcalTrigPrimESProducer.cc.
|
private |
Definition at line 335 of file EcalTrigPrimESProducer.cc.
References gather_cfg::cout, data, dbFilename_, TauDecayModes::dec, lut2db_cfg::filename, flagPrint_, edm::FileInPath::fullPath(), i, timingPdfMaker::infile, relval_2017::k, geometryCSVtoXML::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::auto_ptr< EcalTPGStripStatus > EcalTrigPrimESProducer::produceBadStrip | ( | const EcalTPGStripStatusRcd & | iRecord | ) |
Definition at line 295 of file EcalTrigPrimESProducer.cc.
References parseEventContent::prod.
Referenced by EcalTrigPrimESProducer().
std::auto_ptr< EcalTPGTowerStatus > EcalTrigPrimESProducer::produceBadTT | ( | const EcalTPGTowerStatusRcd & | iRecord | ) |
Definition at line 303 of file EcalTrigPrimESProducer.cc.
References begin, mapTower_, parseTextFile(), and parseEventContent::prod.
Referenced by EcalTrigPrimESProducer().
std::auto_ptr< EcalTPGCrystalStatus > EcalTrigPrimESProducer::produceBadX | ( | const EcalTPGCrystalStatusRcd & | iRecord | ) |
Definition at line 280 of file EcalTrigPrimESProducer.cc.
References mapXtal_, parseTextFile(), parseEventContent::prod, and EcalTPGCrystalStatusCode::setStatusCode().
Referenced by EcalTrigPrimESProducer().
std::auto_ptr< EcalTPGFineGrainEBIdMap > EcalTrigPrimESProducer::produceFineGrainEB | ( | const EcalTPGFineGrainEBIdMapRcd & | iRecord | ) |
Definition at line 146 of file EcalTrigPrimESProducer.cc.
References mapFg_, parseTextFile(), parseEventContent::prod, and EcalTPGFineGrainConstEB::setValues().
Referenced by EcalTrigPrimESProducer().
std::auto_ptr< EcalTPGFineGrainEBGroup > EcalTrigPrimESProducer::produceFineGrainEBGroup | ( | const EcalTPGFineGrainEBGroupRcd & | iRecord | ) |
Definition at line 250 of file EcalTrigPrimESProducer.cc.
References begin, mapTower_, parseTextFile(), and parseEventContent::prod.
Referenced by EcalTrigPrimESProducer().
std::auto_ptr< EcalTPGFineGrainStripEE > EcalTrigPrimESProducer::produceFineGrainEEstrip | ( | const EcalTPGFineGrainStripEERcd & | iRecord | ) |
Definition at line 159 of file EcalTrigPrimESProducer.cc.
References begin, EcalTPGFineGrainStripEE::Item::lut, mapStrip_, parseTextFile(), parseEventContent::prod, and EcalTPGFineGrainStripEE::Item::threshold.
Referenced by EcalTrigPrimESProducer().
std::auto_ptr< EcalTPGFineGrainTowerEE > EcalTrigPrimESProducer::produceFineGrainEEtower | ( | const EcalTPGFineGrainTowerEERcd & | iRecord | ) |
Definition at line 181 of file EcalTrigPrimESProducer.cc.
References begin, mapTower_, parseTextFile(), and parseEventContent::prod.
Referenced by EcalTrigPrimESProducer().
std::auto_ptr< EcalTPGLinearizationConst > EcalTrigPrimESProducer::produceLinearizationConst | ( | const EcalTPGLinearizationConstRcd & | iRecord | ) |
Definition at line 115 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::auto_ptr< EcalTPGLutIdMap > EcalTrigPrimESProducer::produceLUT | ( | const EcalTPGLutIdMapRcd & | iRecord | ) |
Definition at line 192 of file EcalTrigPrimESProducer.cc.
References i, lumiPlot::lut, mapLut_, parseTextFile(), parseEventContent::prod, and EcalTPGLut::setLut().
Referenced by EcalTrigPrimESProducer().
std::auto_ptr< EcalTPGLutGroup > EcalTrigPrimESProducer::produceLutGroup | ( | const EcalTPGLutGroupRcd & | iRecord | ) |
Definition at line 237 of file EcalTrigPrimESProducer.cc.
References begin, mapTower_, parseTextFile(), and parseEventContent::prod.
Referenced by EcalTrigPrimESProducer().
std::auto_ptr< EcalTPGPedestals > EcalTrigPrimESProducer::producePedestals | ( | const EcalTPGPedestalsRcd & | iRecord | ) |
Definition at line 100 of file EcalTrigPrimESProducer.cc.
References mapXtal_, EcalTPGPedestal::mean_x1, EcalTPGPedestal::mean_x12, EcalTPGPedestal::mean_x6, parseTextFile(), and parseEventContent::prod.
Referenced by EcalTrigPrimESProducer().
std::auto_ptr< EcalTPGPhysicsConst > EcalTrigPrimESProducer::producePhysicsConst | ( | const EcalTPGPhysicsConstRcd & | iRecord | ) |
Definition at line 261 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::auto_ptr< EcalTPGSlidingWindow > EcalTrigPrimESProducer::produceSlidingWindow | ( | const EcalTPGSlidingWindowRcd & | iRecord | ) |
Definition at line 133 of file EcalTrigPrimESProducer.cc.
References begin, mapStrip_, parseTextFile(), and parseEventContent::prod.
Referenced by EcalTrigPrimESProducer().
std::auto_ptr< EcalTPGSpike > EcalTrigPrimESProducer::produceSpike | ( | const EcalTPGSpikeRcd & | iRecord | ) |
Definition at line 322 of file EcalTrigPrimESProducer.cc.
References begin, mapTower_, parseTextFile(), and parseEventContent::prod.
Referenced by EcalTrigPrimESProducer().
std::auto_ptr< EcalTPGWeightIdMap > EcalTrigPrimESProducer::produceWeight | ( | const EcalTPGWeightIdMapRcd & | iRecord | ) |
Definition at line 207 of file EcalTrigPrimESProducer.cc.
References mapWeight_, parseTextFile(), parseEventContent::prod, EcalTPGWeights::setValues(), and create_public_pileup_plots::weights.
Referenced by EcalTrigPrimESProducer().
std::auto_ptr< EcalTPGWeightGroup > EcalTrigPrimESProducer::produceWeightGroup | ( | const EcalTPGWeightGroupRcd & | iRecord | ) |
Definition at line 224 of file EcalTrigPrimESProducer.cc.
References begin, mapStrip_, parseTextFile(), and parseEventContent::prod.
Referenced by EcalTrigPrimESProducer().
|
private |
Definition at line 78 of file EcalTrigPrimESProducer.h.
Referenced by parseTextFile().
|
private |
Definition at line 79 of file EcalTrigPrimESProducer.h.
Referenced by parseTextFile().
|
private |
Definition at line 84 of file EcalTrigPrimESProducer.h.
Referenced by parseTextFile(), and produceFineGrainEB().
|
private |
Definition at line 85 of file EcalTrigPrimESProducer.h.
Referenced by parseTextFile(), and produceLUT().
|
private |
Definition at line 86 of file EcalTrigPrimESProducer.h.
Referenced by parseTextFile(), and producePhysicsConst().
|
private |
Definition at line 81 of file EcalTrigPrimESProducer.h.
Referenced by parseTextFile(), produceFineGrainEEstrip(), produceSlidingWindow(), and produceWeightGroup().
|
private |
Definition at line 82 of file EcalTrigPrimESProducer.h.
Referenced by parseTextFile(), produceBadTT(), produceFineGrainEBGroup(), produceFineGrainEEtower(), produceLutGroup(), and produceSpike().
|
private |
Definition at line 83 of file EcalTrigPrimESProducer.h.
Referenced by parseTextFile(), and produceWeight().
|
private |
Definition at line 80 of file EcalTrigPrimESProducer.h.
Referenced by parseTextFile(), produceBadX(), produceLinearizationConst(), and producePedestals().