![]() |
ATLAS Offline Software
|
This file contains the class definition for the GoodRunsListSelectorTool class. More...
#include <GoodRunsListSelectorTool.h>
Public Member Functions | |
| virtual | ~GoodRunsListSelectorTool () |
| StatusCode | initialize () |
| Initialize AlgTool. | |
| bool | passEvent (const EventIDBase &pEvent) |
| called for each event by EventSelector to decide if the event should be passed | |
| StatusCode | finalize () |
| Finalize AlgTool. | |
| 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 | |
| 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 | |
| bool | registerGRLSelector (const std::string &name, const std::vector< std::string > &grlnameVec, const std::vector< std::string > &brlnameVec) |
| register grl/brl combination | |
| const std::map< std::string, vvPair > & | getGRLSelectorRegistry () |
| get GRL selector registry | |
| const Root::TGRLCollection * | getGRLCollection () const |
| get grl/brl collection | |
| const Root::TGRLCollection * | getBRLCollection () const |
Protected Member Functions | |
| bool | fileExists (const char *fileName) |
Protected Attributes | |
| Gaudi::Property< std::vector< std::string > > | m_goodrunslistVec {this, "GoodRunsListVec", {}, "list of input xml files"} |
| Gaudi::Property< std::vector< std::string > > | m_blackrunslistVec {this,"BlackRunsListVec", {}, "list of input xml files"} |
| std::unique_ptr< Root::TGRLCollection > | m_grlcollection {new Root::TGRLCollection()} |
| std::unique_ptr< Root::TGRLCollection > | m_brlcollection {new Root::TGRLCollection()} |
| std::unique_ptr< Root::TGoodRunsListReader > | m_reader {new Root::TGoodRunsListReader()} |
| Gaudi::Property< int > | m_boolop {this,"BoolOperation",0} |
| Gaudi::Property< bool > | m_passthrough {this,"PassThrough",true} |
| Gaudi::Property< bool > | m_rejectanybrl {this,"RejectBlackRunsInEventSelector",false} |
| Gaudi::Property< bool > | m_eventselectormode {this,"EventSelectorMode",false} |
| std::map< std::string, vvPair > | m_registry |
This file contains the class definition for the GoodRunsListSelectorTool class.
Definition at line 30 of file GoodRunsListSelectorTool.h.
|
inlinevirtual |
Definition at line 36 of file GoodRunsListSelectorTool.h.
|
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 231 of file GoodRunsListSelectorTool.cxx.
| StatusCode GoodRunsListSelectorTool::finalize | ( | ) |
Finalize AlgTool.
Definition at line 223 of file GoodRunsListSelectorTool.cxx.
|
inline |
Definition at line 59 of file GoodRunsListSelectorTool.h.
|
inline |
get grl/brl collection
Definition at line 58 of file GoodRunsListSelectorTool.h.
|
inline |
get GRL selector registry
Definition at line 55 of file GoodRunsListSelectorTool.h.
| StatusCode GoodRunsListSelectorTool::initialize | ( | ) |
Initialize AlgTool.
reset pass-through mode
warn about pass-thru mode
checking existence of goodrunslists / blocklists
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 20 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 100 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 165 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 131 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 253 of file GoodRunsListSelectorTool.cxx.
|
protected |
Definition at line 66 of file GoodRunsListSelectorTool.h.
|
protected |
Definition at line 74 of file GoodRunsListSelectorTool.h.
|
protected |
Definition at line 70 of file GoodRunsListSelectorTool.h.
|
protected |
Definition at line 77 of file GoodRunsListSelectorTool.h.
|
protected |
Definition at line 65 of file GoodRunsListSelectorTool.h.
|
protected |
Definition at line 69 of file GoodRunsListSelectorTool.h.
|
protected |
Definition at line 75 of file GoodRunsListSelectorTool.h.
|
protected |
Definition at line 72 of file GoodRunsListSelectorTool.h.
|
protected |
Definition at line 79 of file GoodRunsListSelectorTool.h.
|
protected |
Definition at line 76 of file GoodRunsListSelectorTool.h.