ATLAS Offline Software
Loading...
Searching...
No Matches
Reconstruction
Jet
JetInterface
JetInterface
IJetUncertaintiesTool.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 JETUNCERTAINTIES_IJETUNCERTAINTIESTOOL_H
6
#define JETUNCERTAINTIES_IJETUNCERTAINTIESTOOL_H
7
8
#include "
AsgTools/IAsgTool.h
"
9
10
#include "
xAODJet/Jet.h
"
11
#include "
xAODJet/JetContainer.h
"
12
#include "
xAODEventInfo/EventInfo.h
"
13
14
#include <string>
15
class
TString;
16
17
class
IJetUncertaintiesTool
:
virtual
public
asg::IAsgTool
18
{
19
// Interface declaration
20
ASG_TOOL_INTERFACE
(
IJetUncertaintiesTool
)
21
22
public
:
23
// Retrieve tool information
24
virtual
std::string
getName
()
const
= 0;
25
virtual
std::string
getJetDef
()
const
= 0;
26
virtual
std::string
getMCType
()
const
= 0;
27
virtual
std::string
getConfigFile
()
const
= 0;
28
virtual
std::string
getPath
()
const
= 0;
29
virtual
std::string
getAnalysisFile
()
const
= 0;
30
virtual
float
getRefMu
()
const
= 0;
31
virtual
float
getRefNPV
()
const
= 0;
32
33
// Retrieve component information
34
virtual
size_t
getNumComponents
()
const
= 0;
35
virtual
size_t
getComponentIndex
(
const
std::string& name)
const
= 0;
36
virtual
size_t
getComponentIndex
(
const
TString& name)
const
= 0;
37
virtual
std::string
getComponentName
(
const
size_t
index
)
const
= 0;
38
virtual
std::string
getComponentDesc
(
const
size_t
index
)
const
= 0;
39
40
// Retrieve component scaling information
41
virtual
bool
getComponentScalesFourVec
(
const
size_t
index
)
const
= 0;
42
virtual
bool
getComponentScalesPt
(
const
size_t
index
)
const
= 0;
43
virtual
bool
getComponentScalesMass
(
const
size_t
index
)
const
= 0;
44
virtual
bool
getComponentScalesD12
(
const
size_t
index
)
const
= 0;
45
virtual
bool
getComponentScalesD23
(
const
size_t
index
)
const
= 0;
46
virtual
bool
getComponentScalesTau21
(
const
size_t
index
)
const
= 0;
47
virtual
bool
getComponentScalesTau32
(
const
size_t
index
)
const
= 0;
48
49
// Retrieve uncertainty and validity information for a given component
50
virtual
bool
getValidity
(
size_t
index
,
const
xAOD::Jet
&
jet
)
const
= 0;
51
virtual
bool
getValidity
(
size_t
index
,
const
xAOD::Jet
&
jet
,
const
xAOD::EventInfo
& eInfo)
const
= 0;
52
virtual
double
getUncertainty
(
size_t
index
,
const
xAOD::Jet
&
jet
)
const
= 0;
53
virtual
double
getUncertainty
(
size_t
index
,
const
xAOD::Jet
&
jet
,
const
xAOD::EventInfo
& eInfo)
const
= 0;
54
virtual
bool
getValidUncertainty
(
size_t
index
,
double
& unc,
const
xAOD::Jet
&
jet
)
const
= 0;
55
virtual
bool
getValidUncertainty
(
size_t
index
,
double
& unc,
const
xAOD::Jet
&
jet
,
const
xAOD::EventInfo
& eInfo)
const
= 0;
56
57
58
};
59
60
#endif
ASG_TOOL_INTERFACE
#define ASG_TOOL_INTERFACE(CLASSNAME)
Definition
AsgToolMacros.h:40
Jet.h
IAsgTool.h
JetContainer.h
IJetUncertaintiesTool
Definition
IJetUncertaintiesTool.h:18
IJetUncertaintiesTool::getComponentIndex
virtual size_t getComponentIndex(const TString &name) const =0
IJetUncertaintiesTool::getValidUncertainty
virtual bool getValidUncertainty(size_t index, double &unc, const xAOD::Jet &jet, const xAOD::EventInfo &eInfo) const =0
IJetUncertaintiesTool::getComponentName
virtual std::string getComponentName(const size_t index) const =0
IJetUncertaintiesTool::getPath
virtual std::string getPath() const =0
IJetUncertaintiesTool::getComponentScalesTau32
virtual bool getComponentScalesTau32(const size_t index) const =0
IJetUncertaintiesTool::getValidity
virtual bool getValidity(size_t index, const xAOD::Jet &jet, const xAOD::EventInfo &eInfo) const =0
IJetUncertaintiesTool::getConfigFile
virtual std::string getConfigFile() const =0
IJetUncertaintiesTool::getComponentDesc
virtual std::string getComponentDesc(const size_t index) const =0
IJetUncertaintiesTool::getUncertainty
virtual double getUncertainty(size_t index, const xAOD::Jet &jet, const xAOD::EventInfo &eInfo) const =0
IJetUncertaintiesTool::getComponentScalesTau21
virtual bool getComponentScalesTau21(const size_t index) const =0
IJetUncertaintiesTool::getAnalysisFile
virtual std::string getAnalysisFile() const =0
IJetUncertaintiesTool::getName
virtual std::string getName() const =0
IJetUncertaintiesTool::getComponentScalesD12
virtual bool getComponentScalesD12(const size_t index) const =0
IJetUncertaintiesTool::getUncertainty
virtual double getUncertainty(size_t index, const xAOD::Jet &jet) const =0
IJetUncertaintiesTool::getComponentScalesMass
virtual bool getComponentScalesMass(const size_t index) const =0
IJetUncertaintiesTool::getValidity
virtual bool getValidity(size_t index, const xAOD::Jet &jet) const =0
IJetUncertaintiesTool::getNumComponents
virtual size_t getNumComponents() const =0
IJetUncertaintiesTool::getMCType
virtual std::string getMCType() const =0
IJetUncertaintiesTool::getRefNPV
virtual float getRefNPV() const =0
IJetUncertaintiesTool::getRefMu
virtual float getRefMu() const =0
IJetUncertaintiesTool::getJetDef
virtual std::string getJetDef() const =0
IJetUncertaintiesTool::getComponentScalesPt
virtual bool getComponentScalesPt(const size_t index) const =0
IJetUncertaintiesTool::getComponentScalesFourVec
virtual bool getComponentScalesFourVec(const size_t index) const =0
IJetUncertaintiesTool::getValidUncertainty
virtual bool getValidUncertainty(size_t index, double &unc, const xAOD::Jet &jet) const =0
IJetUncertaintiesTool::getComponentIndex
virtual size_t getComponentIndex(const std::string &name) const =0
IJetUncertaintiesTool::getComponentScalesD23
virtual bool getComponentScalesD23(const size_t index) const =0
asg::IAsgTool
Base class for the dual-use tool interface classes.
Definition
IAsgTool.h:41
index
Definition
index.py:1
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
xAOD::EventInfo
EventInfo_v1 EventInfo
Definition of the latest event info version.
Definition
IEventInfoCnvTool.h:18
EventInfo.h
Generated on
for ATLAS Offline Software by
1.14.0