#include <EventSelector.h>
|
typedef std::vector< std::string > | Strings |
|
|
static std::vector< bool > | combine (std::vector< bool > const &a, std::vector< bool > const &b) |
|
static std::vector< bool > | expandDecisionList (Bits const &b, bool PassOrFail, unsigned int n) |
|
static std::string | glob2reg (std::string const &s) |
|
static bool | identical (std::vector< bool > const &a, std::vector< bool > const &b) |
|
static bool | identical (EventSelector const &a, EventSelector const &b, unsigned int N) |
|
static std::vector
< Strings::const_iterator > | matching_triggers (Strings const &trigs, std::string const &s) |
|
static bool | overlapping (std::vector< bool > const &a, std::vector< bool > const &b) |
|
static bool | subset (std::vector< bool > const &a, std::vector< bool > const &b) |
|
Definition at line 40 of file EventSelector.h.
typedef std::vector<BitInfo> edm::EventSelector::Bits |
|
private |
typedef std::vector<std::string> edm::EventSelector::Strings |
EventSelector::EventSelector |
( |
Strings const & |
pathspecs, |
|
|
Strings const & |
names |
|
) |
| |
EventSelector::EventSelector |
( |
Strings const & |
pathspecs | ) |
|
|
explicit |
bool EventSelector::acceptEvent |
( |
unsigned char const * |
array_of_trigger_results, |
|
|
int |
number_of_trigger_paths |
|
) |
| const |
bool EventSelector::acceptTriggerPath |
( |
HLTPathStatus const & |
pathStatus, |
|
|
BitInfo const & |
pathInfo |
|
) |
| const |
|
private |
std::vector< bool > EventSelector::combine |
( |
std::vector< bool > const & |
a, |
|
|
std::vector< bool > const & |
b |
|
) |
| |
|
staticprivate |
std::vector< bool > EventSelector::expandDecisionList |
( |
Bits const & |
b, |
|
|
bool |
PassOrFail, |
|
|
unsigned int |
n |
|
) |
| |
|
staticprivate |
std::vector< std::string > EventSelector::getEventSelectionVString |
( |
edm::ParameterSet const & |
pset | ) |
|
|
static |
Returns the list of strings that correspond to the trigger selection request in the specified parameter set (the list of strings contained in the "SelectEvents" parameter).
- Parameters
-
- Returns
- the trigger selection list (vector of string).
Definition at line 913 of file EventSelector.cc.
static std::string edm::EventSelector::glob2reg |
( |
std::string const & |
s | ) |
|
|
staticprivate |
bool EventSelector::identical |
( |
std::vector< bool > const & |
a, |
|
|
std::vector< bool > const & |
b |
|
) |
| |
|
staticprivate |
bool EventSelector::initAcceptAll |
( |
| ) |
|
|
private |
void EventSelector::initPathNames |
( |
Strings const & |
pathNames | ) |
|
|
private |
Applies a trigger selection mask to a specified trigger result object. Within the trigger result object, each path status is left unchanged if it satisfies the trigger selection (path specs) or cleared if it does not satisfy the trigger selection. In this way, the resulting trigger result object contains only path status values that "pass" the selection criteria.
- Parameters
-
inputResults | The raw trigger results object that will be masked. |
- Returns
- a copy of the input trigger results object with only the path status results that match the trigger selection.
- Exceptions
-
edm::Exception | if the number of paths in the TriggerResults object does not match the specified full trigger list, or if the trigger selection is invalid in the context of the full trigger list. |
Definition at line 748 of file EventSelector.cc.
static std::vector< Strings::const_iterator > edm::EventSelector::matching_triggers |
( |
Strings const & |
trigs, |
|
|
std::string const & |
s |
|
) |
| |
|
staticprivate |
bool EventSelector::overlapping |
( |
std::vector< bool > const & |
a, |
|
|
std::vector< bool > const & |
b |
|
) |
| |
|
staticprivate |
bool EventSelector::selectionIsValid |
( |
Strings const & |
pathspecs, |
|
|
Strings const & |
fullPathList |
|
) |
| |
|
static |
Tests if the specified trigger selection list (pathspecs) is valid in the context of the specified full trigger list. Each element in the selection list is tested to see if it possible for some combination of trigger results to satisfy the selection. If all selection elements can be satisfied one way or another, then this method returns true. If one or more selection elements could never be satisfied given the input full trigger list, then this method returns false. At some level, this method tests whether the selection list is a "subset" of the full path list.
- Parameters
-
pathspecs | The trigger selection list (vector of string). |
fullPathList | The full list of path names (vector of string). |
- Returns
- true if the selection list is valid, false otherwise.
Definition at line 436 of file EventSelector.cc.
bool EventSelector::subset |
( |
std::vector< bool > const & |
a, |
|
|
std::vector< bool > const & |
b |
|
) |
| |
|
staticprivate |
Tests if the specified trigger selection lists (path specs) overlap, where "overlap" means that a valid trigger result (given the full trigger list) could satisfy both selections.
- Parameters
-
pathspec1 | The first trigger selection list (vector of string). |
pathspec2 | The second trigger selection list (vector of string). |
fullPathList | The full list of trigger names (vector of string). |
- Returns
- OverlapResult which indicates the degree of overlap.
Definition at line 532 of file EventSelector.cc.
bool edm::EventSelector::wantAll |
( |
| ) |
const |
|
inline |
Bits edm::EventSelector::absolute_acceptors_ |
|
private |
bool const edm::EventSelector::accept_all_ |
|
private |
std::vector<Bits> edm::EventSelector::all_must_fail_ |
|
private |
std::vector<Bits> edm::EventSelector::all_must_fail_noex_ |
|
private |
Bits edm::EventSelector::conditional_acceptors_ |
|
private |
Bits edm::EventSelector::exception_acceptors_ |
|
private |
int edm::EventSelector::nPathNames_ |
|
private |
Strings const edm::EventSelector::pathspecs_ |
|
private |
bool const edm::EventSelector::results_from_current_process_ |
|
private |