ATLAS Offline Software
Loading...
Searching...
No Matches
IGoodRunsListSelectorTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef GoodRunsLists_IGoodRunsListSelectorTool_H
6#define GoodRunsLists_IGoodRunsListSelectorTool_H
7
8#include "GaudiKernel/IAlgTool.h"
9#include <vector>
10#include <string>
11#include <map>
12
13typedef std::pair< std::vector<std::string>, std::vector<std::string> > vvPair;
14
15namespace Root {
16 class TGRLCollection;
17}
18
19class IGoodRunsListSelectorTool : virtual public extend_interfaces<IAlgTool> {
20public:
21
23
25 virtual bool passRunLB( int runNumber, int lumiBlockNr,
26 const std::vector<std::string>& grlnameVec=std::vector<std::string>(),
27 const std::vector<std::string>& brlnameVec=std::vector<std::string>() ) = 0 ;
29 virtual bool passThisRunLB( const std::vector<std::string>& grlnameVec=std::vector<std::string>(),
30 const std::vector<std::string>& brlnameVec=std::vector<std::string>() ) = 0 ;
32 virtual bool registerGRLSelector(const std::string& name,
33 const std::vector<std::string>& grlnameVec, const std::vector<std::string>& brlnameVec) = 0 ;
35 virtual const std::map< std::string, vvPair >& getGRLSelectorRegistry() = 0 ;
36
38 virtual const Root::TGRLCollection* getGRLCollection() const = 0 ;
39 virtual const Root::TGRLCollection* getBRLCollection() const = 0 ;
40};
41
42#endif // GoodRunsLists_IGoodRunsListSelectorTool_H
43
std::pair< std::vector< std::string >, std::vector< std::string > > vvPair
virtual const Root::TGRLCollection * getBRLCollection() const =0
virtual bool passThisRunLB(const std::vector< std::string > &grlnameVec=std::vector< std::string >(), const std::vector< std::string > &brlnameVec=std::vector< std::string >())=0
DQ Test of run,LBs combination.
virtual const Root::TGRLCollection * getGRLCollection() const =0
get grl/brl collection
DeclareInterfaceID(IGoodRunsListSelectorTool, 1, 0)
virtual bool registerGRLSelector(const std::string &name, const std::vector< std::string > &grlnameVec, const std::vector< std::string > &brlnameVec)=0
register grl/brl combination
virtual const std::map< std::string, vvPair > & getGRLSelectorRegistry()=0
get GRL selector registry
virtual 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 >())=0
DQ Test of run,LBs combination.