CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes
EcalTPCondAnalyzer Class Reference

#include <EcalTPCondAnalyzer.h>

Inheritance diagram for EcalTPCondAnalyzer:
edm::EDAnalyzer edm::EDConsumerBase

Public Member Functions

virtual void analyze (const edm::Event &, const edm::EventSetup &) override
 
virtual void beginJob ()
 
void beginRun (const edm::Run &run, const edm::EventSetup &es) override
 
 EcalTPCondAnalyzer (const edm::ParameterSet &)
 
virtual void endJob ()
 
 ~EcalTPCondAnalyzer ()
 
- Public Member Functions inherited from edm::EDAnalyzer
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzer ()
 
ModuleDescription const & moduleDescription () const
 
std::string workerType () const
 
virtual ~EDAnalyzer ()
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
 EDConsumerBase ()
 
ProductHolderIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
std::vector
< ProductHolderIndexAndSkipBit >
const & 
itemsToGetFromEvent () const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
bool registeredToConsume (ProductHolderIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &)
 
virtual ~EDConsumerBase ()
 

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 CaloSubdetectorGeometrytheBarrelGeometry_
 
const CaloSubdetectorGeometrytheEndcapGeometry_
 

Additional Inherited Members

- Public Types inherited from edm::EDAnalyzer
typedef EDAnalyzer ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Static Public Member Functions inherited from edm::EDAnalyzer
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &)
 
- 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)
 

Detailed Description

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.

Constructor & Destructor Documentation

EcalTPCondAnalyzer::EcalTPCondAnalyzer ( const edm::ParameterSet iConfig)
explicit

Definition at line 55 of file EcalTPCondAnalyzer.cc.

EcalTPCondAnalyzer::~EcalTPCondAnalyzer ( )

Definition at line 75 of file EcalTPCondAnalyzer.cc.

Member Function Documentation

void EcalTPCondAnalyzer::analyze ( const edm::Event iEvent,
const edm::EventSetup iSetup 
)
overridevirtual

Implements edm::EDAnalyzer.

Definition at line 179 of file EcalTPCondAnalyzer.cc.

void EcalTPCondAnalyzer::beginJob ( void  )
virtual

Reimplemented from edm::EDAnalyzer.

Definition at line 71 of file EcalTPCondAnalyzer.cc.

void EcalTPCondAnalyzer::beginRun ( const edm::Run run,
const edm::EventSetup es 
)
overridevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 59 of file EcalTPCondAnalyzer.cc.

void EcalTPCondAnalyzer::endJob ( void  )
virtual

Reimplemented from edm::EDAnalyzer.

Definition at line 183 of file EcalTPCondAnalyzer.cc.

unsigned long long EcalTPCondAnalyzer::getRecords ( edm::EventSetup const &  setup)
private

Definition at line 78 of file EcalTPCondAnalyzer.cc.

void EcalTPCondAnalyzer::printBadStrip ( const EcalTPGStripStatus ecaltpgBadStrip) const
private
void EcalTPCondAnalyzer::printBadTT ( const EcalTPGTowerStatus ecaltpgBadTT) const
private
void EcalTPCondAnalyzer::printBadX ( const EcalTPGCrystalStatus ecaltpgBadX) const
private
void EcalTPCondAnalyzer::printComment ( ) const
private

Definition at line 316 of file EcalTPCondAnalyzer.cc.

void EcalTPCondAnalyzer::printCRYSTAL ( const EcalTPGPedestals ecaltpPed,
const EcalTPGLinearizationConst ecaltpLin 
)
private

Definition at line 285 of file EcalTPCondAnalyzer.cc.

void EcalTPCondAnalyzer::printEcalTPGFineGrainEBIdMap ( const EcalTPGFineGrainEBIdMap ecaltpgFineGrainEB) const
private

Definition at line 259 of file EcalTPCondAnalyzer.cc.

void EcalTPCondAnalyzer::printEcalTPGLutIdMap ( const EcalTPGLutIdMap ecaltpgLut) const
private

Definition at line 273 of file EcalTPCondAnalyzer.cc.

void EcalTPCondAnalyzer::printEcalTPGPhysicsConst ( const EcalTPGPhysicsConst ecaltpgPhysConst) const
private

Definition at line 186 of file EcalTPCondAnalyzer.cc.

void EcalTPCondAnalyzer::printSpikeTh ( const EcalTPGSpike ecaltpgSpike) const
private
void EcalTPCondAnalyzer::printSTRIP ( const EcalTPGSlidingWindow ecaltpgSlidW,
const EcalTPGWeightGroup ecaltpgWeightGroup,
const EcalTPGFineGrainStripEE ecaltpgFgStripEE 
) const
private

Definition at line 200 of file EcalTPCondAnalyzer.cc.

void EcalTPCondAnalyzer::printTOWEREB ( const EcalTPGSpike ecaltpgSpike,
const EcalTPGFineGrainEBGroup ecaltpgFgEBGroup,
const EcalTPGLutGroup ecaltpgLutGroup 
) const
private

Definition at line 411 of file EcalTPCondAnalyzer.cc.

void EcalTPCondAnalyzer::printTOWEREE ( const EcalTPGFineGrainTowerEE ecaltpgFineGrainTowerEE,
const EcalTPGLutGroup ecaltpgLutGroup 
) const
private

Definition at line 432 of file EcalTPCondAnalyzer.cc.

void EcalTPCondAnalyzer::printWEIGHT ( const EcalTPGWeightIdMap ecaltpgWeightMap) const
private

Definition at line 244 of file EcalTPCondAnalyzer.cc.

Member Data Documentation

unsigned long long EcalTPCondAnalyzer::cacheID_
private

Definition at line 69 of file EcalTPCondAnalyzer.h.

const CaloSubdetectorGeometry* EcalTPCondAnalyzer::theBarrelGeometry_
private

Definition at line 72 of file EcalTPCondAnalyzer.h.

const CaloSubdetectorGeometry* EcalTPCondAnalyzer::theEndcapGeometry_
private

Definition at line 71 of file EcalTPCondAnalyzer.h.