ATLAS Offline Software
Loading...
Searching...
No Matches
xAODMaker::PhotonCnvTool Class Reference

Implementation for the tool creating PhotonContainer from an AOD. More...

#include <PhotonCnvTool.h>

Inheritance diagram for xAODMaker::PhotonCnvTool:
Collaboration diagram for xAODMaker::PhotonCnvTool:

Public Member Functions

 PhotonCnvTool (const std::string &type, const std::string &name, const IInterface *parent)
 Regular AlgTool constructor.
virtual StatusCode convert (const egammaContainer *aod, xAOD::PhotonContainer *xaod) const override
 Function that fills an existing xAOD::PhotonContainer.
ServiceHandle< StoreGateSvc > & evtStore ()
 The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
const ServiceHandle< StoreGateSvc > & detStore () const
 The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
virtual StatusCode sysInitialize () override
 Perform system initialization for an algorithm.
virtual StatusCode sysStart () override
 Handle START transition.
virtual std::vector< Gaudi::DataHandle * > inputHandles () const override
 Return this algorithm's input handles.
virtual std::vector< Gaudi::DataHandle * > outputHandles () const override
 Return this algorithm's output handles.
Gaudi::Details::PropertyBase & declareProperty (Gaudi::Property< T, V, H > &t)
void updateVHKA (Gaudi::Details::PropertyBase &)
MsgStream & msg () const
bool msgLvl (const MSG::Level lvl) const

Static Public Member Functions

static const InterfaceID & interfaceID ()
 Gaudi interface definition.

Protected Member Functions

void renounceArray (SG::VarHandleKeyArray &handlesArray)
 remove all handles from I/O resolution
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > renounce (T &h)
void extraDeps_update_handler (Gaudi::Details::PropertyBase &ExtraDeps)
 Add StoreName to extra input/output deps as needed.

Private Types

typedef ServiceHandle< StoreGateSvcStoreGateSvc_t

Private Member Functions

void setParameters (const egamma &, xAOD::Photon &) const
 Fills in the shower shape variables.
void checkAndSetParameter (egammaParameters::ParamDef aodParameter, xAOD::EgammaParameters::ShowerShapeType xaodParameter, const egamma &, xAOD::Photon &) const
void setIsolations (const egamma &aodmuon, xAOD::Photon &xaodmuon) const
 Fills in the isolation variables.
void checkAndSetIsolation (egammaParameters::ParamDef aodParameter, xAOD::Iso::IsolationType xaodParameter, const egamma &, xAOD::Photon &) const
void setLinks (const egamma &aodph, xAOD::Photon &xaodph) const
ElementLink< xAOD::VertexContainergetNewLink (const ElementLink< VxContainer > &oldLink, const std::string &name) const
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
 specialization for handling Gaudi::Property<SG::VarHandleKey>

Private Attributes

std::string m_vertexContainer
 Location/Key for xAOD::Vertex for photons.
std::string m_caloClusters
 Location/Key for xAOD::CaloClusters for electrons and photons.
std::string m_caloClustersTopo
 Location/Key for xAOD::CaloClusters for topo seeded photons.
std::string m_caloClustersOther
 Location/Key for xAOD::CaloClusters for other (trigger?) electrons.
StoreGateSvc_t m_evtStore
 Pointer to StoreGate (event store by default)
StoreGateSvc_t m_detStore
 Pointer to StoreGate (detector store by default)
std::vector< SG::VarHandleKeyArray * > m_vhka
bool m_varHandleArraysDeclared

Detailed Description

Implementation for the tool creating PhotonContainer from an AOD.

   This interface is implemented by the tool that converts the
   egamma (Photon) Container into an xAOD::PhotonContainer.
Author
Jovan Mitrevski Jovan.nosp@m..Mit.nosp@m.revsk.nosp@m.i@ce.nosp@m.rn.ch

Definition at line 32 of file PhotonCnvTool.h.

Member Typedef Documentation

◆ StoreGateSvc_t

typedef ServiceHandle<StoreGateSvc> AthCommonDataStore< AthCommonMsg< AlgTool > >::StoreGateSvc_t
privateinherited

Definition at line 388 of file AthCommonDataStore.h.

Constructor & Destructor Documentation

◆ PhotonCnvTool()

xAODMaker::PhotonCnvTool::PhotonCnvTool ( const std::string & type,
const std::string & name,
const IInterface * parent )

