![]() |
![]() |
#include <L1Trigger/L1TCaloLayer1/plugins/L1TCaloLayer1Validator.cc>
Public Member Functions | |
L1TCaloLayer1Validator (const edm::ParameterSet &) | |
~L1TCaloLayer1Validator () | |
![]() | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzer () | |
ModuleDescription const & | moduleDescription () const |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
![]() | |
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 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 | badNonZeroTowerCount |
uint32_t | badTowerCount |
std::string | emulLabel |
edm::EDGetTokenT < CaloTowerBxCollection > | emulSource |
uint32_t | eventCount |
uint32_t | nonZeroTowerCount |
std::string | testLabel |
edm::EDGetTokenT < CaloTowerBxCollection > | testSource |
uint32_t | towerCount |
bool | verbose |
Additional Inherited Members | |
![]() | |
typedef EDAnalyzer | ModuleType |
![]() | |
typedef ProductLabels | Labels |
![]() | |
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 40 of file L1TCaloLayer1Validator.cc.
|
explicit |
Definition at line 87 of file L1TCaloLayer1Validator.cc.
L1TCaloLayer1Validator::~L1TCaloLayer1Validator | ( | ) |
Definition at line 98 of file L1TCaloLayer1Validator.cc.
|
overrideprivatevirtual |
Implements edm::EDAnalyzer.
Definition at line 106 of file L1TCaloLayer1Validator.cc.
References badEventCount, badNonZeroTowerCount, badTowerCount, gather_cfg::cout, emulSource, eventCount, edm::Event::getByToken(), nonZeroTowerCount, summarizeEdmComparisonLogfiles::success, testSource, and towerCount.
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 177 of file L1TCaloLayer1Validator.cc.
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 183 of file L1TCaloLayer1Validator.cc.
References badEventCount, badNonZeroTowerCount, badTowerCount, gather_cfg::cout, eventCount, nonZeroTowerCount, and towerCount.
|
static |
Definition at line 225 of file L1TCaloLayer1Validator.cc.
References edm::ConfigurationDescriptions::addDefault(), and edm::ParameterSetDescription::setUnknown().
|
private |
Definition at line 66 of file L1TCaloLayer1Validator.cc.
|
private |
Definition at line 70 of file L1TCaloLayer1Validator.cc.
|
private |
Definition at line 68 of file L1TCaloLayer1Validator.cc.
|
private |
Definition at line 63 of file L1TCaloLayer1Validator.cc.
|
private |
Definition at line 62 of file L1TCaloLayer1Validator.cc.
Referenced by analyze().
|
private |
Definition at line 65 of file L1TCaloLayer1Validator.cc.
|
private |
Definition at line 69 of file L1TCaloLayer1Validator.cc.
|
private |
Definition at line 61 of file L1TCaloLayer1Validator.cc.
|
private |
Definition at line 60 of file L1TCaloLayer1Validator.cc.
Referenced by analyze().
|
private |
Definition at line 67 of file L1TCaloLayer1Validator.cc.
|
private |
Definition at line 72 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(), and objects.VertexAnalyzer.VertexAnalyzer::process().