#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_ |
boost::shared_ptr< edm::EventSelector > | eventSelector_ |
std::string | expression_ |
boost::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 21 of file TriggerSelector.h.
typedef std::vector<std::string> dqmservices::TriggerSelector::Strings |
Definition at line 23 of file TriggerSelector.h.
Obsolete: Initializes TriggerSelector to use edm::EventSelector for selection.
Definition at line 16 of file TriggerSelector.cc.
References acceptAll_, and eventSelector_.
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 22 of file TriggerSelector.cc.
References acceptAll_, edm::ParameterSet::empty(), eventSelector_, edm::ParameterSet::getParameter(), init(), 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 61 of file TriggerSelector.cc.
References init(), and trim().
|
inline |
Definition at line 44 of file TriggerSelector.h.
bool dqmservices::TriggerSelector::acceptEvent | ( | edm::TriggerResults const & | tr | ) | const |
Evaluates if trigger results pass selection
Definition at line 101 of file TriggerSelector.cc.
References acceptAll_, eventSelector_, masterElement_, and useOld_.
Referenced by wantAll().
bool dqmservices::TriggerSelector::acceptEvent | ( | unsigned char const * | array_of_trigger_results, |
int | number_of_trigger_paths | ||
) | const |
Definition at line 111 of file TriggerSelector.cc.
References acceptAll_, eventSelector_, masterElement_, and useOld_.
|
static |
Definition at line 96 of file TriggerSelector.cc.
References edm::EventSelector::getEventSelectionVString().
Referenced by returnStatus().
|
private |
Definition at line 67 of file TriggerSelector.cc.
References acceptAll_, expression_, masterElement_, AlCaHLTBitMon_QueryRunRegistry::string, and groupFilesInBlocks::temp.
Referenced by TriggerSelector().
|
static |
Definition at line 355 of file TriggerSelector.cc.
References convertSQLitetoXML_cfg::output, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by returnStatus().
|
inline |
Definition at line 69 of file TriggerSelector.h.
References getEventSelectionVString(), input, makeXMLString(), masterElement_, muonDTDigis_cfi::pset, and AlCaHLTBitMon_QueryRunRegistry::string.
|
staticprivate |
Definition at line 344 of file TriggerSelector.cc.
References input.
Referenced by dqmservices::TriggerSelector::TreeElement::TreeElement(), and TriggerSelector().
|
inline |
Returns status of always positive bit
Definition at line 49 of file TriggerSelector.h.
References acceptAll_, and acceptEvent().
|
private |
Definition at line 85 of file TriggerSelector.h.
Referenced by acceptEvent(), init(), TriggerSelector(), and wantAll().
|
staticprivate |
Definition at line 143 of file TriggerSelector.h.
Referenced by dqmservices::TriggerSelector::TreeElement::TreeElement().
|
private |
Definition at line 140 of file TriggerSelector.h.
Referenced by acceptEvent(), and TriggerSelector().
|
private |
Definition at line 138 of file TriggerSelector.h.
Referenced by init().
|
private |
Definition at line 135 of file TriggerSelector.h.
Referenced by acceptEvent(), init(), and returnStatus().
|
private |
Definition at line 141 of file TriggerSelector.h.
Referenced by acceptEvent(), and TriggerSelector().