ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
PFMatch::TrackEtaPhiInFixedLayersProvider Class Reference

#include <PFMatchPositions.h>

Inheritance diagram for PFMatch::TrackEtaPhiInFixedLayersProvider:
Collaboration diagram for PFMatch::TrackEtaPhiInFixedLayersProvider:

Public Member Functions

 TrackEtaPhiInFixedLayersProvider (LayerType barrelLayer, LayerType endcapLayer, LayerType fcalLayer)
 
virtual ~TrackEtaPhiInFixedLayersProvider ()
 
EtaPhi getPosition (ITrack *track) const
 

Private Attributes

LayerType m_barrelLayer
 
LayerType m_endcapLayer
 
LayerType m_fcalLayer
 

Detailed Description

Definition at line 76 of file PFMatchPositions.h.

Constructor & Destructor Documentation

◆ TrackEtaPhiInFixedLayersProvider()

PFMatch::TrackEtaPhiInFixedLayersProvider::TrackEtaPhiInFixedLayersProvider ( LayerType  barrelLayer,
LayerType  endcapLayer,
LayerType  fcalLayer 
)
inline

Definition at line 78 of file PFMatchPositions.h.

78  :
79  m_barrelLayer(barrelLayer), m_endcapLayer(endcapLayer), m_fcalLayer(fcalLayer) { }

◆ ~TrackEtaPhiInFixedLayersProvider()

virtual PFMatch::TrackEtaPhiInFixedLayersProvider::~TrackEtaPhiInFixedLayersProvider ( )
inlinevirtual

Definition at line 80 of file PFMatchPositions.h.

80 { }

Member Function Documentation

◆ getPosition()

EtaPhi PFMatch::TrackEtaPhiInFixedLayersProvider::getPosition ( ITrack track) const
virtual

Implements PFMatch::PositionProvider< ITrack, EtaPhi >.

Definition at line 22 of file PFMatchPositions.cxx.

22  {
23  eflowEtaPhiPosition etaphi = track->etaPhiInLayer(m_barrelLayer);
24  if (etaphi.getEta() == -999.){
25  etaphi = track->etaPhiInLayer(m_endcapLayer);
26  }
27  if (etaphi.getEta() == -999.){
28  etaphi = track->etaPhiInLayer(m_fcalLayer);
29  }
30  return etaphi;
31 }

Member Data Documentation

◆ m_barrelLayer

LayerType PFMatch::TrackEtaPhiInFixedLayersProvider::m_barrelLayer
private

Definition at line 85 of file PFMatchPositions.h.

◆ m_endcapLayer

LayerType PFMatch::TrackEtaPhiInFixedLayersProvider::m_endcapLayer
private

Definition at line 86 of file PFMatchPositions.h.

◆ m_fcalLayer

LayerType PFMatch::TrackEtaPhiInFixedLayersProvider::m_fcalLayer
private

Definition at line 87 of file PFMatchPositions.h.


The documentation for this class was generated from the following files:
PFMatch::TrackEtaPhiInFixedLayersProvider::m_fcalLayer
LayerType m_fcalLayer
Definition: PFMatchPositions.h:87
eflowEtaPhiPosition::getEta
double getEta() const
Definition: eflowUtil.h:90
eflowEtaPhiPosition
Definition: eflowUtil.h:85
PFMatch::TrackEtaPhiInFixedLayersProvider::m_barrelLayer
LayerType m_barrelLayer
Definition: PFMatchPositions.h:85
PFMatch::TrackEtaPhiInFixedLayersProvider::m_endcapLayer
LayerType m_endcapLayer
Definition: PFMatchPositions.h:86
xAOD::track
@ track
Definition: TrackingPrimitives.h:512