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 13 of file PndLineCombination.h.

Constructor & Destructor Documentation

◆ PndLineCombination() [1/2]

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

Definition at line 15 of file PndLineCombination.h.

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

◆ PndLineCombination() [2/2]

PndLineCombination::PndLineCombination ( PndLineApproximation  a1)
inline

Definition at line 16 of file PndLineCombination.h.

References ~PndLineCombination().

16 : 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 18 of file PndLineCombination.h.

18 { return approx1; }

◆ getApprox2()

PndLineApproximation* PndLineCombination::getApprox2 ( )
inline

Definition at line 19 of file PndLineCombination.h.

19 { return approx2; }

◆ getQuality()

Double_t PndLineCombination::getQuality ( )
inline

Definition at line 20 of file PndLineCombination.h.

21  {
22  if (approx2 == nullptr)
23  return 99999999999;
24  else
25  return quality;
26  }

◆ setApprox1()

void PndLineCombination::setApprox1 ( PndLineApproximation  a1)
inline

Definition at line 27 of file PndLineCombination.h.

27 { approx1 = a1; }

◆ setApprox2()

void PndLineCombination::setApprox2 ( PndLineApproximation a2)
inline

Definition at line 28 of file PndLineCombination.h.

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

◆ setQuality()

void PndLineCombination::setQuality ( Double_t  q)
inline

Definition at line 29 of file PndLineCombination.h.

29 { quality = q; }

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