Regular AlgTool constructor.

Definition at line 19 of file PhotonCnvTool.cxx.

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 }
AthAlgTool()
Default constructor:
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
std::string m_caloClustersOther
Location/Key for xAOD::CaloClusters for other (trigger?) electrons.
std::string m_caloClusters
Location/Key for xAOD::CaloClusters for electrons and photons.
std::string m_vertexContainer
Location/Key for xAOD::Vertex for photons.
std::string m_caloClustersTopo
Location/Key for xAOD::CaloClusters for topo seeded photons.

Member Function Documentation

◆ checkAndSetIsolation()

void xAODMaker::PhotonCnvTool::checkAndSetIsolation ( egammaParameters::ParamDef aodParameter,
xAOD::Iso::IsolationType xaodParameter,
const egamma & aodph,
xAOD::Photon & xaodph ) const
private

Definition at line 156 of file PhotonCnvTool.cxx.

157 {
158 double result = aodph.detailValue(aodParameter);
159 float isolation = static_cast<float>(result);
160 xaodph.setIsolationValue(isolation, xaodParameter);
161 }
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
bool setIsolationValue(float value, const Iso::IsolationType information)
old set method for Isolation values.
Definition Egamma_v1.h:262

◆ checkAndSetParameter()

void xAODMaker::PhotonCnvTool::checkAndSetParameter ( egammaParameters::ParamDef aodParameter,
xAOD::EgammaParameters::ShowerShapeType xaodParameter,
const egamma & aodph,
xAOD::Photon & xaodph ) const
private

Definition at line 138 of file PhotonCnvTool.cxx.

138 {
139 double result = aodph.detailValue(aodParameter);
140 float parameter = static_cast<float>(result);
141 xaodph.setShowerShapeValue(parameter, xaodParameter);
142 }
bool setShowerShapeValue(float value, const EgammaParameters::ShowerShapeType information)
Set method for Shower Shape values.

◆ convert()

StatusCode xAODMaker::PhotonCnvTool::convert ( const egammaContainer * aod,
xAOD::PhotonContainer * xaod ) const
overridevirtual

Function that fills an existing xAOD::PhotonContainer.

Implements xAODMaker::IPhotonCnvTool.

Definition at line 37 of file PhotonCnvTool.cxx.

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->setPtEtaPhi((*itr)->pt(),(*itr)->eta(),(*itr)->phi());
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 }
#define ATH_MSG_WARNING(x)
value_type push_back(value_type pElem)
Add an element to the end of the collection.
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.
void setIsolations(const egamma &aodmuon, xAOD::Photon &xaodmuon) const
Fills in the isolation variables.
void setLinks(const egamma &aodph, xAOD::Photon &xaodph) const
void setParameters(const egamma &, xAOD::Photon &) const
Fills in the shower shape variables.
Photon_v1 Photon
Definition of the current "egamma version".

◆ declareGaudiProperty()

Gaudi::Details::PropertyBase & AthCommonDataStore< AthCommonMsg< AlgTool > >::declareGaudiProperty ( Gaudi::Property< T, V, H > & hndl,
const SG::VarHandleKeyType &  )
inlineprivateinherited

specialization for handling Gaudi::Property<SG::VarHandleKey>

Definition at line 156 of file AthCommonDataStore.h.

158 {
160 hndl.value(),
161 hndl.documentation());
162
163 }

◆ declareProperty()

Gaudi::Details::PropertyBase & AthCommonDataStore< AthCommonMsg< AlgTool > >::declareProperty ( Gaudi::Property< T, V, H > & t)
inlineinherited

Definition at line 145 of file AthCommonDataStore.h.

145 {
146 typedef typename SG::HandleClassifier<T>::type htype;
148 }
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>

◆ detStore()

const ServiceHandle< StoreGateSvc > & AthCommonDataStore< AthCommonMsg< AlgTool > >::detStore ( ) const
inlineinherited

The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.

Definition at line 95 of file AthCommonDataStore.h.

◆ evtStore()

ServiceHandle< StoreGateSvc > & AthCommonDataStore< AthCommonMsg< AlgTool > >::evtStore ( )
inlineinherited

The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.

Definition at line 85 of file AthCommonDataStore.h.

◆ extraDeps_update_handler()

void AthCommonDataStore< AthCommonMsg< AlgTool > >::extraDeps_update_handler ( Gaudi::Details::PropertyBase & ExtraDeps)
protectedinherited

