ATLAS Offline Software
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 {
16  bool getValue(TauJetParameters::TauCalibType type, std::string& stringName){
17  switch (type){
19  stringName = "JetSeed";
20  return true;
22  stringName = "DetectorAxis";
23  return true;
25  stringName = "IntermediateAxis";
26  return true;
28  stringName = "TauEnergyScale";
29  return true;
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;
40  stringName = "PanTauCellBasedProto";
41  return true;
43  stringName = "PanTauCellBased";
44  return true;
46  stringName = "TrigCaloOnly";
47  return true;
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