ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
Jet
JetMonitoring
JetMonitoring
JetEventSelector.h
Go to the documentation of this file.
1
// -*- c++ -*-
2
3
/*
4
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
#ifndef JETMONITORING_JetEventSelector_H
8
#define JETMONITORING_JetEventSelector_H
9
#include "
AsgTools/AsgTool.h
"
10
11
#include "
JetInterface/IJetEventSelector.h
"
12
#include "
JetMonitoring/EventHistoVarTool.h
"
13
14
15
class
JetEventSelector
:
public
asg::AsgTool
,
virtual
public
IJetEventSelector
16
{
17
ASG_TOOL_CLASS
(
JetEventSelector
,
IJetEventSelector
)
18
public
:
19
20
JetEventSelector
(
const
std::string &t);
21
virtual
~JetEventSelector
();
22
23
virtual
StatusCode
initialize
() ;
24
25
int
keep
(
const
xAOD::EventInfo
& e,
const
xAOD::JetContainer
& jets)
const
;
26
27
protected
:
28
29
std::vector<float>
m_min
;
30
std::vector<float>
m_max
;
31
32
ToolHandleArray<IEventHistoVarTool>
m_var
;
33
34
};
35
36
37
38
39
#endif
ASG_TOOL_CLASS
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
Definition
AsgToolMacros.h:68
AsgTool.h
EventHistoVarTool.h
IJetEventSelector.h
IJetEventSelector
IJetEventSelector is a dual-use tool interface for a tool that selects a jet based on EventInfo selec...
Definition
IJetEventSelector.h:17
JetEventSelector::m_var
ToolHandleArray< IEventHistoVarTool > m_var
Definition
JetEventSelector.h:32
JetEventSelector::m_max
std::vector< float > m_max
Definition
JetEventSelector.h:30
JetEventSelector::m_min
std::vector< float > m_min
Definition
JetEventSelector.h:29
JetEventSelector::JetEventSelector
JetEventSelector(const std::string &t)
Definition
JetEventSelector.cxx:8
JetEventSelector::~JetEventSelector
virtual ~JetEventSelector()
JetEventSelector::keep
int keep(const xAOD::EventInfo &e, const xAOD::JetContainer &jets) const
Method to select.
Definition
JetEventSelector.cxx:33
JetEventSelector::initialize
virtual StatusCode initialize()
Dummy implementation of the initialisation function.
Definition
JetEventSelector.cxx:20
asg::AsgTool
Base class for the dual-use tool implementation classes.
Definition
AsgTool.h:47
xAOD::EventInfo
EventInfo_v1 EventInfo
Definition of the latest event info version.
Definition
IEventInfoCnvTool.h:16
xAOD::JetContainer
JetContainer_v1 JetContainer
Definition of the current "jet container version".
Definition
JetContainer.h:17
Generated on
for ATLAS Offline Software by
1.17.0