ATLAS Offline Software
Public Member Functions | Protected Attributes | List of all members
InDet::SiClusterLink_xk Class Referencefinal

#include <SiClusterLink_xk.h>

Collaboration diagram for InDet::SiClusterLink_xk:

Public Member Functions

 SiClusterLink_xk ()
 
 SiClusterLink_xk (const InDet::SiCluster *&, double &)
 
 SiClusterLink_xk (const SiClusterLink_xk &)=default
 
 ~SiClusterLink_xk ()=default
 
SiClusterLink_xkoperator= (const SiClusterLink_xk &)=default
 
const InDet::SiClustercluster () const
 
const double & xi2 () const
 
void Set (const InDet::SiCluster *&, double &)
 
void Comparison (SiClusterLink_xk &)
 

Protected Attributes

const InDet::SiClusterm_cluster
 
double m_xi2
 

Detailed Description

Definition at line 22 of file SiClusterLink_xk.h.

Constructor & Destructor Documentation

◆ SiClusterLink_xk() [1/3]

InDet::SiClusterLink_xk::SiClusterLink_xk ( )
inline

Definition at line 64 of file SiClusterLink_xk.h.

65  {
66  m_cluster = 0 ;
67  m_xi2 = 0.;
68  }

◆ SiClusterLink_xk() [2/3]

InDet::SiClusterLink_xk::SiClusterLink_xk ( const InDet::SiCluster *&  c,
double &  xi2 
)
inline

Definition at line 70 of file SiClusterLink_xk.h.

71  {
72  m_cluster = c;
73  m_xi2 = xi2;
74  }

◆ SiClusterLink_xk() [3/3]

InDet::SiClusterLink_xk::SiClusterLink_xk ( const SiClusterLink_xk )
default

◆ ~SiClusterLink_xk()

InDet::SiClusterLink_xk::~SiClusterLink_xk ( )
default

Member Function Documentation

◆ cluster()

const InDet::SiCluster* InDet::SiClusterLink_xk::cluster ( ) const
inline

Definition at line 40 of file SiClusterLink_xk.h.

40 {return m_cluster;}

◆ Comparison()

void InDet::SiClusterLink_xk::Comparison ( SiClusterLink_xk L)
inline

Definition at line 83 of file SiClusterLink_xk.h.

84  {
85  if(L.m_xi2 < m_xi2) {
86  double x = m_xi2;
87  m_xi2 = L.m_xi2; L.m_xi2 = x;
88 
89  const InDet::SiCluster* c = m_cluster;
90  m_cluster = L.m_cluster; L.m_cluster = c;
91  }
92  }

◆ operator=()

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

◆ Set()

void InDet::SiClusterLink_xk::Set ( const InDet::SiCluster *&  c,
double &  xi2 
)
inline

Definition at line 77 of file SiClusterLink_xk.h.

78  {
79  m_cluster = c;
80  m_xi2 = xi2;
81  }

◆ xi2()

const double& InDet::SiClusterLink_xk::xi2 ( ) const
inline

Definition at line 41 of file SiClusterLink_xk.h.

41 {return m_xi2;}

Member Data Documentation

◆ m_cluster

const InDet::SiCluster* InDet::SiClusterLink_xk::m_cluster
protected

Definition at line 51 of file SiClusterLink_xk.h.

◆ m_xi2

double InDet::SiClusterLink_xk::m_xi2
protected

Definition at line 52 of file SiClusterLink_xk.h.


The documentation for this class was generated from the following file:
x
#define x
python.compressB64.c
def c
Definition: compressB64.py:93
InDet::SiCluster
Definition: InnerDetector/InDetRecEvent/InDetPrepRawData/InDetPrepRawData/SiCluster.h:40