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 173 of file eflowRecTrack.h.

Constructor & Destructor Documentation

◆ eflowRecMatchTrack()

eflowRecMatchTrack::eflowRecMatchTrack ( const eflowRecTrack * efRecTrack)
inline

Definition at line 175 of file eflowRecTrack.h.

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

◆ ~eflowRecMatchTrack()

virtual eflowRecMatchTrack::~eflowRecMatchTrack ( )
inlinevirtual

Definition at line 176 of file eflowRecTrack.h.

176{ }

Member Function Documentation

◆ etaPhiInLayer()

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

Implements PFMatch::ITrack.

Definition at line 178 of file eflowRecTrack.h.

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

Member Data Documentation

◆ m_efRecTrack

const eflowRecTrack* eflowRecMatchTrack::m_efRecTrack
private

Definition at line 187 of file eflowRecTrack.h.


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