#include <HtrXmlPattern.h>
Public Member Functions | |
HtrXmlPattern (const edm::ParameterSet &) | |
~HtrXmlPattern () override | |
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 |
~EDAnalyzer () override | |
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 | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
virtual void | do_hand_fill (const HcalElectronicsMap *) |
void | endJob () override |
Private Attributes | |
bool | m_fill_by_hand |
bool | m_filled |
int | m_hand_pattern_number |
int | m_sets_to_show |
HtrXmlPatternTool * | m_tool |
HtrXmlPatternToolParameters * | m_toolparameters |
bool | m_write_root_file |
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) |
Definition at line 21 of file HtrXmlPattern.h.
|
explicit |
Definition at line 13 of file HtrXmlPattern.cc.
References edm::ParameterSet::getUntrackedParameter(), m_fill_by_hand, m_filled, m_hand_pattern_number, m_sets_to_show, HtrXmlPatternToolParameters::m_show_errors, m_tool, m_toolparameters, m_write_root_file, ValidationMatrix::out_dir, and AlCaHLTBitMon_QueryRunRegistry::string.
|
override |
Definition at line 38 of file HtrXmlPattern.cc.
References m_tool, and m_toolparameters.
|
overrideprivate |
Definition at line 45 of file HtrXmlPattern.cc.
References edm::SortedCollection< T, SORT >::begin(), EnergyCorrector::c, KineDebug3::count(), gather_cfg::cout, do_hand_fill(), edm::SortedCollection< T, SORT >::end(), HtrXmlPatternTool::Fill(), edm::EventSetup::get(), HcalDbService::getHcalMapping(), edm::Event::getManyByType(), photonIsolationHIProducer_cfi::hbhe, AnalysisDataFormats_SUSYBSMObjects::hc, photonIsolationHIProducer_cfi::hf, photonIsolationHIProducer_cfi::ho, mps_fire::i, HcalElectronicsMap::lookup(), m_fill_by_hand, m_filled, m_sets_to_show, m_tool, and hcalSimParameters_cfi::zdc.
|
privatevirtual |
Definition at line 143 of file HtrXmlPattern.cc.
References SimDataFormats::CaloAnalysis::cp, ChannelPattern::Fill_by_hand(), HtrXmlPatternSet::getCrate(), CrateData::getHalfHtrData(), HalfHtrData::getPattern(), HtrXmlPatternTool::GetPatternSet(), m_hand_pattern_number, m_tool, ChannelPattern::NUM_CRATES, and ChannelPattern::NUM_SLOTS.
Referenced by analyze().
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 167 of file HtrXmlPattern.cc.
References HtrXmlPatternTool::createHists(), m_tool, m_toolparameters, m_write_root_file, HtrXmlPatternToolParameters::m_XML_file_mode, HtrXmlPatternTool::prepareDirs(), and HtrXmlPatternTool::writeXML().
|
private |
Definition at line 34 of file HtrXmlPattern.h.
Referenced by analyze(), and HtrXmlPattern().
|
private |
Definition at line 35 of file HtrXmlPattern.h.
Referenced by analyze(), and HtrXmlPattern().
|
private |
Definition at line 33 of file HtrXmlPattern.h.
Referenced by do_hand_fill(), and HtrXmlPattern().
|
private |
Definition at line 32 of file HtrXmlPattern.h.
Referenced by analyze(), and HtrXmlPattern().
|
private |
Definition at line 30 of file HtrXmlPattern.h.
Referenced by analyze(), do_hand_fill(), endJob(), HtrXmlPattern(), and ~HtrXmlPattern().
|
private |
Definition at line 31 of file HtrXmlPattern.h.
Referenced by endJob(), HtrXmlPattern(), and ~HtrXmlPattern().
|
private |
Definition at line 36 of file HtrXmlPattern.h.
Referenced by endJob(), and HtrXmlPattern().