ATLAS Offline Software
Public Member Functions | List of all members
xAOD::PFOParticleTypeMapper_v1 Struct Reference

#include <PFOAttributesAccessor_v1.h>

Collaboration diagram for xAOD::PFOParticleTypeMapper_v1:

Public Member Functions

bool getValue (PFODetails::PFOParticleType type, std::string &stringName)
 

Detailed Description

Definition at line 156 of file PFOAttributesAccessor_v1.h.

Member Function Documentation

◆ getValue()

bool xAOD::PFOParticleTypeMapper_v1::getValue ( PFODetails::PFOParticleType  type,
std::string &  stringName 
)
inline

Definition at line 157 of file PFOAttributesAccessor_v1.h.

157  {
158  switch (type){
160  stringName = "pfo_ClusterLinks";
161  return true;
162  case PFODetails::Track:
163  stringName = "pfo_TrackLinks";
164  return true;
165  // Note - clients should NEVER set both links to TauShot and HadroniCaloCluster - Tau WG agreed they NEVER will do such a thing (and they are only client)
166  case PFODetails::TauShot:
167  stringName = "pfo_TauShotLinks";
168  return true;
170  stringName = "pfo_TauShotLinks";
172  stringName = "pfo_Charged";
174  stringName = "pfo_Neutral";
176  stringName = "pfo_TauTrack";
177  }//switch
178  return false;
179  }//getValue

The documentation for this struct was generated from the following file:
xAOD::PFODetails::TauShot
@ TauShot
Definition: Event/xAOD/xAODPFlow/xAODPFlow/PFODefs.h:171
xAOD::PFODetails::TauTrack
@ TauTrack
Definition: Event/xAOD/xAODPFlow/xAODPFlow/PFODefs.h:175
xAOD::PFODetails::ChargedPFO
@ ChargedPFO
Definition: Event/xAOD/xAODPFlow/xAODPFlow/PFODefs.h:173
xAOD::PFODetails::Track
@ Track
Definition: Event/xAOD/xAODPFlow/xAODPFlow/PFODefs.h:170
xAOD::PFODetails::CaloCluster
@ CaloCluster
Definition: Event/xAOD/xAODPFlow/xAODPFlow/PFODefs.h:169
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
xAOD::PFODetails::HadronicCalo
@ HadronicCalo
Definition: Event/xAOD/xAODPFlow/xAODPFlow/PFODefs.h:172
xAOD::PFODetails::NeutralPFO
@ NeutralPFO
Definition: Event/xAOD/xAODPFlow/xAODPFlow/PFODefs.h:174