PandaRoot
PndLineCombination Class Reference

#include <PndLineCombination.h>

Public Member Functions

 PndLineCombination (PndLineApproximation a1, PndLineApproximation *a2, Double_t q)
 
 PndLineCombination (PndLineApproximation a1)
 
virtual ~PndLineCombination ()
 
PndLineApproximation getApprox1 ()
 
PndLineApproximationgetApprox2 ()
 
Double_t getQuality ()
 
void setApprox1 (PndLineApproximation a1)
 
void setApprox2 (PndLineApproximation *a2)
 
void setQuality (Double_t q)
 

Detailed Description

Definition at line 25 of file PndLineCombination.h.

Constructor & Destructor Documentation

◆ PndLineCombination() [1/2]

PndLineCombination::PndLineCombination ( PndLineApproximation  a1,
PndLineApproximation a2,
Double_t  q 
)
inline

Definition at line 27 of file PndLineCombination.h.

27 : approx1(a1), approx2(a2), quality(q) {}

◆ PndLineCombination() [2/2]

PndLineCombination::PndLineCombination ( PndLineApproximation  a1)
inline

Definition at line 28 of file PndLineCombination.h.

References ~PndLineCombination().

28 : approx1(a1), approx2(nullptr), quality(-1) {}

◆ ~PndLineCombination()

virtual PndLineCombination::~PndLineCombination ( )
virtual

Referenced by PndLineCombination().

Member Function Documentation

◆ getApprox1()

PndLineApproximation PndLineCombination::getApprox1 ( )
inline

Definition at line 30 of file PndLineCombination.h.

30 { return approx1; }

◆ getApprox2()

PndLineApproximation* PndLineCombination::getApprox2 ( )
inline

Definition at line 31 of file PndLineCombination.h.

31 { return approx2; }

◆ getQuality()

Double_t PndLineCombination::getQuality ( )
inline

Definition at line 32 of file PndLineCombination.h.

33  {
34  if (approx2 == nullptr)
35  return 99999999999;
36  else
37  return quality;
38  }

◆ setApprox1()

void PndLineCombination::setApprox1 ( PndLineApproximation  a1)
inline

Definition at line 39 of file PndLineCombination.h.

39 { approx1 = a1; }

◆ setApprox2()

void PndLineCombination::setApprox2 ( PndLineApproximation a2)
inline

Definition at line 40 of file PndLineCombination.h.

40 { approx2 = a2; } // TODO: speicher Freigeben

◆ setQuality()

void PndLineCombination::setQuality ( Double_t  q)
inline

Definition at line 41 of file PndLineCombination.h.

41 { quality = q; }

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