#include <L1Trigger/L1TCaloLayer1/plugins/L1TCaloLayer1Validator.cc>
Public Member Functions | |
L1TCaloLayer1Validator (const edm::ParameterSet &) | |
~L1TCaloLayer1Validator () | |
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< ConsumesInfo > | consumesInfo () 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 () |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
Private Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) override |
virtual void | beginJob () override |
virtual void | endJob () override |
Private Attributes | |
uint32_t | badEventCount |
uint32_t | badNonZeroRegionCount |
uint32_t | badNonZeroTowerCount |
uint32_t | badRegionCount |
uint32_t | badTowerCount |
edm::EDGetTokenT < L1CaloRegionCollection > | emulRegionToken |
edm::EDGetTokenT < CaloTowerBxCollection > | emulTowerToken |
uint32_t | eventCount |
uint32_t | nbCard [18] |
uint32_t | nbRegion [22] |
uint32_t | ngCard [18] |
uint32_t | ngRegion [22] |
uint32_t | nonZeroRegionCount |
uint32_t | nonZeroTowerCount |
uint32_t | regionCount |
uint32_t | tEeTotET |
uint32_t | tErEmulTotET |
edm::EDGetTokenT < L1CaloRegionCollection > | testRegionToken |
edm::EDGetTokenT < CaloTowerBxCollection > | testTowerToken |
uint32_t | tGeTotET |
uint32_t | tGrEmulTotET |
uint32_t | tLeTotET |
uint32_t | tLrEmulTotET |
uint32_t | towerCount |
bool | validateRegions |
bool | validateTowers |
bool | verbose |
uint32_t | zbCard [18] |
uint32_t | zbRegion [22] |
uint32_t | zgCard [18] |
uint32_t | zgRegion [22] |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
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: This ED Analyzer compares output of CMS L1 Trigger Calo Layer-1 output (CaloTowers) from two sources
Implementation: It is expected that we compare CaloTowers from the spy source to that of the emulator. It can be used to compare any two CaloTower collections
Definition at line 47 of file L1TCaloLayer1Validator.cc.
|
explicit |
Definition at line 120 of file L1TCaloLayer1Validator.cc.
References EnergyCorrector::c, nbCard, nbRegion, ngCard, ngRegion, alignCSCRings::r, zbCard, zbRegion, zgCard, and zgRegion.
L1TCaloLayer1Validator::~L1TCaloLayer1Validator | ( | ) |
Definition at line 148 of file L1TCaloLayer1Validator.cc.
|
overrideprivatevirtual |
Implements edm::EDAnalyzer.
Definition at line 156 of file L1TCaloLayer1Validator.cc.
References funct::abs(), badEventCount, badNonZeroRegionCount, badNonZeroTowerCount, badRegionCount, badTowerCount, TauDecayModes::dec, emulRegionToken, emulTowerToken, eventCount, g, edm::Event::getByToken(), LOG_ERROR, nbCard, nbRegion, ngCard, ngRegion, nonZeroRegionCount, nonZeroTowerCount, regionCount, summarizeEdmComparisonLogfiles::success, tEeTotET, tErEmulTotET, testRegionToken, testTowerToken, tGeTotET, tGrEmulTotET, tLeTotET, tLrEmulTotET, towerCount, validateRegions, validateTowers, zbCard, zbRegion, zgCard, and zgRegion.
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 408 of file L1TCaloLayer1Validator.cc.
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 414 of file L1TCaloLayer1Validator.cc.
References badEventCount, badNonZeroRegionCount, badNonZeroTowerCount, badRegionCount, badTowerCount, eventCount, LOG_ERROR, nbCard, nbRegion, ngCard, ngRegion, nonZeroRegionCount, nonZeroTowerCount, alignCSCRings::r, regionCount, tEeTotET, tErEmulTotET, tGeTotET, tGrEmulTotET, tLeTotET, tLrEmulTotET, towerCount, validateRegions, validateTowers, zbCard, zbRegion, zgCard, and zgRegion.
|
static |
Definition at line 473 of file L1TCaloLayer1Validator.cc.
References edm::ConfigurationDescriptions::addDefault(), and edm::ParameterSetDescription::setUnknown().
|
private |
Definition at line 74 of file L1TCaloLayer1Validator.cc.
|
private |
Definition at line 82 of file L1TCaloLayer1Validator.cc.
|
private |
Definition at line 78 of file L1TCaloLayer1Validator.cc.
|
private |
Definition at line 80 of file L1TCaloLayer1Validator.cc.
|
private |
Definition at line 76 of file L1TCaloLayer1Validator.cc.
|
private |
Definition at line 71 of file L1TCaloLayer1Validator.cc.
Referenced by analyze().
|
private |
Definition at line 68 of file L1TCaloLayer1Validator.cc.
Referenced by analyze().
|
private |
Definition at line 73 of file L1TCaloLayer1Validator.cc.
|
private |
Definition at line 90 of file L1TCaloLayer1Validator.cc.
Referenced by analyze(), endJob(), and L1TCaloLayer1Validator().
|
private |
Definition at line 85 of file L1TCaloLayer1Validator.cc.
Referenced by analyze(), endJob(), and L1TCaloLayer1Validator().
|
private |
Definition at line 89 of file L1TCaloLayer1Validator.cc.
Referenced by analyze(), endJob(), and L1TCaloLayer1Validator().
|
private |
Definition at line 84 of file L1TCaloLayer1Validator.cc.
Referenced by analyze(), endJob(), and L1TCaloLayer1Validator().
|
private |
Definition at line 81 of file L1TCaloLayer1Validator.cc.
|
private |
Definition at line 77 of file L1TCaloLayer1Validator.cc.
|
private |
Definition at line 79 of file L1TCaloLayer1Validator.cc.
|
private |
Definition at line 99 of file L1TCaloLayer1Validator.cc.
|
private |
Definition at line 95 of file L1TCaloLayer1Validator.cc.
|
private |
Definition at line 70 of file L1TCaloLayer1Validator.cc.
Referenced by analyze().
|
private |
Definition at line 67 of file L1TCaloLayer1Validator.cc.
Referenced by analyze().
|
private |
Definition at line 100 of file L1TCaloLayer1Validator.cc.
|
private |
Definition at line 96 of file L1TCaloLayer1Validator.cc.
|
private |
Definition at line 98 of file L1TCaloLayer1Validator.cc.
|
private |
Definition at line 94 of file L1TCaloLayer1Validator.cc.
|
private |
Definition at line 75 of file L1TCaloLayer1Validator.cc.
|
private |
Definition at line 103 of file L1TCaloLayer1Validator.cc.
|
private |
Definition at line 102 of file L1TCaloLayer1Validator.cc.
|
private |
Definition at line 105 of file L1TCaloLayer1Validator.cc.
Referenced by python.diff_provenance.difference::list_diff(), python.diffProv.difference::list_diff(), python.diff_provenance.difference::module_diff(), python.diffProv.difference::module_diff(), python.diff_provenance.difference::onefilemodules(), python.diffProv.difference::onefilemodules(), core.TriggerMatchAnalyzer.TriggerMatchAnalyzer::process(), core.SkimAnalyzerCount.SkimAnalyzerCount::process(), and objects.VertexAnalyzer.VertexAnalyzer::process().
|
private |
Definition at line 92 of file L1TCaloLayer1Validator.cc.
Referenced by analyze(), endJob(), and L1TCaloLayer1Validator().
|
private |
Definition at line 87 of file L1TCaloLayer1Validator.cc.
Referenced by analyze(), endJob(), and L1TCaloLayer1Validator().
|
private |
Definition at line 91 of file L1TCaloLayer1Validator.cc.
Referenced by analyze(), endJob(), and L1TCaloLayer1Validator().
|
private |
Definition at line 86 of file L1TCaloLayer1Validator.cc.
Referenced by analyze(), endJob(), and L1TCaloLayer1Validator().