ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
Jet
JetMonitoring
JetMonitoring
JetSelectorAttributeRunII.h
Go to the documentation of this file.
1
// -*- c++ -*-
2
3
/*
4
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
5
6
7
This is a temporary file which holds the older version of JetSelectorAttribute used in RunII
8
monitoring. It's here to allow the RunII monitoring system to continue to run during the migration.
9
It's meant to be removed together with the runII code when migration is complete.
10
11
*/
12
13
#ifndef JETMONITORING_JETSELECTORATTRIBUTERUNII_H
14
#define JETMONITORING_JETSELECTORATTRIBUTERUNII_H
15
16
#include "
JetInterface/IJetSelector.h
"
17
18
#include "
AsgTools/AsgTool.h
"
19
20
class
JetSelectorAttributeRunII
:
public
asg::AsgTool
,
virtual
public
IJetSelector
21
{
22
ASG_TOOL_CLASS
(
JetSelectorAttributeRunII
,
IJetSelector
)
23
public
:
24
28
struct
SelValueRetriever
{
29
virtual
float
value
(
const
xAOD::Jet
& j)
const
= 0;
30
virtual
~SelValueRetriever
(){};
31
};
32
33
JetSelectorAttributeRunII
(
const
std::string &t);
34
virtual
~JetSelectorAttributeRunII
();
35
36
virtual
StatusCode
initialize
() ;
37
38
int
keep
(
const
xAOD::Jet
&
jet
)
const
;
39
40
protected
:
41
42
float
m_min
;
43
float
m_max
;
44
45
std::string
m_attName
;
46
std::string
m_attType
;
47
48
int
m_vectorAttIndex
;
49
SelValueRetriever
*
m_vretriever
;
50
51
};
52
53
54
55
56
#endif
57
ASG_TOOL_CLASS
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
Definition
AsgToolMacros.h:68
AsgTool.h
IJetSelector.h
IJetSelector
IJetSelector is a dual-use tool interface for a tool that selects a jet.
Definition
IJetSelector.h:19
JetSelectorAttributeRunII::keep
int keep(const xAOD::Jet &jet) const
Method to select.
Definition
JetSelectorAttributeRunII.cxx:67
JetSelectorAttributeRunII::m_min
float m_min
Definition
JetSelectorAttributeRunII.h:42
JetSelectorAttributeRunII::m_max
float m_max
Definition
JetSelectorAttributeRunII.h:43
JetSelectorAttributeRunII::m_vectorAttIndex
int m_vectorAttIndex
Definition
JetSelectorAttributeRunII.h:48
JetSelectorAttributeRunII::~JetSelectorAttributeRunII
virtual ~JetSelectorAttributeRunII()
Definition
JetSelectorAttributeRunII.cxx:46
JetSelectorAttributeRunII::initialize
virtual StatusCode initialize()
Dummy implementation of the initialisation function.
Definition
JetSelectorAttributeRunII.cxx:50
JetSelectorAttributeRunII::m_attName
std::string m_attName
Definition
JetSelectorAttributeRunII.h:45
JetSelectorAttributeRunII::m_vretriever
SelValueRetriever * m_vretriever
if the attribute is a vector we'll use the value at this index. else it is ignored.
Definition
JetSelectorAttributeRunII.h:49
JetSelectorAttributeRunII::m_attType
std::string m_attType
Definition
JetSelectorAttributeRunII.h:46
JetSelectorAttributeRunII::JetSelectorAttributeRunII
JetSelectorAttributeRunII(const std::string &t)
Definition
JetSelectorAttributeRunII.cxx:28
asg::AsgTool
Base class for the dual-use tool implementation classes.
Definition
AsgTool.h:47
jet
Definition
JetCalibTools_PlotJESFactors.cxx:23
xAOD::Jet
Jet_v1 Jet
Definition of the current "jet version".
Definition
Event/xAOD/xAODJet/xAODJet/Jet.h:17
JetSelectorAttributeRunII::SelValueRetriever
SelValueRetriever retrieves the value on which this tool select jets.
Definition
JetSelectorAttributeRunII.h:28
JetSelectorAttributeRunII::SelValueRetriever::~SelValueRetriever
virtual ~SelValueRetriever()
Definition
JetSelectorAttributeRunII.h:30
JetSelectorAttributeRunII::SelValueRetriever::value
virtual float value(const xAOD::Jet &j) const =0
Generated on
for ATLAS Offline Software by
1.17.0