Add StoreName to extra input/output deps as needed.

use the logic of the VarHandleKey to parse the DataObjID keys supplied via the ExtraInputs and ExtraOuputs Properties to add the StoreName if it's not explicitly given

◆ getNewLink()

ElementLink< xAOD::VertexContainer > xAODMaker::PhotonCnvTool::getNewLink ( const ElementLink< VxContainer > & oldLink,
const std::string & name ) const
private

Definition at line 204 of file PhotonCnvTool.cxx.

204 {
205 std::string linkname = name;
206 // If not set, use same name as in original link.
207 if (linkname.empty())
208 linkname = oldLink.dataID();
209 ElementLink<xAOD::VertexContainer> newLink;
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 }

◆ inputHandles()

virtual std::vector< Gaudi::DataHandle * > AthCommonDataStore< AthCommonMsg< AlgTool > >::inputHandles ( ) const
overridevirtualinherited

Return this algorithm's input handles.

We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.

◆ interfaceID()

const InterfaceID & xAODMaker::IPhotonCnvTool::interfaceID ( )
inlinestaticinherited

Gaudi interface definition.

Definition at line 46 of file IPhotonCnvTool.h.

46 {
47 return IID_IPhotonCnvTool;
48 }
static const InterfaceID IID_IPhotonCnvTool("xAODMaker::IPhotonCnvTool", 1, 0)
The interface provided by IPhotonCnvTool.

◆ msg()

MsgStream & AthCommonMsg< AlgTool >::msg ( ) const
inlineinherited

Definition at line 24 of file AthCommonMsg.h.

24 {
25 return this->msgStream();
26 }

◆ msgLvl()

bool AthCommonMsg< AlgTool >::msgLvl ( const MSG::Level lvl) const
inlineinherited

Definition at line 30 of file AthCommonMsg.h.

30 {
31 return this->msgLevel(lvl);
32 }

◆ outputHandles()

virtual std::vector< Gaudi::DataHandle * > AthCommonDataStore< AthCommonMsg< AlgTool > >::outputHandles ( ) const
overridevirtualinherited

Return this algorithm's output handles.

We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.

◆ renounce()

std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > AthCommonDataStore< AthCommonMsg< AlgTool > >::renounce ( T & h)
inlineprotectedinherited

Definition at line 380 of file AthCommonDataStore.h.

381 {
382 h.renounce();
384 }
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > renounce(T &h)

◆ renounceArray()

void AthCommonDataStore< AthCommonMsg< AlgTool > >::renounceArray ( SG::VarHandleKeyArray & handlesArray)
inlineprotectedinherited

remove all handles from I/O resolution

Definition at line 364 of file AthCommonDataStore.h.

364 {
366 }

◆ setIsolations()

void xAODMaker::PhotonCnvTool::setIsolations ( const egamma & aodmuon,
xAOD::Photon & xaodmuon ) const
private

Fills in the isolation variables.

Definition at line 144 of file PhotonCnvTool.cxx.

144 {
154 }
void checkAndSetIsolation(egammaParameters::ParamDef aodParameter, xAOD::Iso::IsolationType xaodParameter, const egamma &, xAOD::Photon &) const
@ topoetcone30
Topo cluster ET in a cone with half-opening angle 0.30.
@ ptcone20
summed pt of tracks in a cone with half-opening angle 0.2 (no zvx cut photons, 1mm electrons)
@ ptcone40
summed pt of tracks in a cone with half-opening angle 0.4
@ etcone40
ET in a cone with half-opening angle 0.4, with exclusion of a window of size 7x5 in electromagnetic c...
@ topoetcone40
Topo cluster ET in a cone with half-opening angle 0.30.
@ ptcone30
summed pt of tracks in a cone with half-opening angle 0.3
@ etcone20
ET in a cone with half-opening angle 0.2, with exclusion of a window of size 7x5 in electromagnetic c...
@ etcone30
ET in a cone with half-opening angle 0.3, with exclusion of a window of size 7x5 in electromagnetic c...
@ topoetcone20
Topo cluster ET in a cone with half-opening angle 0.20.
@ topoetcone20
Topo-cluster ET-sum.
@ etcone20
Calorimeter isolation.
@ ptcone20
Track isolation.

◆ setLinks()

