BOSS 7.0.5
BESIII Offline Software System
Loading...
Searching...
No Matches
TrkStoreHypo Class Reference

#include <TrkStoreHypo.h>

Public Member Functions

 TrkStoreHypo ()
 
 TrkStoreHypo (PdtPid::PidType hypo, double fltlen)
 
 TrkStoreHypo (const TrkStoreHypo &other)
 
 ~TrkStoreHypo ()
 
const PdtPid::PidTypehypo () const
 
double flightLength () const
 
TrkStoreHypooperator= (const TrkStoreHypo &other)
 
bool operator== (const TrkStoreHypo &other) const
 
bool operator< (const TrkStoreHypo &other) const
 
 TrkStoreHypo ()
 
 TrkStoreHypo (PdtPid::PidType hypo, double fltlen)
 
 TrkStoreHypo (const TrkStoreHypo &other)
 
 ~TrkStoreHypo ()
 
const PdtPid::PidTypehypo () const
 
double flightLength () const
 
TrkStoreHypooperator= (const TrkStoreHypo &other)
 
bool operator== (const TrkStoreHypo &other) const
 
bool operator< (const TrkStoreHypo &other) const
 

Detailed Description

Constructor & Destructor Documentation

◆ TrkStoreHypo() [1/6]

TrkStoreHypo::TrkStoreHypo ( )
inline

◆ TrkStoreHypo() [2/6]

TrkStoreHypo::TrkStoreHypo ( PdtPid::PidType  hypo,
double  fltlen 
)
inline

Definition at line 24 of file InstallArea/include/TrkBase/TrkBase/TrkStoreHypo.h.

24 : _hypo(hypo),_fltlen(fltlen)
25 {}
const PdtPid::PidType & hypo() const

◆ TrkStoreHypo() [3/6]

TrkStoreHypo::TrkStoreHypo ( const TrkStoreHypo other)
inline

Definition at line 26 of file InstallArea/include/TrkBase/TrkBase/TrkStoreHypo.h.

26 : _hypo(other._hypo),_fltlen(other._fltlen)
27 {}
Index other(Index i, Index j)
Definition: EvtCyclic3.cc:118

◆ ~TrkStoreHypo() [1/2]

TrkStoreHypo::~TrkStoreHypo ( )
inline

Definition at line 28 of file InstallArea/include/TrkBase/TrkBase/TrkStoreHypo.h.

28{}

◆ TrkStoreHypo() [4/6]

TrkStoreHypo::TrkStoreHypo ( )
inline

Definition at line 22 of file Reconstruction/MdcPatRec/TrkBase/TrkBase-00-01-12/TrkBase/TrkStoreHypo.h.

22 : _hypo(PdtPid::null), _fltlen(-9999.0)
23 {}

◆ TrkStoreHypo() [5/6]

TrkStoreHypo::TrkStoreHypo ( PdtPid::PidType  hypo,
double  fltlen 
)
inline

Definition at line 24 of file Reconstruction/MdcPatRec/TrkBase/TrkBase-00-01-12/TrkBase/TrkStoreHypo.h.

24 : _hypo(hypo),_fltlen(fltlen)
25 {}

◆ TrkStoreHypo() [6/6]

TrkStoreHypo::TrkStoreHypo ( const TrkStoreHypo other)
inline

Definition at line 26 of file Reconstruction/MdcPatRec/TrkBase/TrkBase-00-01-12/TrkBase/TrkStoreHypo.h.

26 : _hypo(other._hypo),_fltlen(other._fltlen)
27 {}

◆ ~TrkStoreHypo() [2/2]

TrkStoreHypo::~TrkStoreHypo ( )
inline

Member Function Documentation

◆ flightLength() [1/2]

double TrkStoreHypo::flightLength ( ) const
inline

Definition at line 31 of file InstallArea/include/TrkBase/TrkBase/TrkStoreHypo.h.

31{ return _fltlen; }

◆ flightLength() [2/2]

double TrkStoreHypo::flightLength ( ) const
inline

Definition at line 31 of file Reconstruction/MdcPatRec/TrkBase/TrkBase-00-01-12/TrkBase/TrkStoreHypo.h.

31{ return _fltlen; }

◆ hypo() [1/2]

const PdtPid::PidType & TrkStoreHypo::hypo ( ) const
inline

Definition at line 30 of file InstallArea/include/TrkBase/TrkBase/TrkStoreHypo.h.

30{ return _hypo; }

◆ hypo() [2/2]

const PdtPid::PidType & TrkStoreHypo::hypo ( ) const
inline

Definition at line 30 of file Reconstruction/MdcPatRec/TrkBase/TrkBase-00-01-12/TrkBase/TrkStoreHypo.h.

30{ return _hypo; }

◆ operator<() [1/2]

bool TrkStoreHypo::operator< ( const TrkStoreHypo other) const

Definition at line 26 of file TrkStoreHypo.cxx.

27 {
28 if(!operator ==(other)){
29 if(_hypo != other._hypo)
30 return _hypo < other._hypo;
31 else
32 return _fltlen < other._fltlen;
33 } else
34 return false;
35}

◆ operator<() [2/2]

bool TrkStoreHypo::operator< ( const TrkStoreHypo other) const

◆ operator=() [1/2]

TrkStoreHypo & TrkStoreHypo::operator= ( const TrkStoreHypo other)
inline

Definition at line 33 of file InstallArea/include/TrkBase/TrkBase/TrkStoreHypo.h.

33 {
34 if(this != &other){
35 _hypo = other._hypo;
36 _fltlen = other._fltlen;
37 }
38 return *this;
39 }

◆ operator=() [2/2]

TrkStoreHypo & TrkStoreHypo::operator= ( const TrkStoreHypo other)
inline

Definition at line 33 of file Reconstruction/MdcPatRec/TrkBase/TrkBase-00-01-12/TrkBase/TrkStoreHypo.h.

33 {
34 if(this != &other){
35 _hypo = other._hypo;
36 _fltlen = other._fltlen;
37 }
38 return *this;
39 }

◆ operator==() [1/2]

bool TrkStoreHypo::operator== ( const TrkStoreHypo other) const

Definition at line 21 of file TrkStoreHypo.cxx.

21 {
22 return _hypo == other._hypo && fabs(_fltlen-other._fltlen) < _flttol;
23}

◆ operator==() [2/2]

bool TrkStoreHypo::operator== ( const TrkStoreHypo other) const

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