ATLAS Offline Software
Tau1P3PDetails.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
18 
20 #include "AthenaKernel/ClassName.h"
21 
22 namespace Analysis
23 {
25  TauDetails(),
26  m_numStripCells( TauDetails::DEFAULT_INT ),
27  m_stripWidth2( TauDetails::DEFAULT ),
28  m_emRadius( TauDetails::DEFAULT ),
29  m_ET12Frac( TauDetails::DEFAULT ),
30  m_etIsolHAD( TauDetails::DEFAULT ),
31  m_etIsolEM( TauDetails::DEFAULT ),
32  m_etChrgHAD( TauDetails::DEFAULT ),
33  m_nAssocTracksCore( TauDetails::DEFAULT_INT ),
34  m_nAssocTracksIsol( TauDetails::DEFAULT_INT ),
35  m_signD0Trk3P( TauDetails::DEFAULT ),
36  m_massTrk3P( TauDetails::DEFAULT ),
37  m_rWidth2Trk3P( TauDetails::DEFAULT ),
38  m_z0SinThetaSig( TauDetails::DEFAULT ),
39  m_etChrgHADoverPttot( TauDetails::DEFAULT ),
40  m_etIsolFrac( TauDetails::DEFAULT ),
41  m_etHadAtEMScale( TauDetails::DEFAULT ),
42  m_etEMAtEMScale( TauDetails::DEFAULT ),
43  m_etEMCL( TauDetails::DEFAULT ),
44  m_etChrgEM( TauDetails::DEFAULT ),
45  m_etNeuEM( TauDetails::DEFAULT ),
46  m_etResNeuEM( TauDetails::DEFAULT ),
47  m_trFlightPathSig(TauDetails::DEFAULT),
48  m_secVertex( 0 ),
49  m_etEflow(TauDetails::DEFAULT),
50  m_sumEtCellsLArOverLeadTrackPt(TauDetails::DEFAULT),
51  m_hadronicLeak(TauDetails::DEFAULT),
52  m_secondaryMax(TauDetails::DEFAULT)
53  {
54  }
55 
57  {
58  delete m_secVertex;
59  }
60 
62  TauDetails(),
63  m_numStripCells(rhs.m_numStripCells),
64  m_stripWidth2(rhs.m_stripWidth2),
65  m_emRadius(rhs.m_emRadius),
66  m_ET12Frac(rhs.m_ET12Frac),
67  m_etIsolHAD(rhs.m_etIsolHAD),
68  m_etIsolEM(rhs.m_etIsolEM),
69  m_etChrgHAD(rhs.m_etChrgHAD),
70  m_nAssocTracksCore(rhs.m_nAssocTracksCore),
71  m_nAssocTracksIsol(rhs.m_nAssocTracksIsol),
72  m_signD0Trk3P(rhs.m_signD0Trk3P),
73  m_massTrk3P(rhs.m_massTrk3P),
74  m_rWidth2Trk3P(rhs.m_rWidth2Trk3P),
75  m_z0SinThetaSig(rhs.m_z0SinThetaSig),
76  m_etChrgHADoverPttot(rhs.m_etChrgHADoverPttot),
77  m_etIsolFrac(rhs.m_etIsolFrac),
78  m_cellEM012Cluster(rhs.m_cellEM012Cluster),
79  m_etHadAtEMScale(rhs.m_etHadAtEMScale),
80  m_etEMAtEMScale(rhs.m_etEMAtEMScale),
81  m_etEMCL(rhs.m_etEMCL),
82  m_etChrgEM(rhs.m_etChrgEM),
83  m_etNeuEM(rhs.m_etNeuEM),
84  m_etResNeuEM(rhs.m_etResNeuEM),
85  m_trFlightPathSig(rhs.m_trFlightPathSig),
86  m_etChrgEM01Trk(rhs.m_etChrgEM01Trk),
87  m_etResChrgEMTrk(rhs.m_etResChrgEMTrk),
88  m_sumEM(rhs.m_sumEM),
89  m_secVertex(new Trk::RecVertex(*rhs.m_secVertex)),
90  m_pi0 (rhs.m_pi0),
91  m_etEflow(rhs.m_etEflow),
92  m_sumEtCellsLArOverLeadTrackPt(rhs.m_sumEtCellsLArOverLeadTrackPt),
93  m_hadronicLeak(rhs.m_hadronicLeak),
94  m_secondaryMax(rhs.m_secondaryMax)
95  {
96  }
97 
99  {
100  if( this != &rhs )
101  {
102  delete m_secVertex;
105  m_emRadius= rhs.m_emRadius;
106  m_ET12Frac= rhs.m_ET12Frac;
107  m_etIsolHAD = rhs.m_etIsolHAD;
108  m_etIsolEM= rhs.m_etIsolEM;
109  m_etChrgHAD = rhs.m_etChrgHAD;
113  m_massTrk3P = rhs.m_massTrk3P;
120  m_etEMCL = rhs.m_etEMCL;
121  m_etChrgEM= rhs.m_etChrgEM;
122  m_etNeuEM= rhs.m_etNeuEM;
126  m_sumEM= rhs.m_sumEM;
127  if (rhs.m_secVertex)
128  m_secVertex = new Trk :: RecVertex( *rhs.m_secVertex );
129  m_etEflow= rhs.m_etEflow;
130  m_pi0 = rhs.m_pi0;
136  }
137  return *this;
138  }
139 
141  {
142  switch( detail )
143  {
145  return emRadius();
147  return isolationFraction();
149  return stripWidth2();
151  return isolationFraction();
153  return etEMAtEMScale() + etHadAtEMScale();
155  return etChrgHAD();
157  return etIsolEM();
159  return etIsolHAD();
160  // case TauJetParameters :: sumPTtracks:
161  // return sumPTTracks();
163  return (double)nAssocTracksCore();
165  return (double)nAssocTracksIsol();
167  return rWidth2Trk3P();
169  return massTrk3P();
171  return signD0Trk3P();
172  default:
173  return TauDetails::DEFAULT;
174  }
175  return TauDetails::DEFAULT;
176  }
177 
179  {
180  switch( detail )
181  {
195  return true;
196  default:
197  return false;
198  }
199  return false;
200  }
201 
202  const std::string Tau1P3PDetails::s_className =
204  const std::string& Tau1P3PDetails::className() const
205  {
206  return s_className;
207  }
208 }
Analysis::Tau1P3PDetails::emRadius
double emRadius() const
Uncalibrated transverse energy weighted radius in the Presampler + EM1 + EM2 within dR < 0....
Definition: Tau1P3PDetails.h:364
TauJetParameters::rWidth2Trk3P
@ rWidth2Trk3P
Definition: TauJetParameters.h:172
TauJetParameters::massTrk3P
@ massTrk3P
Definition: TauJetParameters.h:173
Analysis::Tau1P3PDetails::signD0Trk3P
double signD0Trk3P() const
signed transverse impact parameter
Definition: Tau1P3PDetails.h:484
Analysis::Tau1P3PDetails::nAssocTracksCore
int nAssocTracksCore() const
Associated, "not good" quality tracks in core region.
Definition: Tau1P3PDetails.h:444
Analysis::Tau1P3PDetails::m_sumEtCellsLArOverLeadTrackPt
double m_sumEtCellsLArOverLeadTrackPt
Definition: Tau1P3PDetails.h:353
TauJetParameters::signDOTrk3P
@ signDOTrk3P
Definition: TauJetParameters.h:174
Analysis::Tau1P3PDetails::m_etNeuEM
double m_etNeuEM
Definition: Tau1P3PDetails.h:332
Analysis::Tau1P3PDetails::m_sumEM
CLHEP::HepLorentzVector m_sumEM
Definition: Tau1P3PDetails.h:339
Analysis::Tau1P3PDetails::etIsolHAD
double etIsolHAD() const
Transverse energy in HAD calo (at EM Scale) in 0.2 < dR < 0.4.
Definition: Tau1P3PDetails.h:434
Analysis::Tau1P3PDetails::~Tau1P3PDetails
virtual ~Tau1P3PDetails()
Destructor.
Definition: Tau1P3PDetails.cxx:56
TauJetParameters::etOtherEMCells
@ etOtherEMCells
Definition: TauJetParameters.h:164
Analysis::Tau1P3PDetails::m_etEMCL
double m_etEMCL
Definition: Tau1P3PDetails.h:330
CSV_InDetExporter.new
new
Definition: CSV_InDetExporter.py:145
Analysis::Tau1P3PDetails::nAssocTracksIsol
int nAssocTracksIsol() const
Associated tracks in isolation region.
Definition: Tau1P3PDetails.h:454
Analysis::TauDetails::DEFAULT
static const float DEFAULT
Definition: TauDetails.h:34
TauJetParameters::annularIsolationFraction
@ annularIsolationFraction
Definition: TauJetParameters.h:161
Analysis::Tau1P3PDetails::m_rWidth2Trk3P
double m_rWidth2Trk3P
Definition: Tau1P3PDetails.h:318
detail
Definition: extract_histogram_tag.cxx:14
TauJetParameters::etCaloAtEMScale
@ etCaloAtEMScale
Definition: TauJetParameters.h:162
Analysis::Tau1P3PDetails::s_className
static const std::string s_className
Definition: Tau1P3PDetails.h:306
Analysis::Tau1P3PDetails::m_etIsolHAD
double m_etIsolHAD
Definition: Tau1P3PDetails.h:311
Analysis::Tau1P3PDetails::m_trFlightPathSig
double m_trFlightPathSig
Definition: Tau1P3PDetails.h:335
Analysis::Tau1P3PDetails::m_etChrgHAD
double m_etChrgHAD
Definition: Tau1P3PDetails.h:313
Analysis::Tau1P3PDetails::rWidth2Trk3P
double rWidth2Trk3P() const
Width of tracks momenta.
Definition: Tau1P3PDetails.h:474
Analysis::Tau1P3PDetails::isolationFraction
double isolationFraction() const
Ratio of the uncalibrated transverse energy within dR < 0.1 and dR < 0.2.
Definition: Tau1P3PDetails.h:374
Analysis::Tau1P3PDetails::hasParameter
virtual bool hasParameter(TauJetParameters ::Detail detail) const
check if parameter exists
Definition: Tau1P3PDetails.cxx:178
Analysis::TauDetails
Definition: TauDetails.h:26
TauJetParameters::isolationFraction
@ isolationFraction
Definition: TauJetParameters.h:150
xAOD::TauJetParameters::stripWidth2
@ stripWidth2
Get strip width ^2.
Definition: TauDefs.h:202
Tau1P3PDetails.h
TauJetParameters::nAssocTracksCore
@ nAssocTracksCore
Definition: TauJetParameters.h:170
Analysis::Tau1P3PDetails::m_hadronicLeak
double m_hadronicLeak
Definition: Tau1P3PDetails.h:354
Analysis::Tau1P3PDetails::className
virtual const std::string & className() const
Definition: Tau1P3PDetails.cxx:204
Analysis::Tau1P3PDetails::stripWidth2
double stripWidth2() const
Uncalibrated transverse energy weighted width in the strip layer within dR < 0.2.
Definition: Tau1P3PDetails.h:394
Analysis::Tau1P3PDetails::m_etResChrgEMTrk
std ::vector< double > m_etResChrgEMTrk
Definition: Tau1P3PDetails.h:338
Analysis::Tau1P3PDetails::parameter
virtual double parameter(TauJetParameters ::Detail detail) const
Generic parameter accessors - for old AOD compatibility.
Definition: Tau1P3PDetails.cxx:140
ClassName.h
An interface for getting the name of a class as a string.
Analysis::Tau1P3PDetails::m_pi0
ElementLinkVector< CaloClusterContainer > m_pi0
Definition: Tau1P3PDetails.h:349
Analysis::Tau1P3PDetails::m_etChrgEM
double m_etChrgEM
Definition: Tau1P3PDetails.h:331
Analysis::Tau1P3PDetails::etChrgHAD
double etChrgHAD() const
Charged transverse energy in narrow window around track(s) in HAD calo.
Definition: Tau1P3PDetails.h:414
Analysis::Tau1P3PDetails::m_etResNeuEM
double m_etResNeuEM
Definition: Tau1P3PDetails.h:333
Analysis::Tau1P3PDetails::m_nAssocTracksIsol
int m_nAssocTracksIsol
Definition: Tau1P3PDetails.h:315
ClassName::name
static std::string name()
Return the name of class T as a string.
Analysis::Tau1P3PDetails::m_ET12Frac
double m_ET12Frac
Definition: Tau1P3PDetails.h:310
Analysis::Tau1P3PDetails::m_signD0Trk3P
double m_signD0Trk3P
Definition: Tau1P3PDetails.h:316
TauJetParameters::emRadius
@ emRadius
Definition: TauJetParameters.h:149
Analysis::Tau1P3PDetails::etIsolEM
double etIsolEM() const
Transverse energy in EM calo (at EM Scale) in 0.2 < dR < 0.4.
Definition: Tau1P3PDetails.h:424
Analysis::Tau1P3PDetails::m_etHadAtEMScale
double m_etHadAtEMScale
Definition: Tau1P3PDetails.h:327
Analysis::Tau1P3PDetails::m_etIsolEM
double m_etIsolEM
Definition: Tau1P3PDetails.h:312
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
Analysis
The namespace of all packages in PhysicsAnalysis/JetTagging.
Definition: BTaggingCnvAlg.h:20
Analysis::Tau1P3PDetails::operator=
Tau1P3PDetails & operator=(const Tau1P3PDetails &rhs)
Assignment Operator.
Definition: Tau1P3PDetails.cxx:98
Analysis::Tau1P3PDetails::m_z0SinThetaSig
double m_z0SinThetaSig
Definition: Tau1P3PDetails.h:319
Analysis::Tau1P3PDetails::m_secVertex
Trk ::RecVertex * m_secVertex
Definition: Tau1P3PDetails.h:344
Analysis::Tau1P3PDetails::m_nAssocTracksCore
int m_nAssocTracksCore
Definition: Tau1P3PDetails.h:314
xAOD::DiTauJetParameters::Detail
Detail
Definition: DiTauDefs.h:38
Analysis::Tau1P3PDetails::m_secondaryMax
double m_secondaryMax
Definition: Tau1P3PDetails.h:355
Analysis::Tau1P3PDetails::m_emRadius
double m_emRadius
Definition: Tau1P3PDetails.h:309
Analysis::Tau1P3PDetails::m_numStripCells
int m_numStripCells
Definition: Tau1P3PDetails.h:307
Analysis::Tau1P3PDetails
DEPRECATED DO NOT USE - MIGRATE TO TauCommonDetails Basic details class containing information produc...
Definition: Tau1P3PDetails.h:41
Analysis::Tau1P3PDetails::m_etIsolFrac
double m_etIsolFrac
Definition: Tau1P3PDetails.h:321
Analysis::Tau1P3PDetails::m_etEMAtEMScale
double m_etEMAtEMScale
Definition: Tau1P3PDetails.h:328
TauJetParameters::etChargedHadCells
@ etChargedHadCells
Definition: TauJetParameters.h:163
Analysis::Tau1P3PDetails::m_etChrgEM01Trk
std ::vector< double > m_etChrgEM01Trk
Definition: Tau1P3PDetails.h:337
Analysis::Tau1P3PDetails::etEMAtEMScale
double etEMAtEMScale() const
EM energy at the EM scale.
Definition: Tau1P3PDetails.h:544
Analysis::Tau1P3PDetails::m_massTrk3P
double m_massTrk3P
Definition: Tau1P3PDetails.h:317
Analysis::Tau1P3PDetails::m_etEflow
double m_etEflow
Definition: Tau1P3PDetails.h:351
Analysis::Tau1P3PDetails::Tau1P3PDetails
Tau1P3PDetails()
Default Constructor.
Definition: Tau1P3PDetails.cxx:24
TauJetParameters::etOtherHadCells
@ etOtherHadCells
Definition: TauJetParameters.h:165
TauJetParameters::nAssocTracksIsol
@ nAssocTracksIsol
Definition: TauJetParameters.h:171
Analysis::Tau1P3PDetails::massTrk3P
double massTrk3P() const
Invariant mass of the tracks system.
Definition: Tau1P3PDetails.h:464
Analysis::Tau1P3PDetails::etHadAtEMScale
double etHadAtEMScale() const
Had energy at the EM scale.
Definition: Tau1P3PDetails.h:534
Analysis::Tau1P3PDetails::m_cellEM012Cluster
ElementLink< CaloClusterContainer > m_cellEM012Cluster
Definition: Tau1P3PDetails.h:322
Analysis::Tau1P3PDetails::m_etChrgHADoverPttot
double m_etChrgHADoverPttot
Definition: Tau1P3PDetails.h:320
Analysis::Tau1P3PDetails::m_stripWidth2
double m_stripWidth2
Definition: Tau1P3PDetails.h:308