ATLAS Offline Software
Event
xAOD
xAODTau
xAODTau
versions
TauJetCalibMapper_v1.h
Go to the documentation of this file.
1
// Dear emacs, this is -*- c++ -*-
2
3
/*
4
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
// $Id$
8
#ifndef XAODTAU_VERSIONS_TAUJETCALIBMAPPER_V1_H
9
#define XAODTAU_VERSIONS_TAUJETCALIBMAPPER_V1_H
10
11
// System include(s):
12
#include <iostream>
13
#include "
xAODTau/TauDefs.h
"
14
namespace
xAOD
{
15
struct
TauJetCalibTypeMapper_v1
{
16
bool
getValue
(
TauJetParameters::TauCalibType
type
, std::string& stringName){
17
switch
(
type
){
18
case
TauJetParameters::JetSeed
:
19
stringName =
"JetSeed"
;
20
return
true
;
21
case
TauJetParameters::DetectorAxis
:
22
stringName =
"DetectorAxis"
;
23
return
true
;
24
case
TauJetParameters::IntermediateAxis
:
25
stringName =
"IntermediateAxis"
;
26
return
true
;
27
case
TauJetParameters::TauEnergyScale
:
28
stringName =
"TauEnergyScale"
;
29
return
true
;
30
case
TauJetParameters::TauEtaCalib
:
31
stringName =
"TauEtaCalib"
;
32
return
true
;
33
// case TauJetParameters::PanTauEFlowRecProto:
34
// stringName = "PanTauEFlowRecProto";
35
// return true;
36
// case TauJetParameters::PanTauEFlowRec:
37
// stringName = "PanTauEFlowRec";
38
// return true;
39
case
TauJetParameters::PanTauCellBasedProto
:
40
stringName =
"PanTauCellBasedProto"
;
41
return
true
;
42
case
TauJetParameters::PanTauCellBased
:
43
stringName =
"PanTauCellBased"
;
44
return
true
;
45
case
TauJetParameters::TrigCaloOnly
:
46
stringName =
"TrigCaloOnly"
;
47
return
true
;
48
case
TauJetParameters::FinalCalib
:
49
stringName =
"FinalCalib"
;
50
return
true
;
51
}
//switch
52
return
false
;
53
}
//getValue
54
55
};
56
57
}
58
59
#endif
xAOD::TauJetParameters::PanTauCellBasedProto
@ PanTauCellBasedProto
Definition:
TauDefs.h:343
xAOD::TauJetParameters::IntermediateAxis
@ IntermediateAxis
Definition:
TauDefs.h:338
xAOD::TauJetParameters::TauEtaCalib
@ TauEtaCalib
Definition:
TauDefs.h:340
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition:
ICaloAffectedTool.h:24
xAOD::TauJetParameters::JetSeed
@ JetSeed
Definition:
TauDefs.h:336
xAOD::TauJetCalibTypeMapper_v1
Definition:
TauJetCalibMapper_v1.h:15
TauDefs.h
xAOD::TauJetCalibTypeMapper_v1::getValue
bool getValue(TauJetParameters::TauCalibType type, std::string &stringName)
Definition:
TauJetCalibMapper_v1.h:16
xAOD::TauJetParameters::TauCalibType
TauCalibType
Enum for tau calib type.
Definition:
TauDefs.h:335
xAOD::TauJetParameters::PanTauCellBased
@ PanTauCellBased
Definition:
TauDefs.h:344
xAOD::TauJetParameters::TauEnergyScale
@ TauEnergyScale
Definition:
TauDefs.h:339
xAOD::TauJetParameters::TrigCaloOnly
@ TrigCaloOnly
Definition:
TauDefs.h:345
python.CaloScaleNoiseConfig.type
type
Definition:
CaloScaleNoiseConfig.py:78
xAOD::TauJetParameters::DetectorAxis
@ DetectorAxis
Definition:
TauDefs.h:337
xAOD::TauJetParameters::FinalCalib
@ FinalCalib
Definition:
TauDefs.h:346
Generated on Sun Dec 22 2024 21:18:54 for ATLAS Offline Software by
1.8.18