ATLAS Offline Software
|
This file contains the class definition for the GoodRunsListSelectorTool class. More...
#include <GoodRunsListSelectorTool.h>
Public Member Functions | |
GoodRunsListSelectorTool (const std::string &, const std::string &, const IInterface *) | |
virtual | ~GoodRunsListSelectorTool () |
StatusCode | initialize () |
Initialize AlgTool. More... | |
bool | passEvent (const EventIDBase &pEvent) |
called for each event by EventSelector to decide if the event should be passed More... | |
StatusCode | finalize () |
Finalize AlgTool. More... | |
bool | passRunLB (int runNumber, int lumiBlockNr, const std::vector< std::string > &grlnameVec=std::vector< std::string >(), const std::vector< std::string > &brlnameVec=std::vector< std::string >()) |
called for each event by GoodRunsListSelectorAlg to decide if the event should be passed More... | |
bool | passThisRunLB (const std::vector< std::string > &grlnameVec=std::vector< std::string >(), const std::vector< std::string > &brlnameVec=std::vector< std::string >()) |
called for each event by GoodRunsListSelectorAlg to decide if the event should be passed More... | |
bool | registerGRLSelector (const std::string &name, const std::vector< std::string > &grlnameVec, const std::vector< std::string > &brlnameVec) |
register grl/brl combination More... | |
const std::map< std::string, vvPair > & | getGRLSelectorRegistry () |
get GRL selector registry More... | |
const Root::TGRLCollection * | getGRLCollection () const |
get grl/brl collection More... | |
const Root::TGRLCollection * | getBRLCollection () const |
Protected Member Functions | |
bool | fileExists (const char *fileName) |
Protected Attributes | |
std::vector< std::string > | m_goodrunslistVec |
std::vector< std::string > | m_blackrunslistVec |
Root::TGRLCollection * | m_grlcollection |
Root::TGRLCollection * | m_brlcollection |
Root::TGoodRunsListReader * | m_reader |
std::map< std::string, TFormula * > | m_dqformula |
int | m_boolop |
bool | m_passthrough |
bool | m_usecool |
bool | m_verbose |
bool | m_rejectanybrl |
bool | m_eventselectormode |
std::map< std::string, vvPair > | m_registry |
This file contains the class definition for the GoodRunsListSelectorTool class.
Definition at line 35 of file GoodRunsListSelectorTool.h.
GoodRunsListSelectorTool::GoodRunsListSelectorTool | ( | const std::string & | type, |
const std::string & | name, | ||
const IInterface * | parent | ||
) |
Definition at line 23 of file GoodRunsListSelectorTool.cxx.
|
virtual |
Definition at line 46 of file GoodRunsListSelectorTool.cxx.
|
protected |
stat() is able to get the file attributes, so the file obviously exists if filesize==0 assume the copying failed.
stat() is not able to get the file attributes, so the file obviously does not exist.
Definition at line 278 of file GoodRunsListSelectorTool.cxx.
StatusCode GoodRunsListSelectorTool::finalize | ( | ) |
Finalize AlgTool.
Definition at line 270 of file GoodRunsListSelectorTool.cxx.
|
inline |
Definition at line 62 of file GoodRunsListSelectorTool.h.
|
inline |
StatusCode GoodRunsListSelectorTool::initialize | ( | ) |
Initialize AlgTool.
reset pass-through mode
warn about pass-thru mode
checking existence of goodrunslists / blacklists
start reading xml files
this merge accounts for same identical metadata, version, name, etc.
this merge accounts for same identical metadata, version, name, etc.
Definition at line 63 of file GoodRunsListSelectorTool.cxx.
bool GoodRunsListSelectorTool::passEvent | ( | const EventIDBase & | pEvent | ) |
called for each event by EventSelector to decide if the event should be passed
now make query decision ...
decide from XML files
Definition at line 147 of file GoodRunsListSelectorTool.cxx.
bool GoodRunsListSelectorTool::passRunLB | ( | int | runNumber, |
int | lumiBlockNr, | ||
const std::vector< std::string > & | grlnameVec = std::vector<std::string>() , |
||
const std::vector< std::string > & | brlnameVec = std::vector<std::string>() |
||
) |
called for each event by GoodRunsListSelectorAlg to decide if the event should be passed
pass through
decision based on merged blackrunslist
decision based on specific blackrunlists
decision based on specific goodrunlists
decision based on merged goodrunslist
Definition at line 212 of file GoodRunsListSelectorTool.cxx.
bool GoodRunsListSelectorTool::passThisRunLB | ( | const std::vector< std::string > & | grlnameVec = std::vector<std::string>() , |
const std::vector< std::string > & | brlnameVec = std::vector<std::string>() |
||
) |
called for each event by GoodRunsListSelectorAlg to decide if the event should be passed
now make query decision ...
decide from XML files
Definition at line 178 of file GoodRunsListSelectorTool.cxx.
bool GoodRunsListSelectorTool::registerGRLSelector | ( | const std::string & | name, |
const std::vector< std::string > & | grlnameVec, | ||
const std::vector< std::string > & | brlnameVec | ||
) |
register grl/brl combination
check if brl names are really known
check if grl names are really known
Definition at line 300 of file GoodRunsListSelectorTool.cxx.
|
protected |
Definition at line 69 of file GoodRunsListSelectorTool.h.
|
protected |
Definition at line 78 of file GoodRunsListSelectorTool.h.
|
protected |
Definition at line 72 of file GoodRunsListSelectorTool.h.
|
protected |
Definition at line 76 of file GoodRunsListSelectorTool.h.
|
protected |
Definition at line 83 of file GoodRunsListSelectorTool.h.
|
protected |
Definition at line 68 of file GoodRunsListSelectorTool.h.
|
protected |
Definition at line 71 of file GoodRunsListSelectorTool.h.
|
protected |
Definition at line 79 of file GoodRunsListSelectorTool.h.
|
protected |
Definition at line 74 of file GoodRunsListSelectorTool.h.
|
protected |
Definition at line 85 of file GoodRunsListSelectorTool.h.
|
protected |
Definition at line 82 of file GoodRunsListSelectorTool.h.
|
protected |
Definition at line 80 of file GoodRunsListSelectorTool.h.
|
protected |
Definition at line 81 of file GoodRunsListSelectorTool.h.