#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 (edm::ParameterSet const &pset, Strings const &triggernames, bool old_=false) | |
TriggerSelector (std::string const &expression, Strings const &triggernames) | |
bool | wantAll () const |
~TriggerSelector () | |
Static Public Member Functions | |
static std::vector< std::string > | getEventSelectionVString (edm::ParameterSet const &pset) |
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 19 of file TriggerSelector.h.
typedef std::vector<std::string> dqmservices::TriggerSelector::Strings |
Definition at line 21 of file TriggerSelector.h.
Obsolete: Initializes TriggerSelector to use edm::EventSelector for selection.
Definition at line 16 of file TriggerSelector.cc.
References acceptAll_, eventSelector_, and names.
dqmservices::TriggerSelector::TriggerSelector | ( | edm::ParameterSet const & | pset, |
Strings const & | triggernames, | ||
bool | old_ = false |
||
) |
Takes ParameterSet wth TriggerSelector string or EventSelection list, and a list of triggers. if old_ is true, it is forced to use EventSelection.
Definition at line 21 of file TriggerSelector.cc.
References acceptAll_, eventSelector_, init(), Skims_PA_cff::paths, AlCaHLTBitMon_QueryRunRegistry::string, trim(), and useOld_.
dqmservices::TriggerSelector::TriggerSelector | ( | std::string const & | expression, |
Strings const & | triggernames | ||
) |
Takes selection string and list of triggers
Definition at line 58 of file TriggerSelector.cc.
References init(), and trim().
|
inline |
Definition at line 41 of file TriggerSelector.h.
bool dqmservices::TriggerSelector::acceptEvent | ( | edm::TriggerResults const & | tr | ) | const |
Evaluates if trigger results pass selection
Definition at line 94 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 105 of file TriggerSelector.cc.
References acceptAll_, eventSelector_, masterElement_, and useOld_.
|
static |
Definition at line 90 of file TriggerSelector.cc.
References edm::EventSelector::getEventSelectionVString(), and muonDTDigis_cfi::pset.
|
private |
Definition at line 62 of file TriggerSelector.cc.
References acceptAll_, expression_, masterElement_, AlCaHLTBitMon_QueryRunRegistry::string, and groupFilesInBlocks::temp.
Referenced by TriggerSelector().
|
static |
Definition at line 335 of file TriggerSelector.cc.
References input, convertSQLitetoXML_cfg::output, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inline |
Definition at line 66 of file TriggerSelector.h.
References masterElement_.
Referenced by dqmservices::TriggerSelector::TreeElement::returnStatus().
|
staticprivate |
Definition at line 322 of file TriggerSelector.cc.
References input.
Referenced by dqmservices::TriggerSelector::TreeElement::TreeElement(), and TriggerSelector().
|
inline |
Returns status of always positive bit
Definition at line 46 of file TriggerSelector.h.
References acceptAll_.
|
private |
Definition at line 79 of file TriggerSelector.h.
Referenced by acceptEvent(), init(), TriggerSelector(), and wantAll().
|
staticprivate |
Definition at line 136 of file TriggerSelector.h.
Referenced by dqmservices::TriggerSelector::TreeElement::TreeElement().
|
private |
Definition at line 133 of file TriggerSelector.h.
Referenced by acceptEvent(), and TriggerSelector().
|
private |
Definition at line 131 of file TriggerSelector.h.
Referenced by init().
|
private |
Definition at line 128 of file TriggerSelector.h.
Referenced by acceptEvent(), init(), and returnStatus().
|
private |
Definition at line 134 of file TriggerSelector.h.
Referenced by acceptEvent(), and TriggerSelector().