#include <TriggerSelector.h>
Classes | |
class | TreeElement |
Public Types | |
typedef std::vector< std::string > | Strings |
Public Member Functions | |
bool | acceptEvent (edm::TriggerResults const &) const |
bool | acceptEvent (unsigned char const *, int) const |
bool | returnStatus (edm::HLTGlobalStatus const &trStatus) const |
TriggerSelector (Strings const &pathspecs, Strings const &names) | |
TriggerSelector (std::string const &expression, Strings const &triggernames) | |
bool | wantAll () const |
~TriggerSelector ()=default | |
Static Public Member Functions | |
static std::string | makeXMLString (std::string const &input) |
Private Member Functions | |
void | init (std::string const &path, Strings const &triggernames) |
Static Private Member Functions | |
static std::string | trim (std::string input) |
Private Attributes | |
bool | acceptAll_ |
std::shared_ptr< edm::EventSelector > | eventSelector_ |
std::string | expression_ |
std::shared_ptr< TreeElement > | masterElement_ |
bool | useOld_ |
Static Private Attributes | |
static const bool | debug_ = false |
Event selector allowing for and/not combination of triggers/paths
Definition at line 20 of file TriggerSelector.h.
typedef std::vector<std::string> dqmservices::TriggerSelector::Strings |
Definition at line 22 of file TriggerSelector.h.
Initializes TriggerSelector to use edm::EventSelector for selection.
Definition at line 19 of file TriggerSelector.cc.
References acceptAll_, and eventSelector_.
dqmservices::TriggerSelector::TriggerSelector | ( | std::string const & | expression, |
Strings const & | triggernames | ||
) |
Takes selection string and list of triggers
Definition at line 24 of file TriggerSelector.cc.
References l1tGTMenu_hadr_metSeeds_cff::expression, init(), and trim().
|
default |
bool dqmservices::TriggerSelector::acceptEvent | ( | edm::TriggerResults const & | tr | ) | const |
Evaluates if trigger results pass selection
Definition at line 53 of file TriggerSelector.cc.
References acceptAll_, eventSelector_, masterElement_, and useOld_.
bool dqmservices::TriggerSelector::acceptEvent | ( | unsigned char const * | array_of_trigger_results, |
int | number_of_trigger_paths | ||
) | const |
Definition at line 64 of file TriggerSelector.cc.
References acceptAll_, eventSelector_, masterElement_, and useOld_.
|
private |
Definition at line 28 of file TriggerSelector.cc.
References acceptAll_, l1tGTMenu_hadr_metSeeds_cff::expression, expression_, masterElement_, AlCaHLTBitMon_QueryRunRegistry::string, and groupFilesInBlocks::temp.
Referenced by TriggerSelector().
|
static |
Definition at line 294 of file TriggerSelector.cc.
References input, convertSQLitetoXML_cfg::output, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inline |
Definition at line 56 of file TriggerSelector.h.
References masterElement_.
Referenced by dqmservices::TriggerSelector::TreeElement::returnStatus().
|
staticprivate |
Definition at line 281 of file TriggerSelector.cc.
References input.
Referenced by dqmservices::TriggerSelector::TreeElement::TreeElement(), and TriggerSelector().
|
inline |
Returns status of always positive bit
Definition at line 39 of file TriggerSelector.h.
References acceptAll_.
|
private |
Definition at line 64 of file TriggerSelector.h.
Referenced by acceptEvent(), init(), TriggerSelector(), and wantAll().
|
staticprivate |
Definition at line 121 of file TriggerSelector.h.
Referenced by dqmservices::TriggerSelector::TreeElement::TreeElement().
|
private |
Definition at line 118 of file TriggerSelector.h.
Referenced by acceptEvent(), and TriggerSelector().
|
private |
Definition at line 116 of file TriggerSelector.h.
Referenced by init().
|
private |
Definition at line 113 of file TriggerSelector.h.
Referenced by acceptEvent(), init(), and returnStatus().
|
private |
Definition at line 119 of file TriggerSelector.h.
Referenced by acceptEvent().