ATLAS Offline Software
Toggle main menu visibility
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):
16
#include "
xAODEventInfo/EventInfo.h
"
17
18
// Forward declaration(s):
19
namespace
Root
{
20
class
TGRLCollection
;
21
}
22
25
26
class
IGoodRunsListSelectionTool
:
virtual
public
asg::IAsgTool
{
27
28
ASG_TOOL_INTERFACE
(
IGoodRunsListSelectionTool
)
29
30
public
:
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
ASG_TOOL_INTERFACE
#define ASG_TOOL_INTERFACE(CLASSNAME)
Definition
AsgToolMacros.h:40
IAsgTool.h
IGoodRunsListSelectionTool
Main tools implementing this interface: GoodRunsListSelectionTool (source code: DataQuality/GoodRunsL...
Definition
IGoodRunsListSelectionTool.h:26
IGoodRunsListSelectionTool::getBRLCollection
virtual const Root::TGRLCollection & getBRLCollection() const =0
Get the bad runs list used by the tool.
IGoodRunsListSelectionTool::passRunLB
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.
IGoodRunsListSelectionTool::getGRLCollection
virtual const Root::TGRLCollection & getGRLCollection() const =0
Get the good runs list used by the tool.
IGoodRunsListSelectionTool::passRunLB
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.
IGoodRunsListSelectionTool::passRunLB
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.
Root::TGRLCollection
Definition
TGRLCollection.h:24
asg::IAsgTool
Base class for the dual-use tool interface classes.
Definition
IAsgTool.h:41
Root
Definition
IGoodRunsListSelectorTool.h:15
xAOD::EventInfo
EventInfo_v1 EventInfo
Definition of the latest event info version.
Definition
IEventInfoCnvTool.h:16
EventInfo.h
Generated on
for ATLAS Offline Software by
1.17.0