ATLAS Offline Software
Loading...
Searching...
No Matches
TauRecExtraDetails.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
18
19#ifndef TAU_REC_EXTRA_DETAILS_ANALYSIS_H
20#define TAU_REC_EXTRA_DETAILS_ANALYSIS_H
21
22#include "tauEvent/TauDetails.h"
24
25
26
27namespace Analysis
28{
29 //-------------------------------------------------------------------------
33 //-------------------------------------------------------------------------
35 {
36 friend class TauJet;
38 public:
39 //-----------------------------------------------------------------
40 // Constructors and destructor
41 //-----------------------------------------------------------------
49 virtual ~TauRecExtraDetails();
50 virtual const std::string& className() const;
51
52 //-----------------------------------------------------------------
56 //-----------------------------------------------------------------
59
60 //-----------------------------------------------------------------
62 //-----------------------------------------------------------------
63 int numEMCells() const;
64 void setNumEMCells( int numEMCells );
65
66 //-----------------------------------------------------------------
68 //-----------------------------------------------------------------
69 double stripET() const;
70 void setStripET( double stripET );
71
72 //-----------------------------------------------------------------
74 //-----------------------------------------------------------------
75 double emCentralityFraction() const;
77
78 //-----------------------------------------------------------------
80 //-----------------------------------------------------------------
81 double etHadAtEMScale();
82 void setETHadAtEMScale( double etHadAtEMScale );
83
84 //-----------------------------------------------------------------
86 //-----------------------------------------------------------------
87 double etEMAtEMScale();
88 void setETEMAtEMScale( double etEMAtEMScale );
89
90 //-----------------------------------------------------------------
92 //-----------------------------------------------------------------
93 double energy() const;
94 void setEnergy( double energy );
95
96 //-----------------------------------------------------------------
99 //-----------------------------------------------------------------
100 double emEnergy() const;
101 void setEMEnergy( double emEnergy );
102
103 //-----------------------------------------------------------------
105 //-----------------------------------------------------------------
106 double sumPTTracks();
107 void setSumPTTracks( double sumPTTracks );
108
109
110 //-----------------------------------------------------------------
112 //-----------------------------------------------------------------
113 TauJetParameters :: SeedTypes seedType();
114 void setSeedType( TauJetParameters :: SeedTypes type );
115
116 private:
117 static const std::string s_className;
119 TauJetParameters :: SeedTypes m_seedType;
120
121 //-----------------------------------------------------------------
122 // Identification variables
123 //-----------------------------------------------------------------
125 double m_stripET;
127
128 //-----------------------------------------------------------------
129 // Energy at the EM scale
130 //-----------------------------------------------------------------
136 };
137
138 //-------------------------------------------------------------------------
139 // Implementation of accessors
140 //-------------------------------------------------------------------------
141 inline tauAnalysisHelperObject *TauRecExtraDetails :: analysisHelper() const
142 {
143 return m_analysisHelper;
144 }
145
146 inline void TauRecExtraDetails :: setAnalysisHelper( tauAnalysisHelperObject *anahelper )
147 {
148 delete m_analysisHelper;
149 m_analysisHelper = anahelper;
150 }
151
152 inline int TauRecExtraDetails :: numEMCells() const
153 {
154 return m_numEMCells;
155 }
156
157 inline void TauRecExtraDetails :: setNumEMCells( int numEMCells )
158 {
160 }
161
162 inline double TauRecExtraDetails :: stripET() const
163 {
164 return m_stripET;
165 }
166
167 inline void TauRecExtraDetails :: setStripET( double stripET )
168 {
170 }
171
172 inline double TauRecExtraDetails :: emCentralityFraction() const
173 {
175 }
176
177 inline void TauRecExtraDetails :: setEMCentralityFraction( double emCentralityFraction )
178 {
180 }
181
182 inline double TauRecExtraDetails :: etHadAtEMScale()
183 {
184 return m_etHadAtEMScale;
185 }
186
187 inline void TauRecExtraDetails :: setETHadAtEMScale( double etHadAtEMScale )
188 {
190 }
191
192 inline double TauRecExtraDetails :: etEMAtEMScale()
193 {
194 return m_etEMAtEMScale;
195 }
196
197 inline void TauRecExtraDetails :: setETEMAtEMScale( double etEMAtEMScale )
198 {
200 }
201
202 inline double TauRecExtraDetails :: energy() const
203 {
204 return m_sumCellE;
205 }
206
207 inline void TauRecExtraDetails :: setEnergy( double energy )
208 {
210 }
211
212 inline double TauRecExtraDetails :: emEnergy() const
213 {
214 return m_sumEMCellE;
215 }
216
217 inline void TauRecExtraDetails :: setEMEnergy( double emEnergy )
218 {
220 }
221
222 inline double TauRecExtraDetails :: sumPTTracks()
223 {
224 return m_sumPTTracks;
225 }
226
227 inline void TauRecExtraDetails :: setSumPTTracks( double sumPTTracks )
228 {
230 }
231
232 inline TauJetParameters :: SeedTypes TauRecExtraDetails :: seedType()
233 {
234 return m_seedType;
235 }
236
237 inline void TauRecExtraDetails :: setSeedType( TauJetParameters :: SeedTypes type )
238 {
240 }
241}
242
243#endif // TAU_REC_EXTRA_DETAILS_ANALYSIS_H
Declaration of tau details base class.
TauDetails()
Default constructor.
double etEMAtEMScale()
Electromagnetic energy at the EM scale (unused)
friend class TauJet
Definition of the current "tau version".
double energy() const
Energy sum of all cells within dR < 0.4.
void setSeedType(TauJetParameters ::SeedTypes type)
double sumPTTracks()
Sum of PT of tracks.
TauRecExtraDetails & operator=(const TauRecExtraDetails &rhs)
assignment operator
TauJetParameters::SeedTypes seedType()
The type of the seed.
virtual const std::string & className() const
void setAnalysisHelper(tauAnalysisHelperObject *anahelper)
void setSumPTTracks(double sumPTTracks)
int numEMCells() const
Number of EM cells within dR < 0.4, with E > m_cellEthr.
void setETEMAtEMScale(double etEMAtEMScale)
tauAnalysisHelperObject * analysisHelper() const
Analysis Helper - this object is filled by tauAnalysisHelper and contains some useful information for...
void setNumEMCells(int numEMCells)
void setEMCentralityFraction(double emCentralityFraction)
tauAnalysisHelperObject * m_analysisHelper
void setEMEnergy(double emEnergy)
static const std::string s_className
TauRecExtraDetails()
Default Constructor.
virtual ~TauRecExtraDetails()
Destructor.
double stripET() const
Uncalibrated sum of ET in the strip layer within dR < 0.4.
double emCentralityFraction() const
EM Centrality Fraction (ET(dr<0.1)/ET(dr<0.4) for EM calos only.
double emEnergy() const
Energy sum of all em cells within dR < 0.4 (Presampler + EM1 + EM2)
double etHadAtEMScale()
Hadronic energy at the EM scale (unused)
TauJetParameters::SeedTypes m_seedType
void setETHadAtEMScale(double etHadAtEMScale)
DEPRECATED DO NOT USE - MIGRATE TO TauCommonDetails.
The namespace of all packages in PhysicsAnalysis/JetTagging.
DEPRECATED DO NOT USE.