#include <EcalTPCondAnalyzer.h>
Public Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) |
virtual void | beginJob () |
void | beginRun (const edm::Run &run, const edm::EventSetup &es) |
EcalTPCondAnalyzer (const edm::ParameterSet &) | |
virtual void | endJob () |
~EcalTPCondAnalyzer () | |
Public Member Functions inherited from edm::one::EDAnalyzer<> | |
EDAnalyzer ()=default | |
Public Member Functions inherited from edm::one::EDAnalyzerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzerBase () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDAnalyzerBase () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
void | convertCurrentProcessAlias (std::string const &processName) |
Convert "@currentProcess" in InputTag process names to the actual current process name. More... | |
EDConsumerBase () | |
EDConsumerBase (EDConsumerBase const &)=delete | |
EDConsumerBase (EDConsumerBase &&)=default | |
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
Private Member Functions | |
unsigned long long | getRecords (edm::EventSetup const &setup) |
void | printBadStrip (const EcalTPGStripStatus *ecaltpgBadStrip) const |
void | printBadTT (const EcalTPGTowerStatus *ecaltpgBadTT) const |
void | printBadX (const EcalTPGCrystalStatus *ecaltpgBadX) const |
void | printComment () const |
void | printCRYSTAL (const EcalTPGPedestals *ecaltpPed, const EcalTPGLinearizationConst *ecaltpLin) |
void | printEcalTPGFineGrainEBIdMap (const EcalTPGFineGrainEBIdMap *ecaltpgFineGrainEB) const |
void | printEcalTPGLutIdMap (const EcalTPGLutIdMap *ecaltpgLut) const |
void | printEcalTPGPhysicsConst (const EcalTPGPhysicsConst *) const |
void | printSpikeTh (const EcalTPGSpike *ecaltpgSpike) const |
void | printSTRIP (const EcalTPGSlidingWindow *ecaltpgSlidW, const EcalTPGWeightGroup *ecaltpgWeightGroup, const EcalTPGFineGrainStripEE *ecaltpgFgStripEE) const |
void | printTOWEREB (const EcalTPGSpike *ecaltpgSpike, const EcalTPGFineGrainEBGroup *ecaltpgFgEBGroup, const EcalTPGLutGroup *ecaltpgLutGroup) const |
void | printTOWEREE (const EcalTPGFineGrainTowerEE *ecaltpgFineGrainTowerEE, const EcalTPGLutGroup *ecaltpgLutGroup) const |
void | printWEIGHT (const EcalTPGWeightIdMap *ecaltpgWeightMap) const |
Private Attributes | |
unsigned long long | cacheID_ |
const CaloSubdetectorGeometry * | theBarrelGeometry_ |
const CaloSubdetectorGeometry * | theEndcapGeometry_ |
Additional Inherited Members | |
Public Types inherited from edm::one::EDAnalyzerBase | |
typedef EDAnalyzerBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::one::EDAnalyzerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
Description: prints the TPG conditions coming from the conditions DB Prints in exactly the same format as TPG.txt, such that a "diff" is possible.
Definition at line 55 of file EcalTPCondAnalyzer.h.
|
explicit |
Definition at line 55 of file EcalTPCondAnalyzer.cc.
EcalTPCondAnalyzer::~EcalTPCondAnalyzer | ( | ) |
Definition at line 75 of file EcalTPCondAnalyzer.cc.
|
virtual |
Definition at line 179 of file EcalTPCondAnalyzer.cc.
|
virtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 71 of file EcalTPCondAnalyzer.cc.
void EcalTPCondAnalyzer::beginRun | ( | const edm::Run & | run, |
const edm::EventSetup & | es | ||
) |
Definition at line 59 of file EcalTPCondAnalyzer.cc.
References cacheID_, edm::EventSetup::get(), getRecords(), theBarrelGeometry_, and theEndcapGeometry_.
|
virtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 183 of file EcalTPCondAnalyzer.cc.
|
private |
Definition at line 78 of file EcalTPCondAnalyzer.cc.
References gather_cfg::cout, edm::EventSetup::get(), printComment(), printCRYSTAL(), printEcalTPGFineGrainEBIdMap(), printEcalTPGLutIdMap(), printEcalTPGPhysicsConst(), printSTRIP(), printTOWEREB(), printTOWEREE(), printWEIGHT(), and edm::ESHandle< T >::product().
Referenced by beginRun().
|
private |
|
private |
|
private |
|
private |
Definition at line 316 of file EcalTPCondAnalyzer.cc.
References gather_cfg::cout.
Referenced by getRecords().
|
private |
Definition at line 285 of file EcalTPCondAnalyzer.cc.
References gather_cfg::cout, TauDecayModes::dec, DetId::Ecal, EcalBarrel, EcalEndcap, EcalCondObjectContainer< T >::getMap(), CaloSubdetectorGeometry::getValidDetIds(), hcalTTPDigis_cfi::id, EcalTPGPedestal::mean_x1, EcalTPGPedestal::mean_x12, EcalTPGPedestal::mean_x6, EcalTPGLinearizationConstant::mult_x1, EcalTPGLinearizationConstant::mult_x12, EcalTPGLinearizationConstant::mult_x6, EcalTPGLinearizationConstant::shift_x1, EcalTPGLinearizationConstant::shift_x12, EcalTPGLinearizationConstant::shift_x6, theBarrelGeometry_, and theEndcapGeometry_.
Referenced by getRecords().
|
private |
Definition at line 259 of file EcalTPCondAnalyzer.cc.
References gather_cfg::cout, EcalTPGFineGrainEBIdMap::getMap(), and genParticles_cff::map.
Referenced by getRecords().
|
private |
Definition at line 273 of file EcalTPCondAnalyzer.cc.
References gather_cfg::cout, EcalTPGLutIdMap::getMap(), mps_fire::i, lumiPlot::lut, and genParticles_cff::map.
Referenced by getRecords().
|
private |
Definition at line 186 of file EcalTPCondAnalyzer.cc.
References gather_cfg::cout, and EcalTPGPhysicsConst::getMap().
Referenced by getRecords().
|
private |
|
private |
Definition at line 200 of file EcalTPCondAnalyzer.cc.
References gather_cfg::cout, TauDecayModes::dec, EcalTPGFineGrainStripEE::getMap(), EcalTPGGroups::getMap(), EcalTPGFineGrainStripEE::Item::lut, EcalTriggerElectronicsId::subdet(), and EcalTPGFineGrainStripEE::Item::threshold.
Referenced by getRecords().
|
private |
Definition at line 411 of file EcalTPCondAnalyzer.cc.
References gather_cfg::cout, TauDecayModes::dec, EcalTPGSpike::getMap(), and EcalTPGGroups::getMap().
Referenced by getRecords().
|
private |
Definition at line 432 of file EcalTPCondAnalyzer.cc.
References gather_cfg::cout, TauDecayModes::dec, EcalTPGFineGrainTowerEE::getMap(), EcalTPGGroups::getMap(), and genParticles_cff::map.
Referenced by getRecords().
|
private |
Definition at line 244 of file EcalTPCondAnalyzer.cc.
References gather_cfg::cout, EcalTPGWeightIdMap::getMap(), genParticles_cff::map, w2, w3, and w4.
Referenced by getRecords().
|
private |
Definition at line 69 of file EcalTPCondAnalyzer.h.
Referenced by beginRun().
|
private |
Definition at line 72 of file EcalTPCondAnalyzer.h.
Referenced by beginRun(), and printCRYSTAL().
|
private |
Definition at line 71 of file EcalTPCondAnalyzer.h.
Referenced by beginRun(), and printCRYSTAL().