ATLAS Offline Software
Loading...
Searching...
No Matches
eflowRecMatchTrack Class Reference

This class, which inherits from the pure virtual ITrack, stores a pointer to an eflowRecTrack and has an interface which returns an eflowEtaPhiPosition (representing the track eta, phi coordinates in the requested calorimeter layer) More...

#include <eflowRecTrack.h>

Inheritance diagram for eflowRecMatchTrack:
Collaboration diagram for eflowRecMatchTrack:

Public Member Functions

 eflowRecMatchTrack (const eflowRecTrack *efRecTrack)
virtual ~eflowRecMatchTrack ()
virtual eflowEtaPhiPosition etaPhiInLayer (PFMatch::LayerType layer) const

Private Attributes

const eflowRecTrackm_efRecTrack

Detailed Description

This class, which inherits from the pure virtual ITrack, stores a pointer to an eflowRecTrack and has an interface which returns an eflowEtaPhiPosition (representing the track eta, phi coordinates in the requested calorimeter layer)

Definition at line 169 of file eflowRecTrack.h.

Constructor & Destructor Documentation

◆ eflowRecMatchTrack()

eflowRecMatchTrack::eflowRecMatchTrack ( const eflowRecTrack * efRecTrack)
inline

Definition at line 171 of file eflowRecTrack.h.

171: m_efRecTrack(efRecTrack) { assert(m_efRecTrack); }
const eflowRecTrack * m_efRecTrack

◆ ~eflowRecMatchTrack()

virtual eflowRecMatchTrack::~eflowRecMatchTrack ( )
inlinevirtual

Definition at line 172 of file eflowRecTrack.h.

172{ }

Member Function Documentation

◆ etaPhiInLayer()

virtual eflowEtaPhiPosition eflowRecMatchTrack::etaPhiInLayer ( PFMatch::LayerType layer) const
inlinevirtual

Implements PFMatch::ITrack.

Definition at line 174 of file eflowRecTrack.h.

174 {
175 if (m_efRecTrack) return m_efRecTrack->getTrackCaloPoints().getEtaPhiPos(layer);
176 else {
177 std::cerr << "eflowRecMatchTrack ERROR: Invalid pointer to eflowRecTrack " << std::endl;
178 return eflowEtaPhiPosition(-999.,-999.);
179 }
180 }

Member Data Documentation

◆ m_efRecTrack

const eflowRecTrack* eflowRecMatchTrack::m_efRecTrack
private

Definition at line 183 of file eflowRecTrack.h.


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