Classes | Public Types | Public Member Functions | Private Types | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
art::EventSelector Class Reference

#include "/cvmfs/nova.opensciencegrid.org/externals/art/v2_13_00/source/art/Framework/Core/EventSelector.h"

Classes

struct  BitInfo
 

Public Types

using Strings = std::vector< std::string >
 

Public Member Functions

 EventSelector (Strings const &pathspecs, Strings const &names)
 
 EventSelector (Strings const &pathspecs)
 
 EventSelector (fhicl::ParameterSet const &pset, Strings const &triggernames)
 
bool wantAll () const
 
bool acceptEvent (TriggerResults const &)
 
std::shared_ptr< TriggerResultsmaskTriggerResults (TriggerResults const &inputResults)
 

Private Types

using Bits = std::vector< BitInfo >
 

Private Member Functions

void init (Strings const &paths, Strings const &triggernames)
 
bool acceptOneBit (Bits const &b, HLTGlobalStatus const &tr, hlt::HLTState const &s=hlt::Ready) const
 
bool acceptAllBits (Bits const &b, HLTGlobalStatus const &tr) const
 
bool containsExceptions (HLTGlobalStatus const &tr) const
 
bool selectionDecision (HLTGlobalStatus const &tr) const
 

Static Private Member Functions

static std::vector< Strings::const_iterator > matching_triggers (Strings const &trigs, 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< bool > expandDecisionList (Bits const &b, bool PassOrFail, unsigned int n)
 
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)
 
static std::vector< bool > combine (std::vector< bool > const &a, std::vector< bool > const &b)
 

Private Attributes

bool accept_all_ {false}
 
Bits absolute_acceptors_ {}
 
Bits conditional_acceptors_ {}
 
Bits exception_acceptors_ {}
 
std::vector< Bitsall_must_fail_ {}
 
std::vector< Bitsall_must_fail_noex_ {}
 
bool results_from_current_process_ {true}
 
bool psetID_initialized_ {false}
 
fhicl::ParameterSetID psetID_ {}
 
Strings paths_ {}
 
int nTriggerNames_ {0}
 
bool notStarPresent_ {false}
 

Detailed Description

Definition at line 34 of file EventSelector.h.

Member Typedef Documentation

using art::EventSelector::Bits = std::vector<BitInfo>
private

Definition at line 65 of file EventSelector.h.

Definition at line 36 of file EventSelector.h.

Constructor & Destructor Documentation

art::EventSelector::EventSelector ( Strings const &  pathspecs,
Strings const &  names 
)
art::EventSelector::EventSelector ( Strings const &  pathspecs)
explicit
art::EventSelector::EventSelector ( fhicl::ParameterSet const &  pset,
Strings const &  triggernames 
)

Member Function Documentation

bool art::EventSelector::acceptAllBits ( Bits const &  b,
HLTGlobalStatus const &  tr 
) const
private
bool art::EventSelector::acceptEvent ( TriggerResults const &  )
bool art::EventSelector::acceptOneBit ( Bits const &  b,
HLTGlobalStatus const &  tr,
hlt::HLTState const &  s = hlt::Ready 
) const
private
static std::vector<bool> art::EventSelector::combine ( std::vector< bool > const &  a,
std::vector< bool > const &  b 
)
staticprivate
bool art::EventSelector::containsExceptions ( HLTGlobalStatus const &  tr) const
private
static std::vector<bool> art::EventSelector::expandDecisionList ( Bits const &  b,
bool  PassOrFail,
unsigned int  n 
)
staticprivate
static bool art::EventSelector::identical ( std::vector< bool > const &  a,
std::vector< bool > const &  b 
)
staticprivate
static bool art::EventSelector::identical ( EventSelector const &  a,
EventSelector const &  b,
unsigned int  N 
)
staticprivate
void art::EventSelector::init ( Strings const &  paths,
Strings const &  triggernames 
)
private
std::shared_ptr<TriggerResults> art::EventSelector::maskTriggerResults ( TriggerResults const &  inputResults)
static std::vector<Strings::const_iterator> art::EventSelector::matching_triggers ( Strings const &  trigs,
std::string const &  s 
)
staticprivate
static bool art::EventSelector::overlapping ( std::vector< bool > const &  a,
std::vector< bool > const &  b 
)
staticprivate
bool art::EventSelector::selectionDecision ( HLTGlobalStatus const &  tr) const
private
static bool art::EventSelector::subset ( std::vector< bool > const &  a,
std::vector< bool > const &  b 
)
staticprivate
bool art::EventSelector::wantAll ( ) const
inline

Definition at line 45 of file EventSelector.h.

References TB_WatchdogFx::paths.

46  {
47  return accept_all_;
48  }

Member Data Documentation

Bits art::EventSelector::absolute_acceptors_ {}
private

Definition at line 68 of file EventSelector.h.

bool art::EventSelector::accept_all_ {false}
private

Definition at line 67 of file EventSelector.h.

std::vector<Bits> art::EventSelector::all_must_fail_ {}
private

Definition at line 71 of file EventSelector.h.

std::vector<Bits> art::EventSelector::all_must_fail_noex_ {}
private

Definition at line 72 of file EventSelector.h.

Bits art::EventSelector::conditional_acceptors_ {}
private

Definition at line 69 of file EventSelector.h.

Bits art::EventSelector::exception_acceptors_ {}
private

Definition at line 70 of file EventSelector.h.

bool art::EventSelector::notStarPresent_ {false}
private

Definition at line 81 of file EventSelector.h.

int art::EventSelector::nTriggerNames_ {0}
private

Definition at line 80 of file EventSelector.h.

Strings art::EventSelector::paths_ {}
private

Definition at line 78 of file EventSelector.h.

fhicl::ParameterSetID art::EventSelector::psetID_ {}
private

Definition at line 76 of file EventSelector.h.

bool art::EventSelector::psetID_initialized_ {false}
private

Definition at line 75 of file EventSelector.h.

bool art::EventSelector::results_from_current_process_ {true}
private

Definition at line 74 of file EventSelector.h.


The documentation for this class was generated from the following file: