ATLAS Offline Software
Loading...
Searching...
No Matches
InDet::PartPropCache Class Reference

#include <TrackClusterAssValidationUtils.h>

Collaboration diagram for InDet::PartPropCache:

Public Member Functions

 PartPropCache ()
 default c'tor
 PartPropCache (const PartPropCache &)=default
 copy c'tor defaulted
 PartPropCache (int uidCharge, int rapidity)
 c'tor
 ~PartPropCache ()=default
 destructor does nothing
PartPropCacheoperator= (const PartPropCache &)=default
 assignment defaulted
int id () const
 getters
int barcode () const
int charge () const
int rapidity () const

Protected Attributes

int m_uidCharge {}
int m_rapidity {}

Detailed Description

Definition at line 14 of file TrackClusterAssValidationUtils.h.

Constructor & Destructor Documentation

◆ PartPropCache() [1/3]

InDet::PartPropCache::PartPropCache ( )
inline

default c'tor

Definition at line 21 of file TrackClusterAssValidationUtils.h.

21{};

◆ PartPropCache() [2/3]

InDet::PartPropCache::PartPropCache ( const PartPropCache & )
default

copy c'tor defaulted

◆ PartPropCache() [3/3]

InDet::PartPropCache::PartPropCache ( int uidCharge,
int rapidity )
inline

◆ ~PartPropCache()

InDet::PartPropCache::~PartPropCache ( )
default

destructor does nothing

Member Function Documentation

◆ barcode()

int InDet::PartPropCache::barcode ( ) const
inline

Definition at line 33 of file TrackClusterAssValidationUtils.h.

33{return abs(m_uidCharge);}

◆ charge()

int InDet::PartPropCache::charge ( ) const
inline

Definition at line 35 of file TrackClusterAssValidationUtils.h.

35{return ((m_uidCharge>0) - (m_uidCharge<0));} //returns 1, -1 or 0 depending on sign

◆ id()

int InDet::PartPropCache::id ( ) const
inline

getters

Definition at line 31 of file TrackClusterAssValidationUtils.h.

31{return abs(m_uidCharge);}

◆ operator=()

PartPropCache & InDet::PartPropCache::operator= ( const PartPropCache & )
default

assignment defaulted

◆ rapidity()

int InDet::PartPropCache::rapidity ( ) const
inline

Definition at line 36 of file TrackClusterAssValidationUtils.h.

36{return m_rapidity;}

Member Data Documentation

◆ m_rapidity

int InDet::PartPropCache::m_rapidity {}
protected

Definition at line 40 of file TrackClusterAssValidationUtils.h.

40{};

◆ m_uidCharge

int InDet::PartPropCache::m_uidCharge {}
protected

Definition at line 39 of file TrackClusterAssValidationUtils.h.

39{};

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