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

Constructor & Destructor Documentation

◆ eflowRecMatchTrack()

eflowRecMatchTrack::eflowRecMatchTrack ( const eflowRecTrack * efRecTrack)
inline

Definition at line 172 of file eflowRecTrack.h.

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

◆ ~eflowRecMatchTrack()

virtual eflowRecMatchTrack::~eflowRecMatchTrack ( )
inlinevirtual

Definition at line 173 of file eflowRecTrack.h.

173{ }

Member Function Documentation

◆ etaPhiInLayer()

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

Implements PFMatch::ITrack.

Definition at line 175 of file eflowRecTrack.h.

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

Member Data Documentation

◆ m_efRecTrack

const eflowRecTrack* eflowRecMatchTrack::m_efRecTrack
private

Definition at line 184 of file eflowRecTrack.h.


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