#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) |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
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 () |
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 |
Implements edm::EDFilter.
Definition at line 157 of file HltComparator.cc.
References comparisonHists_, gather_cfg::cout, spr::find(), formatResult(), hltOfflineResults_, hltOnlineResults_, i, init_, initialise(), kOnErrorOffRun, kOnFailOffPass, kOnNotOffRun, kOnPassOffFail, kOnRunOffError, kOnRunOffNot, numTriggers_, onlineActualNames_, onlineToOfflineBitMappings_, query::result, skipPathList_, triggerComparisonErrors_, usePathList_, and verbose().
|
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, h, 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().