ATLAS Offline Software
PhotonCnvTool.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 // Gaudi/Athena include(s):
7 
8 // EDM include(s):
12 
13 // Local include(s):
14 #include "PhotonCnvTool.h"
15 
16 
17 namespace xAODMaker {
18 
19  PhotonCnvTool::PhotonCnvTool(const std::string& type,
20  const std::string& name,
21  const IInterface* parent )
22  : AthAlgTool( type, name, parent )
23  {
24  // Declare the interface(s) provided by the tool:
25  declareInterface< IPhotonCnvTool >(this);
26 
27  declareProperty( "xAODCaloClusterContainerName", m_caloClusters = "egClusterCollection");
28  declareProperty( "xAODCaloClusterTopoContainerName", m_caloClustersTopo = "EMCaloClusters");
29  declareProperty( "xAODConversionContainerName", m_vertexContainer = "GSFConversionVertices");
30  declareProperty( "xAODCaloClusterOtherContainerName", m_caloClustersOther = "egClusterCollection",
31  "Most likely used for trigger objects");
32 
33 
34  }
35 
36 
38  xAOD::PhotonContainer* xaod ) const
39  {
40 
41  if (!aod) {
42  ATH_MSG_WARNING("No input Photon Collection passed");
43  return StatusCode::SUCCESS;
44  }
45  if (!xaod) {
46  ATH_MSG_WARNING("No output Photon Collection passed");
47  return StatusCode::SUCCESS;
48  }
49  // Create the xAOD objects:
50  const auto end = aod->end();
51  for(auto itr = aod->begin(); itr != end; ++itr ) {
52  // Create the xAOD object:
54  xaod->push_back( photon );
55 
56  // p4
57  photon->setP4((*itr)->pt(),(*itr)->eta(),(*itr)->phi(),(*itr)->m());
58 
59  // author(s)
60  photon->setAuthor( (*itr)->author() );
61 
62  //OQ
63  photon->setOQ( (*itr)->isgoodoq() );
64 
65 
66  // Error Matrix
67  if((*itr)->errors()){
68 
69  const ErrorMatrixEEtaPhiM* oldMatrix = (*itr)->errors()->eEtaPhiMMatrix();
70  if(oldMatrix){
71  Eigen::Matrix<double,4,4> matrix;
72  for(int i(0);i<4;++i){
73  for(int j(0);j<4;++j){
74  matrix(i,j) = (*oldMatrix)(i,j);
75  }
76  }
77  Eigen::Matrix<double,4,4> jacobian (EigenP4JacobianEEtaPhiM2PtEtaPhiM((*itr)->e(),(*itr)->eta(),0));
78  Eigen::Matrix<double,4,4> covMatrix= jacobian*matrix*jacobian.transpose();
79  photon->setCovMatrix(covMatrix.cast<float>());
80  }
81  }
82 
83  //setParameters
84  setParameters(**itr,*photon);
85  //setIsolations
86  setIsolations(**itr,*photon);
87  //setLinks
88  setLinks(**itr,*photon);
89 
90  }
91 
92  // Return gracefully - like a elephant on roller skates :
93  return StatusCode::SUCCESS;
94  }
95 
96  void PhotonCnvTool::setParameters(const egamma& aodph, xAOD::Photon& xaodph) const{
97  // We're not doing all AOD parameters here because some are dropped, and some are moved elsewhere.
136  }
137 
139  double result = aodph.detailValue(aodParameter);
140  float parameter = static_cast<float>(result);
141  xaodph.setShowerShapeValue(parameter, xaodParameter);
142  }
143 
144  void PhotonCnvTool::setIsolations(const egamma& aodph, xAOD::Photon& xaodph) const {
154  }
155 
157  const egamma& aodph, xAOD::Photon& xaodph) const {
158  double result = aodph.detailValue(aodParameter);
159  float isolation = static_cast<float>(result);
160  xaodph.setIsolationValue(isolation, xaodParameter);
161  }
162 
163 
164  void PhotonCnvTool::setLinks(const egamma& aodph, xAOD::Photon& xaodph) const {
165  // Need to reset links from old CaloCluster to xAOD::CaloCluster
166  std::string clusterContainerName;
167 
168  //Change link depending on the photon author
169  //Topo seeded photons
171  clusterContainerName = m_caloClustersTopo;
172  }
173  //Standard photons
175  clusterContainerName = m_caloClusters;
176  }
177  // others (trigger)
178  else {
179  clusterContainerName = m_caloClustersOther;
180  }
181 
182  // If EL name not set, use the original name.
183  if (clusterContainerName.empty())
184  clusterContainerName = aodph.clusterElementLink().dataID();
185  ElementLink<xAOD::CaloClusterContainer> newclusterElementLink;
186  newclusterElementLink.resetWithKeyAndIndex( clusterContainerName,
187  aodph.clusterElementLink().index() );
188 
189  std::vector< ElementLink< xAOD::CaloClusterContainer > > linksToClusters;
190  linksToClusters.push_back(newclusterElementLink);
191  xaodph.setCaloClusterLinks(linksToClusters);
192 
193  // Decorate cluster with position in calo
194  if (newclusterElementLink.isValid()) ATH_MSG_WARNING("Invalid link to cluster");
195 
196  // Need to reset links from old VxVertex to xAOD::Vertex
197  std::vector< ElementLink< xAOD::VertexContainer > > linksToVertices;
198  for(unsigned int i(0); i<aodph.nConversions(); ++i){
199  linksToVertices.push_back( getNewLink(aodph.conversionElementLink(i), m_vertexContainer) );
200  }
201  xaodph.setVertexLinks( linksToVertices );
202  }
203 
205  std::string linkname = name;
206  // If not set, use same name as in original link.
207  if (linkname.empty())
208  linkname = oldLink.dataID();
210  newLink.resetWithKeyAndIndex( linkname, oldLink.index() );
211  // std::cout<<"Old link is "<<(oldLink.isValid()?"VALID":"INVALID")
212  // <<" and new link (pointing to"<<name<<") is "<<(newLink.isValid()?"VALID":"INVALID")<<std::endl;
213  return newLink;
214  }
215 
216 
217 
218 } // namespace xAODMaker
219 
220 
221 // LocalWords: Gaudi
xAOD::EgammaParameters::ehad1
@ ehad1
E leakage into 1st sampling of had calo (CaloSampling::HEC0 + CaloSampling::TileBar0 + CaloSampling::...
Definition: EgammaEnums.h:48
xAOD::EgammaParameters::e233
@ e233
uncalibrated energy (sum of cells) of the middle sampling in a rectangle of size 3x3 (in cell units e...
Definition: EgammaEnums.h:68
PhotonCnvTool.h
xAODMaker::PhotonCnvTool::setParameters
void setParameters(const egamma &, xAOD::Photon &) const
Fills in the shower shape variables.
Definition: PhotonCnvTool.cxx:96
egammaParameters::emaxs1
@ emaxs1
energy of strip with maximal energy deposit
Definition: egammaParamDefs.h:189
xAOD::Iso::topoetcone20
@ topoetcone20
Topo-cluster ET-sum.
Definition: IsolationType.h:48
egammaParameters::e337
@ e337
uncalibrated energy (sum of cells) of the third sampling in a rectangle of size 3x7
Definition: egammaParamDefs.h:147
xAOD::EgammaParameters::e033
@ e033
uncalibrated energy (sum of cells) in presampler in a 3x3 window in cells in eta X phi
Definition: EgammaEnums.h:33
get_generator_info.result
result
Definition: get_generator_info.py:21
ErrorMatrixEEtaPhiM
Definition: ErrorMatrixEEtaPhiM.h:12
egammaParameters::e333
@ e333
uncalibrated energy (sum of cells) of the third sampling in a rectangle of size 3x3
Definition: egammaParamDefs.h:143
xAOD::EgammaParameters::e2ts1
@ e2ts1
2nd max in strips calc by summing 3 strips
Definition: EgammaEnums.h:105
xAOD::EgammaParameters::ShowerShapeType
ShowerShapeType
Definition: EgammaEnums.h:27
xAOD::EgammaParameters::asy1
@ asy1
uncorr asymmetry in 3 strips in the 1st sampling
Definition: EgammaEnums.h:123
AthCommonDataStore< AthCommonMsg< AlgTool > >::declareProperty
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Definition: AthCommonDataStore.h:145
xAOD::EgammaParameters::e235
@ e235
uncalibrated energy (sum of cells) of the middle sampling in a rectangle of size 3x5
Definition: EgammaEnums.h:71
egammaParameters::topoetcone40
@ topoetcone40
Topo cluster ET in a cone with half-opening angle 0.30.
Definition: egammaParamDefs.h:731
xAOD::EgammaParameters::ecore
@ ecore
core energy in em calo E(core) = E0(3x3) + E1(15x2) + E2(5x5) + E3(3x5)
Definition: EgammaEnums.h:152
xAOD::Photon_v1::setVertexLinks
void setVertexLinks(const VxELVec_t &links)
set Pointer to the xAOD::vertex/vertices that match the photon candidate
xAOD::Iso::ptcone30
@ ptcone30
Definition: IsolationType.h:41
xAOD::Iso::ptcone20
@ ptcone20
Track isolation.
Definition: IsolationType.h:40
xAOD::Iso::etcone40
@ etcone40
Definition: IsolationType.h:34
xAOD::EgammaParameters::ethad1
@ ethad1
transverse energy in the first sampling of the hadronic calorimeters behind the cluster calculated fr...
Definition: EgammaEnums.h:42
egammaParameters::e233
@ e233
uncalibrated energy (sum of cells) of the middle sampling in a rectangle of size 3x3 (in cell units e...
Definition: egammaParamDefs.h:133
xAOD::Iso::topoetcone30
@ topoetcone30
Definition: IsolationType.h:49
egammaParameters::ParamDef
ParamDef
Definition: egammaParamDefs.h:99
egammaParameters::e033
@ e033
uncalibrated energy (sum of cells) in presampler in a 3x3 window in cells in eta X phi
Definition: egammaParamDefs.h:112
egammaParameters::emins1
@ emins1
energy reconstructed in the strip with the minimal value between the first and second maximum
Definition: egammaParamDefs.h:187
xAODMaker::PhotonCnvTool::PhotonCnvTool
PhotonCnvTool(const std::string &type, const std::string &name, const IInterface *parent)
Regular AlgTool constructor.
Definition: PhotonCnvTool.cxx:19
xAOD::Iso::etcone30
@ etcone30
Definition: IsolationType.h:33
xAOD::EgammaParameters::f1core
@ f1core
E1(3x1)/E = fraction of the energy reconstructed in the first longitudinal compartment of the electro...
Definition: EgammaEnums.h:60
xAODMaker
Definition: StoreGateSvc.h:72
egammaParameters::f3
@ f3
fraction of energy reconstructed in 3rd sampling
Definition: egammaParamDefs.h:127
egammaParameters::e2ts1
@ e2ts1
2nd max in strips calc by summing 3 strips
Definition: egammaParamDefs.h:157
egamma::detailValue
double detailValue(egammaParameters::ParamDef key, const std::string &name="", unsigned int index=0) const
get the float value of key in the container name
Definition: egamma.cxx:899
xAOD::EgammaParameters::wtots1
@ wtots1
shower width is determined in a window detaxdphi = 0,0625 ×~0,2, corresponding typically to 20 strips...
Definition: EgammaEnums.h:140
mergePhysValFiles.end
end
Definition: DataQuality/DataQualityUtils/scripts/mergePhysValFiles.py:93
egamma
Definition: egamma.h:58
xAODMaker::PhotonCnvTool::m_caloClusters
std::string m_caloClusters
Location/Key for xAOD::CaloClusters for electrons and photons
Definition: PhotonCnvTool.h:58
egammaParameters::ethad
@ ethad
ET leakage into hadronic calorimeter with exclusion of energy in CaloSampling::TileGap3.
Definition: egammaParamDefs.h:121
xAOD::EgammaParameters::e333
@ e333
uncalibrated energy (sum of cells) of the third sampling in a rectangle of size 3x3
Definition: EgammaEnums.h:83
EigenP4JacobianEEtaPhiM2PtEtaPhiM
Definition: EigenP4JacobianEEtaPhiM2PtEtaPhiM.h:10
xAODMaker::PhotonCnvTool::checkAndSetIsolation
void checkAndSetIsolation(egammaParameters::ParamDef aodParameter, xAOD::Iso::IsolationType xaodParameter, const egamma &, xAOD::Photon &) const
Definition: PhotonCnvTool.cxx:156
xAOD::EgammaParameters::f3
@ f3
fraction of energy reconstructed in 3rd sampling
Definition: EgammaEnums.h:54
egammaParameters::fracs1
@ fracs1
shower shape in the shower core : [E(+/-3)-E(+/-1)]/E(+/-1), where E(+/-n) is the energy in +- n stri...
Definition: egammaParamDefs.h:161
xAOD::EgammaParameters::e1152
@ e1152
uncalibrated energy (sum of cells) in strips in a 15x2 window in cells in eta X phi
Definition: EgammaEnums.h:39
xAOD::EgammaParameters::ethad
@ ethad
ET leakage into hadronic calorimeter with exclusion of energy in CaloSampling::TileGap3.
Definition: EgammaEnums.h:45
egammaParameters::ecore
@ ecore
core energy in em calo E(core) = E0(3x3) + E1(15x2) + E2(5x5) + E3(3x5)
Definition: egammaParamDefs.h:195
egammaParameters::e2tsts1
@ e2tsts1
energy of the cell corresponding to second energy maximum in the first sampling
Definition: egammaParamDefs.h:159
egammaParameters::AuthorPhoton
const unsigned int AuthorPhoton
Photon reconstructed by standard cluster-based algorithm.
Definition: egammaParamDefs.h:66
xAOD::EgammaParameters::f1
@ f1
E1/E = fraction of energy reconstructed in the first sampling, where E1 is energy in all strips belon...
Definition: EgammaEnums.h:52
egammaParameters::etcone20
@ etcone20
ET in a cone with half-opening angle 0.2, with exclusion of a window of size 7x5 in electromagnetic c...
Definition: egammaParamDefs.h:104
xAOD::Egamma_v1::setIsolationValue
bool setIsolationValue(float value, const Iso::IsolationType information)
old set method for Isolation values.
Definition: Egamma_v1.h:268
lumiFormat.i
int i
Definition: lumiFormat.py:85
xAOD::Iso::etcone20
@ etcone20
Calorimeter isolation.
Definition: IsolationType.h:32
xAOD::EgammaParameters::pos7
@ pos7
Difference between the track and the shower positions: sum_{i=i_m-7}^{i=i_m+7}E_i x (i-i_m) / sum_{i=...
Definition: EgammaEnums.h:133
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
egammaParameters::AuthorRConv
const unsigned int AuthorRConv
Photon that is duplicated with electron.
Definition: egammaParamDefs.h:70
xAOD::covMatrix
covMatrix
Definition: TrackMeasurement_v1.cxx:19
xAOD::EgammaParameters::emins1
@ emins1
energy reconstructed in the strip with the minimal value between the first and second maximum
Definition: EgammaEnums.h:143
xAOD::EgammaParameters::poscs2
@ poscs2
relative position in eta within cell in 2nd sampling
Definition: EgammaEnums.h:121
xAOD::Iso::IsolationType
IsolationType
Overall enumeration for isolation types in xAOD files.
Definition: IsolationType.h:26
xAODMaker::PhotonCnvTool::m_vertexContainer
std::string m_vertexContainer
Location/Key for xAOD::Vertex for photons
Definition: PhotonCnvTool.h:57
xAOD::EgammaParameters::e011
@ e011
uncalibrated energy (sum of cells) in presampler in a 1x1 window in cells in eta X phi
Definition: EgammaEnums.h:30
xAODMaker::PhotonCnvTool::getNewLink
ElementLink< xAOD::VertexContainer > getNewLink(const ElementLink< VxContainer > &oldLink, const std::string &name) const
Definition: PhotonCnvTool.cxx:204
test_pyathena.parent
parent
Definition: test_pyathena.py:15
egammaParameters::e237
@ e237
uncalibrated energy (sum of cells) of the middle sampling in a rectangle of size 3x7
Definition: egammaParamDefs.h:139
egammaContainer
Definition: egammaContainer.h:41
egammaParameters::wtots1
@ wtots1
shower width is determined in a window detaxdphi = 0,0625 ~0,2, corresponding typically to 20 strips ...
Definition: egammaParamDefs.h:185
xAODMaker::PhotonCnvTool::setLinks
void setLinks(const egamma &aodph, xAOD::Photon &xaodph) const
Definition: PhotonCnvTool.cxx:164
EigenP4JacobianEEtaPhiM2PtEtaPhiM.h
xAODMaker::PhotonCnvTool::m_caloClustersTopo
std::string m_caloClustersTopo
Location/Key for xAOD::CaloClusters for topo seeded photons.
Definition: PhotonCnvTool.h:59
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
xAOD::Egamma_v1::setCaloClusterLinks
void setCaloClusterLinks(const CLELVec_t &links)
set Pointer to the xAOD::CaloCluster
egammaParamDefs.h
egammaParameters::ethad1
@ ethad1
transverse energy in the first sampling of the hadronic calorimeters behind the cluster calculated fr...
Definition: egammaParamDefs.h:119
egammaParameters::e132
@ e132
uncalibrated energy (sum of cells) in strips in a 3x2 window in cells in eta X phi
Definition: egammaParamDefs.h:114
xAOD::EgammaParameters::e377
@ e377
uncalibrated energy (sum of cells) of the middle sampling in a rectangle of size 7x7
Definition: EgammaEnums.h:92
xAODMaker::PhotonCnvTool::checkAndSetParameter
void checkAndSetParameter(egammaParameters::ParamDef aodParameter, xAOD::EgammaParameters::ShowerShapeType xaodParameter, const egamma &, xAOD::Photon &) const
Definition: PhotonCnvTool.cxx:138
egammaParameters::f3core
@ f3core
E3(3x3)/E fraction of the energy reconstructed in the third compartment of the electromagnetic calori...
Definition: egammaParamDefs.h:131
egamma::author
unsigned int author() const
Reconstruction Author
Definition: egamma.h:244
xAOD::EgammaParameters::poscs1
@ poscs1
relative position in eta within cell in 1st sampling
Definition: EgammaEnums.h:119
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
egammaParameters::e1152
@ e1152
uncalibrated energy (sum of cells) in strips in a 15x2 window in cells in eta X phi
Definition: egammaParamDefs.h:116
egammaParameters::topoetcone20
@ topoetcone20
Topo cluster ET in a cone with half-opening angle 0.20.
Definition: egammaParamDefs.h:727
egammaParameters::r33over37allcalo
@ r33over37allcalo
1-ratio of energy in 3x3 over 3x7 cells; E(3x3) = E0(1x1) + E1(3x1) + E2(3x3) + E3(3x3); E(3x7) = E0(...
Definition: egammaParamDefs.h:192
egammaParameters::e277
@ e277
uncalibrated energy (sum of cells) of the middle sampling in a rectangle of size 7x7
Definition: egammaParamDefs.h:141
errorcheck.h
Helpers for checking error return status codes and reporting errors.
egammaParameters::weta2
@ weta2
the lateral width is calculated with a window of 3x5 cells using the energy weighted sum over all cel...
Definition: egammaParamDefs.h:155
egammaParameters::barys1
@ barys1
barycentre in sampling 1 calculated in 3 strips
Definition: egammaParamDefs.h:183
egammaParameters::poscs2
@ poscs2
relative position in eta within cell in 2nd sampling
Definition: egammaParamDefs.h:170
egamma::conversionElementLink
ElementLink< VxContainer > conversionElementLink(unsigned int index=0) const
element link to conversion
Definition: egamma.cxx:450
DataVector::push_back
value_type push_back(value_type pElem)
Add an element to the end of the collection.
egammaParameters::ptcone40
@ ptcone40
summed pt of tracks in a cone with half-opening angle 0.4
Definition: egammaParamDefs.h:698
xAOD::EgammaParameters::barys1
@ barys1
barycentre in sampling 1 calculated in 3 strips
Definition: EgammaEnums.h:135
xAOD::Photon
Photon_v1 Photon
Definition of the current "egamma version".
Definition: Event/xAOD/xAODEgamma/xAODEgamma/Photon.h:17
xAODMaker::PhotonCnvTool::m_caloClustersOther
std::string m_caloClustersOther
Location/Key for xAOD::CaloClusters for other (trigger?) electrons.
Definition: PhotonCnvTool.h:60
xAOD::Iso::ptcone40
@ ptcone40
Definition: IsolationType.h:42
DataVector::end
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
egammaParameters::asy1
@ asy1
uncorr asymmetry in 3 strips in the 1st sampling
Definition: egammaParamDefs.h:172
python.testIfMatch.matrix
matrix
Definition: testIfMatch.py:66
egammaParameters::pos
@ pos
difference between shower cell and predicted track in +/- 1 cells
Definition: egammaParamDefs.h:174
egammaParameters::e255
@ e255
uncalibrated energy (sum of cells) of the middle sampling in a rectangle of size 5x5
Definition: egammaParamDefs.h:137
egammaParameters::e235
@ e235
uncalibrated energy (sum of cells) of the middle sampling in a rectangle of size 3x5
Definition: egammaParamDefs.h:135
xAOD::photon
@ photon
Definition: TrackingPrimitives.h:199
egammaParameters::etcone30
@ etcone30
ET in a cone with half-opening angle 0.3, with exclusion of a window of size 7x5 in electromagnetic c...
Definition: egammaParamDefs.h:106
egammaParameters::AuthorCaloTopo35
const unsigned int AuthorCaloTopo35
Photon reconstructed by SW CaloTopo35 seeded clusters.
Definition: egammaParamDefs.h:76
xAOD::Photon_v1
Definition: Photon_v1.h:37
ATH_MSG_WARNING
#define ATH_MSG_WARNING(x)
Definition: AthMsgStreamMacros.h:32
xAOD::EgammaParameters::e255
@ e255
uncalibrated energy (sum of cells) of the middle sampling in a rectangle of size 5x5
Definition: EgammaEnums.h:74
xAOD::EgammaParameters::e337
@ e337
uncalibrated energy (sum of cells) of the third sampling in a rectangle of size 3x7
Definition: EgammaEnums.h:89
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
xAOD::EgammaParameters::r33over37allcalo
@ r33over37allcalo
1-ratio of energy in 3x3 over 3x7 cells; E(3x3) = E0(1x1) + E1(3x1) + E2(3x3) + E3(3x3); E(3x7) = E0(...
Definition: EgammaEnums.h:149
xAODMaker::PhotonCnvTool::setIsolations
void setIsolations(const egamma &aodmuon, xAOD::Photon &xaodmuon) const
Fills in the isolation variables.
Definition: PhotonCnvTool.cxx:144
egammaParameters::f1core
@ f1core
E1(3x1)/E = fraction of the energy reconstructed in the first longitudinal compartment of the electro...
Definition: egammaParamDefs.h:129
egammaParameters::ptcone20
@ ptcone20
summed pt of tracks in a cone with half-opening angle 0.2 (no zvx cut photons, 1mm electrons)
Definition: egammaParamDefs.h:696
egammaParameters::ptcone30
@ ptcone30
summed pt of tracks in a cone with half-opening angle 0.3
Definition: egammaParamDefs.h:577
xAODMaker::PhotonCnvTool::convert
virtual StatusCode convert(const egammaContainer *aod, xAOD::PhotonContainer *xaod) const override
Function that fills an existing xAOD::PhotonContainer.
Definition: PhotonCnvTool.cxx:37
xAOD::EgammaParameters::e277
@ e277
uncalibrated energy (sum of cells) of the middle sampling in a rectangle of size 7x7
Definition: EgammaEnums.h:80
xAOD::EgammaParameters::widths1
@ widths1
same as egammaParameters::weta1 but without corrections on particle impact point inside the cell
Definition: EgammaEnums.h:114
egamma::clusterElementLink
const ElementLink< CaloClusterContainer > & clusterElementLink() const
element link to cluster
Definition: egamma.cxx:427
egammaParameters::e335
@ e335
uncalibrated energy (sum of cells) of the third sampling in a rectangle of size 3x5
Definition: egammaParamDefs.h:145
xAOD::EgammaParameters::weta1
@ weta1
shower width using +/-3 strips around the one with the maximal energy deposit: w3 strips = sqrt{sum(E...
Definition: EgammaEnums.h:97
xAOD::EgammaParameters::e132
@ e132
uncalibrated energy (sum of cells) in strips in a 3x2 window in cells in eta X phi
Definition: EgammaEnums.h:36
egammaParameters::e011
@ e011
uncorrected energy in presampler in a 1x1 window in cells in eta X phi
Definition: egammaParamDefs.h:110
egammaParameters::ehad1
@ ehad1
E leakage into 1st sampling of had calo (CaloSampling::HEC0 + CaloSampling::TileBar0 + CaloSampling::...
Definition: egammaParamDefs.h:123
egammaParameters::poscs1
@ poscs1
relative position in eta within cell in 1st sampling
Definition: egammaParamDefs.h:168
xAOD::EgammaParameters::e237
@ e237
uncalibrated energy (sum of cells) of the middle sampling in a rectangle of size 3x7
Definition: EgammaEnums.h:77
xAOD::Iso::topoetcone40
@ topoetcone40
Definition: IsolationType.h:50
egammaParameters::etcone40
@ etcone40
ET in a cone with half-opening angle 0.4, with exclusion of a window of size 7x5 in electromagnetic c...
Definition: egammaParamDefs.h:108
AthAlgTool
Definition: AthAlgTool.h:26
egamma::nConversions
unsigned int nConversions() const
Definition: egamma.cxx:421
xAOD::Egamma_v1::setShowerShapeValue
bool setShowerShapeValue(float value, const EgammaParameters::ShowerShapeType information)
Set method for Shower Shape values.
Definition: Egamma_v1.cxx:226
xAOD::EgammaParameters::f3core
@ f3core
E3(3x3)/E fraction of the energy reconstructed in the third compartment of the electromagnetic calori...
Definition: EgammaEnums.h:65
egammaParameters::topoetcone30
@ topoetcone30
Topo cluster ET in a cone with half-opening angle 0.30.
Definition: egammaParamDefs.h:729
xAOD::EgammaParameters::e2tsts1
@ e2tsts1
energy of the cell corresponding to second energy maximum in the first sampling
Definition: EgammaEnums.h:108
xAOD::EgammaParameters::widths2
@ widths2
same as egammaParameters::weta2 but without corrections on particle impact point inside the cell
Definition: EgammaEnums.h:117
egammaParameters::weta1
@ weta1
shower width using +/-1 strips around the one with the maximal energy deposit: w3 strips = sqrt{sum(E...
Definition: egammaParamDefs.h:152
egammaParameters::pos7
@ pos7
Difference between the track and the shower positions: sum_{i=i_m-7}^{i=i_m+7}E_i x (i-i_m) / sum_{i=...
Definition: egammaParamDefs.h:181
xAOD::EgammaParameters::e335
@ e335
uncalibrated energy (sum of cells) of the third sampling in a rectangle of size 3x5
Definition: EgammaEnums.h:86
xAOD::EgammaParameters::emaxs1
@ emaxs1
energy of strip with maximal energy deposit
Definition: EgammaEnums.h:145
egammaParameters::f1
@ f1
E1/E = fraction of energy reconstructed in the first sampling, where E1 is energy in all strips belon...
Definition: egammaParamDefs.h:125
egammaParameters::e377
@ e377
uncalibrated energy (sum of cells) of the middle sampling in a rectangle of size 7x7
Definition: egammaParamDefs.h:149
PhotonContainer.h
xAOD::EgammaParameters::fracs1
@ fracs1
shower shape in the shower core : [E(+/-3)-E(+/-1)]/E(+/-1), where E(+/-n) is the energy in ± n strip...
Definition: EgammaEnums.h:111
xAOD::EgammaParameters::pos
@ pos
difference between shower cell and predicted track in +/- 1 cells
Definition: EgammaEnums.h:125
DataVector::begin
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.
egammaParameters::widths1
@ widths1
same as egammaParameters::weta1 but without corrections on particle impact point inside the cell
Definition: egammaParamDefs.h:164
xAOD::EgammaParameters::weta2
@ weta2
the lateral width is calculated with a window of 3x5 cells using the energy weighted sum over all cel...
Definition: EgammaEnums.h:103
egammaParameters::widths2
@ widths2
same as egammaParameters::weta2 but without corrections on particle impact point inside the cell
Definition: egammaParamDefs.h:166