#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 29 of file TriggerSelector.h.
typedef std::vector<std::string> stor::TriggerSelector::Strings |
Definition at line 33 of file TriggerSelector.h.
Obsolete: Initializes TriggerSelector to use edm::EventSelector for selection.
Definition at line 21 of file TriggerSelector.cc.
stor::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 32 of file TriggerSelector.cc.
References edm::ParameterSet::empty(), edm::ParameterSet::getParameter(), init, EgammaValidation_cff::paths, and AlCaHLTBitMon_QueryRunRegistry::string.
stor::TriggerSelector::TriggerSelector | ( | std::string const & | expression, |
Strings const & | triggernames | ||
) |
Takes selection string and list of triggers
Definition at line 75 of file TriggerSelector.cc.
References init.
|
inline |
Definition at line 53 of file TriggerSelector.h.
bool stor::TriggerSelector::acceptEvent | ( | edm::TriggerResults const & | tr | ) | const |
Evaluates if trigger results pass selection
Definition at line 123 of file TriggerSelector.cc.
References acceptAll_, eventSelector_, masterElement_, and useOld_.
bool stor::TriggerSelector::acceptEvent | ( | unsigned char const * | array_of_trigger_results, |
int | number_of_trigger_paths | ||
) | const |
Definition at line 136 of file TriggerSelector.cc.
References evf::utils::state.
|
static |
Definition at line 118 of file TriggerSelector.cc.
References edm::EventSelector::getEventSelectionVString().
|
private |
Definition at line 86 of file TriggerSelector.cc.
References AlCaHLTBitMon_QueryRunRegistry::string, and groupFilesInBlocks::temp.
|
static |
Definition at line 397 of file TriggerSelector.cc.
References convertSQLitetoXML_cfg::output, pos, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inline |
Definition at line 77 of file TriggerSelector.h.
References masterElement_.
|
staticprivate |
Definition at line 382 of file TriggerSelector.cc.
References LaserDQM_cfg::input, and pos.
|
inline |
Returns status of always positive bit
Definition at line 58 of file TriggerSelector.h.
References acceptAll_.
|
private |
Definition at line 94 of file TriggerSelector.h.
Referenced by acceptEvent(), and wantAll().
|
staticprivate |
Definition at line 158 of file TriggerSelector.h.
|
private |
Definition at line 155 of file TriggerSelector.h.
Referenced by acceptEvent().
|
private |
Definition at line 153 of file TriggerSelector.h.
|
private |
Definition at line 150 of file TriggerSelector.h.
Referenced by acceptEvent(), and returnStatus().
|
private |
Definition at line 156 of file TriggerSelector.h.
Referenced by acceptEvent().