ATLAS Offline Software
Static Public Member Functions | Static Private Attributes | List of all members
Trk::TrackParametersIdentificationHelper Class Reference

helper class to get the TrackParametersIdentifier from a TrackParameters More...

#include <TrackParametersIdentificationHelper.h>

Collaboration diagram for Trk::TrackParametersIdentificationHelper:

Static Public Member Functions

static TrackParametersIdentifier getIdentifier (const Trk::TrackParameters &pars)
 get Identifier from base-class More...
 
static TrackParametersIdentifier getIdentifier (const CurvilinearParameters &pars)
 get Identifier from CurvilinearParameters More...
 

Static Private Attributes

static const TrackParametersIdHelper m_helper
 

Detailed Description

helper class to get the TrackParametersIdentifier from a TrackParameters

Definition at line 16 of file TrackParametersIdentificationHelper.h.

Member Function Documentation

◆ getIdentifier() [1/2]

TrackParametersIdentifier Trk::TrackParametersIdentificationHelper::getIdentifier ( const CurvilinearParameters pars)
inlinestatic

get Identifier from CurvilinearParameters

Definition at line 30 of file TrackParametersIdentificationHelper.h.

30  {
31  return pars.cIdentifier();
32  }

◆ getIdentifier() [2/2]

TrackParametersIdentifier Trk::TrackParametersIdentificationHelper::getIdentifier ( const Trk::TrackParameters pars)
static

get Identifier from base-class

Definition at line 11 of file TrackParametersIdentificationHelper.cxx.

11  {
12  const CurvilinearParameters* cpars = dynamic_cast<const CurvilinearParameters*>(&pars);
13  if( cpars) { return getIdentifier(*cpars);}
15  }

Member Data Documentation

◆ m_helper

const TrackParametersIdHelper Trk::TrackParametersIdentificationHelper::m_helper
staticprivate

Definition at line 27 of file TrackParametersIdentificationHelper.h.


The documentation for this class was generated from the following files:
make_hlt_rep.pars
pars
Definition: make_hlt_rep.py:90
Trk::TrackParametersIdentificationHelper::m_helper
static const TrackParametersIdHelper m_helper
Definition: TrackParametersIdentificationHelper.h:27
Trk::CurvilinearParameters
CurvilinearParametersT< TrackParametersDim, Charged, PlaneSurface > CurvilinearParameters
Definition: Tracking/TrkEvent/TrkParameters/TrkParameters/TrackParameters.h:29
Trk::TrackParametersIdHelper::encodeInValidIdentifier
TrackParametersIdentifier encodeInValidIdentifier() const
create invalid identifier
Definition: TrackParametersIdHelper.h:101
Trk::TrackParametersIdentificationHelper::getIdentifier
static TrackParametersIdentifier getIdentifier(const Trk::TrackParameters &pars)
get Identifier from base-class
Definition: TrackParametersIdentificationHelper.cxx:11