#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 23 of file TriggerSelector.h.
typedef std::vector<std::string> edm::TriggerSelector::Strings |
Definition at line 27 of file TriggerSelector.h.
Obsolete: Initializes TriggerSelector to use edm::EventSelector for selection.
Definition at line 18 of file TriggerSelector.cc.
edm::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 29 of file TriggerSelector.cc.
References edm::ParameterSet::empty(), edm::ParameterSet::getParameter(), init, mergeAndRegister::paths, and AlCaHLTBitMon_QueryRunRegistry::string.
edm::TriggerSelector::TriggerSelector | ( | std::string const & | expression, |
Strings const & | triggernames | ||
) |
Takes selection string and list of triggers
Definition at line 72 of file TriggerSelector.cc.
References init.
|
inline |
Definition at line 47 of file TriggerSelector.h.
bool edm::TriggerSelector::acceptEvent | ( | edm::TriggerResults const & | tr | ) | const |
Evaluates if trigger results pass selection
Definition at line 120 of file TriggerSelector.cc.
References acceptAll_, eventSelector_, masterElement_, and useOld_.
bool edm::TriggerSelector::acceptEvent | ( | unsigned char const * | array_of_trigger_results, |
int | number_of_trigger_paths | ||
) | const |
Definition at line 133 of file TriggerSelector.cc.
|
static |
Definition at line 115 of file TriggerSelector.cc.
References edm::EventSelector::getEventSelectionVString().
|
private |
Definition at line 83 of file TriggerSelector.cc.
References AlCaHLTBitMon_QueryRunRegistry::string, and groupFilesInBlocks::temp.
|
static |
Definition at line 394 of file TriggerSelector.cc.
References convertSQLitetoXML_cfg::output, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inline |
Definition at line 71 of file TriggerSelector.h.
References masterElement_.
|
staticprivate |
|
inline |
Returns status of always positive bit
Definition at line 52 of file TriggerSelector.h.
References acceptAll_.
|
private |
Definition at line 88 of file TriggerSelector.h.
Referenced by acceptEvent(), and wantAll().
|
staticprivate |
Definition at line 152 of file TriggerSelector.h.
|
private |
Definition at line 149 of file TriggerSelector.h.
Referenced by acceptEvent().
|
private |
Definition at line 147 of file TriggerSelector.h.
|
private |
Definition at line 144 of file TriggerSelector.h.
Referenced by acceptEvent(), and returnStatus().
|
private |
Definition at line 150 of file TriggerSelector.h.
Referenced by acceptEvent().