#include <HltComparator.h>
Public Member Functions | |
HltComparator (const edm::ParameterSet &) | |
~HltComparator () | |
Public Member Functions inherited from edm::EDFilter | |
EDFilter () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDFilter () |
Public Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
std::vector< edm::ProductResolverIndex > const & | indiciesForPutProducts (BranchType iBranchType) const |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
void | resolvePutIndicies (BranchType iBranchType, std::unordered_multimap< std::string, edm::ProductResolverIndex > const &iIndicies, std::string const &moduleLabel) |
virtual | ~ProducerBase () noexcept(false) |
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 | |
virtual void | beginJob () |
virtual void | endJob () |
virtual bool | filter (edm::Event &, const edm::EventSetup &) |
std::string | formatResult (const unsigned int) |
void | initialise (const edm::TriggerResults &, const edm::TriggerResults &, edm::Event &e) |
bool | verbose () const |
Private Attributes | |
std::vector< TH1F * > | comparisonHists_ |
edm::EDGetTokenT< edm::TriggerResults > | hltOfflineResults_ |
edm::EDGetTokenT< edm::TriggerResults > | hltOnlineResults_ |
bool | init_ |
unsigned int | numTriggers_ |
std::vector< std::string > | offlineActualNames_ |
std::vector< std::string > | onlineActualNames_ |
std::vector< unsigned int > | onlineToOfflineBitMappings_ |
std::vector< std::string > | skipPathList_ |
std::map< unsigned int, std::map< std::string, unsigned int > > | triggerComparisonErrors_ |
std::vector< std::string > | usePathList_ |
bool | verbose_ |
Additional Inherited Members | |
Public Types inherited from edm::EDFilter | |
typedef EDFilter | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::EDFilter | |
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 15 of file HltComparator.h.
|
explicit |
Definition at line 32 of file HltComparator.cc.
HltComparator::~HltComparator | ( | ) |
Definition at line 46 of file HltComparator.cc.
|
privatevirtual |
|
privatevirtual |
Reimplemented from edm::EDFilter.
Definition at line 287 of file HltComparator.cc.
References gather_cfg::cout, formatResult(), and triggerComparisonErrors_.
|
privatevirtual |
Definition at line 157 of file HltComparator.cc.
References edm::HLTGlobalStatus::accept(), comparisonHists_, gather_cfg::cout, edm::HLTGlobalStatus::error(), spr::find(), formatResult(), hltOfflineResults_, hltOnlineResults_, mps_fire::i, init_, initialise(), kOnErrorOffRun, kOnFailOffPass, kOnNotOffRun, kOnPassOffFail, kOnRunOffError, kOnRunOffNot, eostools::move(), numTriggers_, onlineActualNames_, onlineToOfflineBitMappings_, mps_fire::result, skipPathList_, triggerComparisonErrors_, usePathList_, verbose(), and edm::HLTGlobalStatus::wasrun().
|
private |
Definition at line 119 of file HltComparator.cc.
References AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by endJob(), and filter().
|
private |
Definition at line 52 of file HltComparator.cc.
References a, comparisonHists_, Exception, mps_fire::i, init_, TFileService::make(), numTriggers_, offlineActualNames_, onlineActualNames_, onlineToOfflineBitMappings_, edm::TriggerNames::triggerNames(), and edm::Event::triggerNames().
Referenced by filter().
|
inlineprivate |
|
private |
Definition at line 29 of file HltComparator.h.
Referenced by filter(), and initialise().
|
private |
Definition at line 23 of file HltComparator.h.
Referenced by filter().
|
private |
Definition at line 22 of file HltComparator.h.
Referenced by filter().
|
private |
Definition at line 32 of file HltComparator.h.
Referenced by filter(), and initialise().
|
private |
Definition at line 39 of file HltComparator.h.
Referenced by filter(), and initialise().
|
private |
Definition at line 26 of file HltComparator.h.
Referenced by initialise().
|
private |
Definition at line 25 of file HltComparator.h.
Referenced by filter(), and initialise().
|
private |
Definition at line 27 of file HltComparator.h.
Referenced by filter(), and initialise().
|
private |
Definition at line 36 of file HltComparator.h.
Referenced by filter().
|
private |
Definition at line 30 of file HltComparator.h.
|
private |
Definition at line 37 of file HltComparator.h.
Referenced by filter().
|
private |
Definition at line 33 of file HltComparator.h.
Referenced by verbose().