ATLAS Offline Software
Static Public Member Functions | List of all members
xAOD::PFOParticleTypeMapper_temp Struct Reference
Collaboration diagram for xAOD::PFOParticleTypeMapper_temp:

Static Public Member Functions

static const SG::AuxElement::Accessor< std::vector< ElementLink< IParticleContainer > > > * getAccessor (PFODetails::PFOParticleType type)
 

Detailed Description

Definition at line 16 of file PFO_v1.cxx.

Member Function Documentation

◆ getAccessor()

static const SG::AuxElement::Accessor<std::vector<ElementLink<IParticleContainer > > >* xAOD::PFOParticleTypeMapper_temp::getAccessor ( PFODetails::PFOParticleType  type)
inlinestatic

Definition at line 17 of file PFO_v1.cxx.

17  {
18  switch (type){
20  const static SG::AuxElement::Accessor<std::vector<ElementLink<IParticleContainer > > > acc_cc("pfo_ClusterLinks");
21  return &acc_cc;
22  case PFODetails::Track:
23  const static SG::AuxElement::Accessor<std::vector<ElementLink<IParticleContainer > > > acc_tp("pfo_TrackLinks");
24  return &acc_tp;
25  // 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)
28  const static SG::AuxElement::Accessor<std::vector<ElementLink<IParticleContainer > > > acc_ts("pfo_TauShotLinks");
29  return &acc_ts;
31  const static SG::AuxElement::Accessor<std::vector<ElementLink<IParticleContainer > > > acc_cpfo("pfo_Charged");
32  return &acc_cpfo;
34  const static SG::AuxElement::Accessor<std::vector<ElementLink<IParticleContainer > > > acc_npfo("pfo_Neutral");
35  return &acc_npfo;
37  const static SG::AuxElement::Accessor<std::vector<ElementLink<IParticleContainer > > > acc_tt("pfo_TauTrack");
38  return &acc_tt;
39  }//switch
40  return nullptr;
41  }//getAccessor

The documentation for this struct was generated from the following file:
SG::Accessor
Helper class to provide type-safe access to aux data.
Definition: Control/AthContainers/AthContainers/Accessor.h:66
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