void xAODMaker::PhotonCnvTool::setLinks ( const egamma & aodph,
xAOD::Photon & xaodph ) const
private

Definition at line 164 of file PhotonCnvTool.cxx.

164 {
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 }
unsigned int nConversions() const
Definition egamma.cxx:421
unsigned int author() const
Reconstruction Author.
Definition egamma.h:244
const ElementLink< CaloClusterContainer > & clusterElementLink() const
element link to cluster
Definition egamma.cxx:427
ElementLink< VxContainer > conversionElementLink(unsigned int index=0) const
element link to conversion
Definition egamma.cxx:450
ElementLink< xAOD::VertexContainer > getNewLink(const ElementLink< VxContainer > &oldLink, const std::string &name) const
void setCaloClusterLinks(const CLELVec_t &links)
set Pointer to the xAOD::CaloCluster
void setVertexLinks(const VxELVec_t &links)
set Pointer to the xAOD::vertex/vertices that match the photon candidate
const unsigned int AuthorRConv
Photon that is duplicated with electron.
const unsigned int AuthorPhoton
Photon reconstructed by standard cluster-based algorithm.
const unsigned int AuthorCaloTopo35
Photon reconstructed by SW CaloTopo35 seeded clusters.

◆ setParameters()

void xAODMaker::PhotonCnvTool::setParameters ( const egamma & aodph,
xAOD::Photon & xaodph ) const
private

Fills in the shower shape variables.

Definition at line 96 of file PhotonCnvTool.cxx.

