Provides a code based selection for trigger and DCS information in order to have no failing filters in the CMSSW path. More...
#include "CommonTools/TriggerUtils/interface/GenericTriggerEventFlag.h"
Public Member Functions | |
bool | accept (const edm::Event &event, const edm::EventSetup &setup) |
To be called from analyze/filter() methods. More... | |
std::vector< std::string > | expressionsFromDB (const std::string &key, const edm::EventSetup &setup) |
Reads and returns logical expressions from DB. More... | |
template<typename T > | |
GenericTriggerEventFlag (const edm::ParameterSet &config, edm::ConsumesCollector &&iC, T &module) | |
template<typename T > | |
GenericTriggerEventFlag (const edm::ParameterSet &config, edm::ConsumesCollector &iC, T &module) | |
std::string | gtDBKey () |
std::string | hltDBKey () |
void | initRun (const edm::Run &run, const edm::EventSetup &setup) |
To be called from beginRun() methods. More... | |
std::string | l1DBKey () |
bool | off () |
bool | on () |
~GenericTriggerEventFlag () | |
To be called from d'tors by 'delete'. More... | |
Private Member Functions | |
bool | acceptDcs (const edm::Event &event) |
bool | acceptDcsPartition (const edm::Handle< DcsStatusCollection > &dcsStatus, int dcsPartition) const |
bool | acceptGt (const edm::Event &event) |
Does this event fulfill the configured GT status logical expression combination? More... | |
bool | acceptGtLogicalExpression (const edm::Event &event, std::string gtLogicalExpression) |
Does this event fulfill this particular GT status bits' logical expression? More... | |
bool | acceptHlt (const edm::Event &event) |
Was this event accepted by the configured HLT logical expression combination? More... | |
bool | acceptHltLogicalExpression (const edm::Handle< edm::TriggerResults > &hltTriggerResults, std::string hltLogicalExpression) const |
Was this event accepted by this particular HLT paths' logical expression? More... | |
bool | acceptL1 (const edm::Event &event, const edm::EventSetup &setup) |
Was this event accepted by the configured L1 logical expression combination? More... | |
bool | acceptL1LogicalExpression (const edm::Event &event, const edm::EventSetup &setup, std::string l1LogicalExpression) |
Was this event accepted by this particular L1 algorithms' logical expression? More... | |
std::string | expandLogicalExpression (const std::vector< std::string > &target, const std::string &expr, bool useAnd=false) const |
Expand wild-carded logical expressions, giving version postfixes priority. More... | |
GenericTriggerEventFlag (const edm::ParameterSet &config, edm::ConsumesCollector &iC) | |
To be called from the ED module's c'tor. More... | |
bool | negate (std::string &word) const |
Checks for negated words. More... | |
Provides a code based selection for trigger and DCS information in order to have no failing filters in the CMSSW path.
[...]
Definition at line 41 of file GenericTriggerEventFlag.h.
GenericTriggerEventFlag::GenericTriggerEventFlag | ( | const edm::ParameterSet & | config, |
edm::ConsumesCollector && | iC, | ||
T & | module | ||
) |
Definition at line 146 of file GenericTriggerEventFlag.h.
GenericTriggerEventFlag::GenericTriggerEventFlag | ( | const edm::ParameterSet & | config, |
edm::ConsumesCollector & | iC, | ||
T & | module | ||
) |
Definition at line 151 of file GenericTriggerEventFlag.h.
GenericTriggerEventFlag::~GenericTriggerEventFlag | ( | ) |
To be called from d'tors by 'delete'.
Definition at line 125 of file GenericTriggerEventFlag.cc.
|
private |
To be called from the ED module's c'tor.
Definition at line 25 of file GenericTriggerEventFlag.cc.
bool GenericTriggerEventFlag::accept | ( | const edm::Event & | event, |
const edm::EventSetup & | setup | ||
) |
To be called from analyze/filter() methods.
Definition at line 239 of file GenericTriggerEventFlag.cc.
Referenced by Vispa.Gui.BoxContentDialog.BoxContentDialog::apply().
|
private |
Definition at line 251 of file GenericTriggerEventFlag.cc.
|
private |
Definition at line 284 of file GenericTriggerEventFlag.cc.
|
private |
Does this event fulfill the configured GT status logical expression combination?
Definition at line 326 of file GenericTriggerEventFlag.cc.
|
private |
Does this event fulfill this particular GT status bits' logical expression?
Definition at line 348 of file GenericTriggerEventFlag.cc.
|
private |
Was this event accepted by the configured HLT logical expression combination?
Definition at line 509 of file GenericTriggerEventFlag.cc.
|
private |
Was this event accepted by this particular HLT paths' logical expression?
Definition at line 549 of file GenericTriggerEventFlag.cc.
|
private |
Was this event accepted by the configured L1 logical expression combination?
Definition at line 423 of file GenericTriggerEventFlag.cc.
|
private |
Was this event accepted by this particular L1 algorithms' logical expression?
Definition at line 445 of file GenericTriggerEventFlag.cc.
|
private |
Expand wild-carded logical expressions, giving version postfixes priority.
Definition at line 596 of file GenericTriggerEventFlag.cc.
std::vector< std::string > GenericTriggerEventFlag::expressionsFromDB | ( | const std::string & | key, |
const edm::EventSetup & | setup | ||
) |
Reads and returns logical expressions from DB.
Definition at line 647 of file GenericTriggerEventFlag.cc.
|
inline |
Definition at line 137 of file GenericTriggerEventFlag.h.
|
inline |
Definition at line 139 of file GenericTriggerEventFlag.h.
void GenericTriggerEventFlag::initRun | ( | const edm::Run & | run, |
const edm::EventSetup & | setup | ||
) |
To be called from beginRun() methods.
Definition at line 134 of file GenericTriggerEventFlag.cc.
|
inline |
Definition at line 138 of file GenericTriggerEventFlag.h.
|
private |
Checks for negated words.
Definition at line 632 of file GenericTriggerEventFlag.cc.
|
inline |
Definition at line 103 of file GenericTriggerEventFlag.h.
|
inline |
Definition at line 102 of file GenericTriggerEventFlag.h.
|
private |
Definition at line 50 of file GenericTriggerEventFlag.h.
|
private |
Definition at line 53 of file GenericTriggerEventFlag.h.
|
private |
Definition at line 58 of file GenericTriggerEventFlag.h.
|
private |
Definition at line 73 of file GenericTriggerEventFlag.h.
|
private |
Definition at line 66 of file GenericTriggerEventFlag.h.
|
private |
Definition at line 87 of file GenericTriggerEventFlag.h.
|
private |
Definition at line 51 of file GenericTriggerEventFlag.h.
|
private |
Definition at line 54 of file GenericTriggerEventFlag.h.
|
private |
Definition at line 55 of file GenericTriggerEventFlag.h.
|
private |
Definition at line 56 of file GenericTriggerEventFlag.h.
|
private |
Definition at line 88 of file GenericTriggerEventFlag.h.
|
private |
Definition at line 57 of file GenericTriggerEventFlag.h.
|
private |
Definition at line 65 of file GenericTriggerEventFlag.h.
|
private |
Definition at line 79 of file GenericTriggerEventFlag.h.
|
private |
Definition at line 72 of file GenericTriggerEventFlag.h.
|
private |
Definition at line 63 of file GenericTriggerEventFlag.h.
|
private |
Definition at line 61 of file GenericTriggerEventFlag.h.
|
private |
Definition at line 62 of file GenericTriggerEventFlag.h.
|
private |
Definition at line 59 of file GenericTriggerEventFlag.h.
|
private |
Definition at line 60 of file GenericTriggerEventFlag.h.
|
private |
Definition at line 64 of file GenericTriggerEventFlag.h.
|
private |
Definition at line 47 of file GenericTriggerEventFlag.h.
|
private |
Definition at line 48 of file GenericTriggerEventFlag.h.
|
private |
Definition at line 76 of file GenericTriggerEventFlag.h.
|
private |
Definition at line 74 of file GenericTriggerEventFlag.h.
|
private |
Definition at line 75 of file GenericTriggerEventFlag.h.
|
private |
Definition at line 78 of file GenericTriggerEventFlag.h.
|
private |
Definition at line 77 of file GenericTriggerEventFlag.h.
|
private |
Definition at line 68 of file GenericTriggerEventFlag.h.
|
private |
Definition at line 69 of file GenericTriggerEventFlag.h.
|
private |
Definition at line 45 of file GenericTriggerEventFlag.h.
|
private |
Definition at line 71 of file GenericTriggerEventFlag.h.
|
private |
Definition at line 70 of file GenericTriggerEventFlag.h.
|
private |
Definition at line 46 of file GenericTriggerEventFlag.h.
|
private |
Definition at line 81 of file GenericTriggerEventFlag.h.
|
private |
Definition at line 82 of file GenericTriggerEventFlag.h.
|
private |
Definition at line 83 of file GenericTriggerEventFlag.h.
|
private |
Definition at line 85 of file GenericTriggerEventFlag.h.
|
private |
Definition at line 84 of file GenericTriggerEventFlag.h.
|
private |
Definition at line 67 of file GenericTriggerEventFlag.h.
|
private |
Definition at line 52 of file GenericTriggerEventFlag.h.
|
private |
Definition at line 44 of file GenericTriggerEventFlag.h.