ATLAS Offline Software
Loading...
Searching...
No Matches
PhysicsAnalysis/Interfaces/AsgAnalysisInterfaces/AsgAnalysisInterfaces/IGoodRunsListSelectionTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef GoodRunsLists_IGoodRunsListSelectionTool_H
6#define GoodRunsLists_IGoodRunsListSelectionTool_H
7
8// System include(s):
9#include <vector>
10#include <string>
11
12// Framework include(s):
13#include "AsgTools/IAsgTool.h"
14
15// EDM include(s):
17
18// Forward declaration(s):
19namespace Root {
20 class TGRLCollection;
21}
22
25
27
29
30public:
32 virtual bool passRunLB( const std::vector< std::string >& grlnameVec =
33 std::vector< std::string >(),
34 const std::vector< std::string >& brlnameVec =
35 std::vector< std::string >() ) const = 0;
36
38 virtual bool passRunLB( const xAOD::EventInfo& event,
39 const std::vector< std::string >& grlnameVec =
40 std::vector< std::string >(),
41 const std::vector< std::string >& brlnameVec =
42 std::vector< std::string >() ) const = 0;
43
45 virtual bool passRunLB( int runNumber, int lumiBlockNr,
46 const std::vector< std::string >& grlnameVec =
47 std::vector< std::string >(),
48 const std::vector< std::string >& brlnameVec =
49 std::vector< std::string >() ) const = 0;
50
52 virtual const Root::TGRLCollection& getGRLCollection() const = 0;
53
55 virtual const Root::TGRLCollection& getBRLCollection() const = 0;
56
57}; // class IGoodRunsListSelectionTool
58
59#endif // GoodRunsLists_IGoodRunsListSelectionTool_H
#define ASG_TOOL_INTERFACE(CLASSNAME)
Main tools implementing this interface: GoodRunsListSelectionTool (source code: DataQuality/GoodRunsL...
virtual const Root::TGRLCollection & getBRLCollection() const =0
Get the bad runs list used by the tool.
virtual bool passRunLB(const xAOD::EventInfo &event, const std::vector< std::string > &grlnameVec=std::vector< std::string >(), const std::vector< std::string > &brlnameVec=std::vector< std::string >()) const =0
Check if the event specified passes the selection.
virtual const Root::TGRLCollection & getGRLCollection() const =0
Get the good runs list used by the tool.
virtual bool passRunLB(const std::vector< std::string > &grlnameVec=std::vector< std::string >(), const std::vector< std::string > &brlnameVec=std::vector< std::string >()) const =0
Check if the current event passes the selection.
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 >()) const =0
Check if the event specified passes the selection.
Base class for the dual-use tool interface classes.
Definition IAsgTool.h:41
EventInfo_v1 EventInfo
Definition of the latest event info version.