96 {
97 // We're not doing all AOD parameters here because some are dropped, and some are moved elsewhere.
136 }
void checkAndSetParameter(egammaParameters::ParamDef aodParameter, xAOD::EgammaParameters::ShowerShapeType xaodParameter, const egamma &, xAOD::Photon &) const
@ ethad1
transverse energy in the first sampling of the hadronic calorimeters behind the cluster calculated fr...
@ ecore
core energy in em calo E(core) = E0(3x3) + E1(15x2) + E2(5x5) + E3(3x5)
@ ethad
ET leakage into hadronic calorimeter with exclusion of energy in CaloSampling::TileGap3.
@ barys1
barycentre in sampling 1 calculated in 3 strips
@ e2tsts1
energy of the cell corresponding to second energy maximum in the first sampling
@ poscs1
relative position in eta within cell in 1st sampling
@ e277
uncalibrated energy (sum of cells) of the middle sampling in a rectangle of size 7x7
@ e337
uncalibrated energy (sum of cells) of the third sampling in a rectangle of size 3x7
@ f1core
E1(3x1)/E = fraction of the energy reconstructed in the first longitudinal compartment of the electro...
@ weta2
the lateral width is calculated with a window of 3x5 cells using the energy weighted sum over all cel...
@ e1152
uncalibrated energy (sum of cells) in strips in a 15x2 window in cells in eta X phi
@ e235
uncalibrated energy (sum of cells) of the middle sampling in a rectangle of size 3x5
@ e033
uncalibrated energy (sum of cells) in presampler in a 3x3 window in cells in eta X phi
@ emaxs1
energy of strip with maximal energy deposit
@ f3core
E3(3x3)/E fraction of the energy reconstructed in the third compartment of the electromagnetic calori...
@ r33over37allcalo
1-ratio of energy in 3x3 over 3x7 cells; E(3x3) = E0(1x1) + E1(3x1) + E2(3x3) + E3(3x3); E(3x7) = E0(...
@ wtots1
shower width is determined in a window detaxdphi = 0,0625 ~0,2, corresponding typically to 20 strips ...
@ f3
fraction of energy reconstructed in 3rd sampling
@ e011
uncorrected energy in presampler in a 1x1 window in cells in eta X phi
@ e237
uncalibrated energy (sum of cells) of the middle sampling in a rectangle of size 3x7
@ e333
uncalibrated energy (sum of cells) of the third sampling in a rectangle of size 3x3
@ e233
uncalibrated energy (sum of cells) of the middle sampling in a rectangle of size 3x3 (in cell units e...
@ poscs2
relative position in eta within cell in 2nd sampling
@ widths1
same as egammaParameters::weta1 but without corrections on particle impact point inside the cell
@ e377
uncalibrated energy (sum of cells) of the middle sampling in a rectangle of size 7x7
@ fracs1
shower shape in the shower core : [E(+/-3)-E(+/-1)]/E(+/-1), where E(+/-n) is the energy in +- n stri...
@ f1
E1/E = fraction of energy reconstructed in the first sampling, where E1 is energy in all strips belon...
@ emins1
energy reconstructed in the strip with the minimal value between the first and second maximum
@ e335
uncalibrated energy (sum of cells) of the third sampling in a rectangle of size 3x5
@ widths2
same as egammaParameters::weta2 but without corrections on particle impact point inside the cell
@ e132
uncalibrated energy (sum of cells) in strips in a 3x2 window in cells in eta X phi
@ e255
uncalibrated energy (sum of cells) of the middle sampling in a rectangle of size 5x5
@ weta1
shower width using +/-1 strips around the one with the maximal energy deposit: w3 strips = sqrt{sum(E...
@ ehad1
E leakage into 1st sampling of had calo (CaloSampling::HEC0 + CaloSampling::TileBar0 + CaloSampling::...
@ 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=...
@ e2ts1
2nd max in strips calc by summing 3 strips
@ pos
difference between shower cell and predicted track in +/- 1 cells
@ asy1
uncorr asymmetry in 3 strips in the 1st sampling
@ e235
uncalibrated energy (sum of cells) of the middle sampling in a rectangle of size 3x5
Definition EgammaEnums.h:72
@ e337
uncalibrated energy (sum of cells) of the third sampling in a rectangle of size 3x7
Definition EgammaEnums.h:90
@ wtots1
shower width is determined in a window detaxdphi = 0,0625 ×~0,2, corresponding typically to 20 strips...
@ 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=...
@ f3core
E3(3x3)/E fraction of the energy reconstructed in the third compartment of the electromagnetic calori...
Definition EgammaEnums.h:66
@ ethad1
transverse energy in the first sampling of the hadronic calorimeters behind the cluster calculated fr...
Definition EgammaEnums.h:43
@ e277
uncalibrated energy (sum of cells) of the middle sampling in a rectangle of size 7x7
Definition EgammaEnums.h:81
@ e237
uncalibrated energy (sum of cells) of the middle sampling in a rectangle of size 3x7
Definition EgammaEnums.h:78
@ ethad
ET leakage into hadronic calorimeter with exclusion of energy in CaloSampling::TileGap3.
Definition EgammaEnums.h:46
@ e1152
uncalibrated energy (sum of cells) in strips in a 15x2 window in cells in eta X phi
Definition EgammaEnums.h:40
@ f3
fraction of energy reconstructed in 3rd sampling
Definition EgammaEnums.h:55
@ poscs2
relative position in eta within cell in 2nd sampling
@ ecore
core energy in em calo E(core) = E0(3x3) + E1(15x2) + E2(5x5) + E3(3x5)
@ f1
E1/E = fraction of energy reconstructed in the first sampling, where E1 is energy in all strips belon...
Definition EgammaEnums.h:53
@ pos
difference between shower cell and predicted track in +/- 1 cells
@ widths2
same as egammaParameters::weta2 but without corrections on particle impact point inside the cell
@ e2ts1
2nd max in strips calc by summing 3 strips
@ poscs1
relative position in eta within cell in 1st sampling
@ e335
uncalibrated energy (sum of cells) of the third sampling in a rectangle of size 3x5
Definition EgammaEnums.h:87
@ e377
uncalibrated energy (sum of cells) of the middle sampling in a rectangle of size 7x7
Definition EgammaEnums.h:93
@ e333
uncalibrated energy (sum of cells) of the third sampling in a rectangle of size 3x3
Definition EgammaEnums.h:84
@ emaxs1
energy of strip with maximal energy deposit
@ e255
uncalibrated energy (sum of cells) of the middle sampling in a rectangle of size 5x5
Definition EgammaEnums.h:75
@ ehad1
E leakage into 1st sampling of had calo (CaloSampling::HEC0 + CaloSampling::TileBar0 + CaloSampling::...
Definition EgammaEnums.h:49
@ barys1
barycentre in sampling 1 calculated in 3 strips
@ e233
uncalibrated energy (sum of cells) of the middle sampling in a rectangle of size 3x3 (in cell units e...
Definition EgammaEnums.h:69
@ asy1
uncorr asymmetry in 3 strips in the 1st sampling
@ e033
uncalibrated energy (sum of cells) in presampler in a 3x3 window in cells in eta X phi
Definition EgammaEnums.h:34
@ e132
uncalibrated energy (sum of cells) in strips in a 3x2 window in cells in eta X phi
Definition EgammaEnums.h:37
@ fracs1
shower shape in the shower core : [E(+/-3)-E(+/-1)]/E(+/-1), where E(+/-n) is the energy in ± n strip...
@ r33over37allcalo
1-ratio of energy in 3x3 over 3x7 cells; E(3x3) = E0(1x1) + E1(3x1) + E2(3x3) + E3(3x3); E(3x7) = E0(...
@ weta2
the lateral width is calculated with a window of 3x5 cells using the energy weighted sum over all cel...
@ e011
uncalibrated energy (sum of cells) in presampler in a 1x1 window in cells in eta X phi
Definition EgammaEnums.h:31
@ weta1
shower width using +/-3 strips around the one with the maximal energy deposit: w3 strips = sqrt{sum(E...
Definition EgammaEnums.h:98
@ e2tsts1
energy of the cell corresponding to second energy maximum in the first sampling
@ emins1
energy reconstructed in the strip with the minimal value between the first and second maximum
@ widths1
same as egammaParameters::weta1 but without corrections on particle impact point inside the cell
@ f1core
E1(3x1)/E = fraction of the energy reconstructed in the first longitudinal compartment of the electro...
Definition EgammaEnums.h:61

◆ sysInitialize()

virtual StatusCode AthCommonDataStore< AthCommonMsg< AlgTool > >::sysInitialize ( )
overridevirtualinherited

Perform system initialization for an algorithm.

We override this to declare all the elements of handle key arrays at the end of initialization. See comments on updateVHKA.

Reimplemented in asg::AsgMetadataTool, AthCheckedComponent< AthAlgTool >, AthCheckedComponent<::AthAlgTool >, and DerivationFramework::CfAthAlgTool.

◆ sysStart()

virtual StatusCode AthCommonDataStore< AthCommonMsg< AlgTool > >::sysStart ( )
overridevirtualinherited

Handle START transition.

We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.

◆ updateVHKA()

void AthCommonDataStore< AthCommonMsg< AlgTool > >::updateVHKA ( Gaudi::Details::PropertyBase & )
inlineinherited

Definition at line 308 of file AthCommonDataStore.h.

308 {
309 // debug() << "updateVHKA for property " << p.name() << " " << p.toString()
310 // << " size: " << m_vhka.size() << endmsg;
311 for (auto &a : m_vhka) {
313 for (auto k : keys) {
314 k->setOwner(this);
315 }
316 }
317 }
std::vector< SG::VarHandleKeyArray * > m_vhka

Member Data Documentation

◆ m_caloClusters

std::string xAODMaker::PhotonCnvTool::m_caloClusters
private

Location/Key for xAOD::CaloClusters for electrons and photons.

Definition at line 58 of file PhotonCnvTool.h.

◆ m_caloClustersOther

std::string xAODMaker::PhotonCnvTool::m_caloClustersOther
private

Location/Key for xAOD::CaloClusters for other (trigger?) electrons.

Definition at line 60 of file PhotonCnvTool.h.

◆ m_caloClustersTopo

std::string xAODMaker::PhotonCnvTool::m_caloClustersTopo
private

Location/Key for xAOD::CaloClusters for topo seeded photons.

Definition at line 59 of file PhotonCnvTool.h.

◆ m_detStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< AlgTool > >::m_detStore
privateinherited

Pointer to StoreGate (detector store by default)

Definition at line 393 of file AthCommonDataStore.h.

◆ m_evtStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< AlgTool > >::m_evtStore
privateinherited

Pointer to StoreGate (event store by default)

Definition at line 390 of file AthCommonDataStore.h.

◆ m_varHandleArraysDeclared

bool AthCommonDataStore< AthCommonMsg< AlgTool > >::m_varHandleArraysDeclared
privateinherited

Definition at line 399 of file AthCommonDataStore.h.

◆ m_vertexContainer

std::string xAODMaker::PhotonCnvTool::m_vertexContainer
private

Location/Key for xAOD::Vertex for photons.

Definition at line 57 of file PhotonCnvTool.h.

◆ m_vhka

std::vector<SG::VarHandleKeyArray*> AthCommonDataStore< AthCommonMsg< AlgTool > >::m_vhka
privateinherited

Definition at line 398 of file AthCommonDataStore.h.


The documentation for this class was generated from the following files: