BOSS 7.1.2
BESIII Offline Software System
Loading...
Searching...
No Matches
KalFitHelixSeg Class Reference

#include <KalFitHelixSeg.h>

+ Inheritance diagram for KalFitHelixSeg:

Public Member Functions

 KalFitHelixSeg (KalFitHitMdc *hit, HepPoint3D pivot, HepVector a, HepSymMatrix Ea)
 
 ~KalFitHelixSeg (void)
 
KalFitHitMdcHitMdc (void)
 
double residual_exclude (void)
 
double residual_include (void)
 
double doca_exclude (void)
 
double doca_include (void)
 
double tof (void)
 
double dt (void)
 
double dd (void)
 
int LR (void)
 
void residual_exclude (double res)
 
void residual_include (double res)
 
void doca_exclude (double doca)
 
void doca_include (double doca)
 
void tof (double time)
 
void dt (double drifttime)
 
void dd (double driftdist)
 
void LR (int lr)
 
CLHEP::HepVector a_pre_fwd (void)
 
CLHEP::HepVector a_pre_bwd (void)
 
CLHEP::HepVector a_filt_fwd (void)
 
CLHEP::HepVector a_filt_bwd (void)
 
CLHEP::HepVector a_include (void)
 
CLHEP::HepVector a_exclude (void)
 
CLHEP::HepSymMatrix & Ea_pre_fwd (void)
 
CLHEP::HepSymMatrix Ea_filt_fwd (void)
 
CLHEP::HepSymMatrix Ea_pre_bwd (void)
 
CLHEP::HepSymMatrix Ea_filt_bwd (void)
 
CLHEP::HepSymMatrix Ea_include (void)
 
CLHEP::HepSymMatrix Ea_exclude (void)
 
void a_pre_fwd (CLHEP::HepVector a)
 
void a_pre_bwd (CLHEP::HepVector a)
 
void a_filt_fwd (CLHEP::HepVector a)
 
void a_filt_bwd (CLHEP::HepVector a)
 
void a_include (CLHEP::HepVector a)
 
void a_exclude (CLHEP::HepVector a)
 
void Ea_filt_fwd (CLHEP::HepSymMatrix Ea)
 
void Ea_filt_bwd (CLHEP::HepSymMatrix Ea)
 
void Ea_pre_bwd (CLHEP::HepSymMatrix Ea)
 
void Ea_pre_fwd (CLHEP::HepSymMatrix Ea)
 
void Ea_include (CLHEP::HepSymMatrix Ea)
 
void Ea_exclude (CLHEP::HepSymMatrix Ea)
 
int layer (void)
 
- Public Member Functions inherited from KalmanFit::Helix
 Helix (const HepPoint3D &pivot, const HepVector &a, const HepSymMatrix &Ea)
 Constructor with pivot, helix parameter a, and its error matrix.
 
 Helix (const HepPoint3D &pivot, const HepVector &a)
 Constructor without error matrix.
 
 Helix (const HepPoint3D &position, const Hep3Vector &momentum, double charge)
 Constructor with position, momentum, and charge.
 
virtual ~Helix ()
 Destructor.
 
const HepPoint3Dcenter (void) const
 returns position of helix center(z = 0.);
 
const HepPoint3Dpivot (void) const
 returns pivot position.
 
double radius (void) const
 returns radious of helix.
 
HepPoint3D x (double dPhi=0.) const
 returns position after rotating angle dPhi in phi direction.
 
double * x (double dPhi, double p[3]) const
 
HepPoint3D x (double dPhi, HepSymMatrix &Ex) const
 returns position and convariance matrix(Ex) after rotation.
 
Hep3Vector direction (double dPhi=0.) const
 returns direction vector after rotating angle dPhi in phi direction.
 
Hep3Vector momentum (double dPhi=0.) const
 returns momentum vector after rotating angle dPhi in phi direction.
 
Hep3Vector momentum (double dPhi, HepSymMatrix &Em) const
 returns momentum vector after rotating angle dPhi in phi direction.
 
HepLorentzVector momentum (double dPhi, double mass) const
 returns 4momentum vector after rotating angle dPhi in phi direction.
 
HepLorentzVector momentum (double dPhi, double mass, HepSymMatrix &Em) const
 returns 4momentum vector after rotating angle dPhi in phi direction.
 
HepLorentzVector momentum (double dPhi, double mass, HepPoint3D &x, HepSymMatrix &Emx) const
 returns 4momentum vector after rotating angle dPhi in phi direction.
 
double dr (void) const
 returns an element of parameters.
 
double phi0 (void) const
 
double kappa (void) const
 
double dz (void) const
 
double tanl (void) const
 
double curv (void) const
 
double sinPhi0 (void) const
 
double cosPhi0 (void) const
 
const HepVector & a (void) const
 returns helix parameters.
 
const HepSymMatrix & Ea (void) const
 returns error matrix.
 
double approach (KalFitHitMdc &hit, bool doSagCorrection) const
 
double approach (HepPoint3D pfwd, HepPoint3D pbwd, bool doSagCorrection) const
 
const HepVector & a (const HepVector &newA)
 sets helix parameters.
 
const HepSymMatrix & Ea (const HepSymMatrix &newdA)
 sets helix paramters and error matrix.
 
const HepPoint3Dpivot (const HepPoint3D &newPivot)
 sets pivot position.
 
void set (const HepPoint3D &pivot, const HepVector &a, const HepSymMatrix &Ea)
 sets helix pivot position, parameters, and error matrix.
 
void ignoreErrorMatrix (void)
 unsets error matrix. Error calculations will be ignored after this function call until an error matrix be set again. 0 matrix will be return as a return value for error matrix when you call functions which returns an error matrix.
 
double bFieldZ (double)
 sets/returns z componet of the magnetic field.
 
double bFieldZ (void) const
 
double alpha (void) const
 
Helixoperator= (const Helix &)
 Copy operator.
 
HepMatrix delApDelA (const HepVector &ap) const
 
HepMatrix delXDelA (double phi) const
 
HepMatrix delMDelA (double phi) const
 
HepMatrix del4MDelA (double phi, double mass) const
 
HepMatrix del4MXDelA (double phi, double mass) const
 

Additional Inherited Members

- Static Public Attributes inherited from KalmanFit::Helix
static const double ConstantAlpha = 333.564095
 Constant alpha for uniform field.
 

Detailed Description

Definition at line 16 of file KalFitHelixSeg.h.

Constructor & Destructor Documentation

◆ KalFitHelixSeg()

KalFitHelixSeg::KalFitHelixSeg ( KalFitHitMdc * hit,
HepPoint3D pivot,
HepVector a,
HepSymMatrix Ea )

Definition at line 5 of file KalFitHelixSeg.cxx.

6 :
8hitmdc_(hit),
9a_pre_fwd_(5, 0),
10a_pre_bwd_(5, 0),
11a_filt_fwd_(5, 0),
12a_filt_bwd_(5, 0),
13Ea_pre_fwd_(5, 0),
14Ea_filt_fwd_(5, 0),
15Ea_pre_bwd_(5, 0),
16Ea_filt_bwd_(5, 0)
17{
18 lr_ =0;
19 residual_exclude_ = 0.0;
20 residual_include_ = 0.0;
21 doca_exclude_ = 0.0;
22 doca_include_ = 0.0;
23 tof_ = 0.0;
24 dt_ = 0.0;
25 dd_ = 0.0;
26}
const HepSymMatrix & Ea(void) const
returns error matrix.
const HepVector & a(void) const
returns helix parameters.
const HepPoint3D & pivot(void) const
returns pivot position.

◆ ~KalFitHelixSeg()

KalFitHelixSeg::~KalFitHelixSeg ( void )
inline

Definition at line 24 of file KalFitHelixSeg.h.

24{};

Member Function Documentation

◆ a_exclude() [1/2]

void KalFitHelixSeg::a_exclude ( CLHEP::HepVector a)
inline

Definition at line 66 of file KalFitHelixSeg.h.

66{ a_exclude_ = a; }

◆ a_exclude() [2/2]

CLHEP::HepVector KalFitHelixSeg::a_exclude ( void )
inline

Definition at line 50 of file KalFitHelixSeg.h.

50{ return a_exclude_; }

Referenced by KalFitTrack::smoother_Mdc_csmalign().

◆ a_filt_bwd() [1/2]

void KalFitHelixSeg::a_filt_bwd ( CLHEP::HepVector a)
inline

Definition at line 64 of file KalFitHelixSeg.h.

64{ a_filt_bwd_ = a; }

◆ a_filt_bwd() [2/2]

CLHEP::HepVector KalFitHelixSeg::a_filt_bwd ( void )
inline

Definition at line 48 of file KalFitHelixSeg.h.

48{ return a_filt_bwd_;}

Referenced by KalFitTrack::smoother_Mdc_csmalign().

◆ a_filt_fwd() [1/2]

void KalFitHelixSeg::a_filt_fwd ( CLHEP::HepVector a)
inline

Definition at line 63 of file KalFitHelixSeg.h.

63{ a_filt_fwd_ = a; }

◆ a_filt_fwd() [2/2]

CLHEP::HepVector KalFitHelixSeg::a_filt_fwd ( void )
inline

Definition at line 47 of file KalFitHelixSeg.h.

47{ return a_filt_fwd_;}

Referenced by KalFitTrack::smoother_Mdc_csmalign(), and KalFitTrack::update_hits_csmalign().

◆ a_include() [1/2]

void KalFitHelixSeg::a_include ( CLHEP::HepVector a)
inline

Definition at line 65 of file KalFitHelixSeg.h.

65{ a_include_ = a; }

◆ a_include() [2/2]

CLHEP::HepVector KalFitHelixSeg::a_include ( void )
inline

Definition at line 49 of file KalFitHelixSeg.h.

49{ return a_include_; }

Referenced by KalFitTrack::smoother_Mdc_csmalign().

◆ a_pre_bwd() [1/2]

void KalFitHelixSeg::a_pre_bwd ( CLHEP::HepVector a)
inline

Definition at line 62 of file KalFitHelixSeg.h.

62{ a_pre_bwd_ = a; }

◆ a_pre_bwd() [2/2]

CLHEP::HepVector KalFitHelixSeg::a_pre_bwd ( void )
inline

Definition at line 46 of file KalFitHelixSeg.h.

46{ return a_pre_bwd_; }

Referenced by KalFitTrack::smoother_Mdc_csmalign().

◆ a_pre_fwd() [1/2]

void KalFitHelixSeg::a_pre_fwd ( CLHEP::HepVector a)
inline

Definition at line 61 of file KalFitHelixSeg.h.

61{ a_pre_fwd_ = a; }

◆ a_pre_fwd() [2/2]

CLHEP::HepVector KalFitHelixSeg::a_pre_fwd ( void )
inline

Definition at line 45 of file KalFitHelixSeg.h.

45{ return a_pre_fwd_; }

Referenced by KalFitAlg::filter_fwd_calib(), KalFitTrack::smoother_Mdc_csmalign(), and KalFitTrack::update_hits_csmalign().

◆ dd() [1/2]

void KalFitHelixSeg::dd ( double driftdist)
inline

Definition at line 42 of file KalFitHelixSeg.h.

42{dd_ = driftdist; }

◆ dd() [2/2]

double KalFitHelixSeg::dd ( void )
inline

Definition at line 33 of file KalFitHelixSeg.h.

33{ return dd_;}

Referenced by KalFitTrack::smoother_Mdc_csmalign().

◆ doca_exclude() [1/2]

void KalFitHelixSeg::doca_exclude ( double doca)
inline

Definition at line 38 of file KalFitHelixSeg.h.

38{ doca_exclude_ = doca;}

◆ doca_exclude() [2/2]

double KalFitHelixSeg::doca_exclude ( void )
inline

Definition at line 29 of file KalFitHelixSeg.h.

29{ return doca_exclude_;}

Referenced by KalFitTrack::smoother_Mdc_csmalign().

◆ doca_include() [1/2]

void KalFitHelixSeg::doca_include ( double doca)
inline

Definition at line 39 of file KalFitHelixSeg.h.

39{ doca_include_ = doca;}

◆ doca_include() [2/2]

double KalFitHelixSeg::doca_include ( void )
inline

Definition at line 30 of file KalFitHelixSeg.h.

30{ return doca_include_;}

Referenced by KalFitTrack::smoother_Mdc_csmalign().

◆ dt() [1/2]

void KalFitHelixSeg::dt ( double drifttime)
inline

Definition at line 41 of file KalFitHelixSeg.h.

41{ dt_ = drifttime; }

◆ dt() [2/2]

double KalFitHelixSeg::dt ( void )
inline

Definition at line 32 of file KalFitHelixSeg.h.

32{ return dt_;}

Referenced by KalFitTrack::smoother_Mdc_csmalign().

◆ Ea_exclude() [1/2]

void KalFitHelixSeg::Ea_exclude ( CLHEP::HepSymMatrix Ea)
inline

Definition at line 74 of file KalFitHelixSeg.h.

74{ Ea_exclude_ = Ea; }

◆ Ea_exclude() [2/2]

CLHEP::HepSymMatrix KalFitHelixSeg::Ea_exclude ( void )
inline

Definition at line 58 of file KalFitHelixSeg.h.

58{ return Ea_exclude_; }

Referenced by KalFitTrack::smoother_Mdc_csmalign().

◆ Ea_filt_bwd() [1/2]

void KalFitHelixSeg::Ea_filt_bwd ( CLHEP::HepSymMatrix Ea)
inline

Definition at line 70 of file KalFitHelixSeg.h.

70{ Ea_filt_bwd_ = Ea; }

◆ Ea_filt_bwd() [2/2]

CLHEP::HepSymMatrix KalFitHelixSeg::Ea_filt_bwd ( void )
inline

Definition at line 56 of file KalFitHelixSeg.h.

56{ return Ea_filt_bwd_;}

Referenced by KalFitTrack::smoother_Mdc_csmalign().

◆ Ea_filt_fwd() [1/2]

void KalFitHelixSeg::Ea_filt_fwd ( CLHEP::HepSymMatrix Ea)
inline

Definition at line 69 of file KalFitHelixSeg.h.

69{ Ea_filt_fwd_ = Ea; }

◆ Ea_filt_fwd() [2/2]

CLHEP::HepSymMatrix KalFitHelixSeg::Ea_filt_fwd ( void )
inline

Definition at line 54 of file KalFitHelixSeg.h.

54{ return Ea_filt_fwd_;}

Referenced by KalFitAlg::filter_fwd_calib(), KalFitTrack::smoother_Mdc_csmalign(), and KalFitTrack::update_hits_csmalign().

◆ Ea_include() [1/2]

void KalFitHelixSeg::Ea_include ( CLHEP::HepSymMatrix Ea)
inline

Definition at line 73 of file KalFitHelixSeg.h.

73{ Ea_include_ = Ea; }

◆ Ea_include() [2/2]

CLHEP::HepSymMatrix KalFitHelixSeg::Ea_include ( void )
inline

Definition at line 57 of file KalFitHelixSeg.h.

57{ return Ea_include_; }

Referenced by KalFitTrack::smoother_Mdc_csmalign().

◆ Ea_pre_bwd() [1/2]

void KalFitHelixSeg::Ea_pre_bwd ( CLHEP::HepSymMatrix Ea)
inline

Definition at line 71 of file KalFitHelixSeg.h.

71{ Ea_pre_bwd_ = Ea; }

◆ Ea_pre_bwd() [2/2]

CLHEP::HepSymMatrix KalFitHelixSeg::Ea_pre_bwd ( void )
inline

Definition at line 55 of file KalFitHelixSeg.h.

55{ return Ea_pre_bwd_; }

Referenced by KalFitTrack::smoother_Mdc_csmalign().

◆ Ea_pre_fwd() [1/2]

void KalFitHelixSeg::Ea_pre_fwd ( CLHEP::HepSymMatrix Ea)
inline

Definition at line 72 of file KalFitHelixSeg.h.

72{ Ea_pre_fwd_ = Ea; }

◆ Ea_pre_fwd() [2/2]

CLHEP::HepSymMatrix & KalFitHelixSeg::Ea_pre_fwd ( void )
inline

Definition at line 53 of file KalFitHelixSeg.h.

53{ return Ea_pre_fwd_; }

Referenced by KalFitAlg::filter_fwd_calib(), KalFitTrack::smoother_Mdc_csmalign(), and KalFitTrack::update_hits_csmalign().

◆ HitMdc()

KalFitHitMdc * KalFitHelixSeg::HitMdc ( void )
inline

◆ layer()

int KalFitHelixSeg::layer ( void )
inline

Definition at line 77 of file KalFitHelixSeg.h.

77{return (*hitmdc_).wire().layer().layerId();}

◆ LR() [1/2]

void KalFitHelixSeg::LR ( int lr)
inline

Definition at line 43 of file KalFitHelixSeg.h.

43{lr_ = lr;}

◆ LR() [2/2]

int KalFitHelixSeg::LR ( void )
inline

Definition at line 34 of file KalFitHelixSeg.h.

34{return lr_;}

Referenced by KalFitTrack::update_hits_csmalign().

◆ residual_exclude() [1/2]

void KalFitHelixSeg::residual_exclude ( double res)
inline

Definition at line 36 of file KalFitHelixSeg.h.

36{ residual_exclude_ = res;}

◆ residual_exclude() [2/2]

double KalFitHelixSeg::residual_exclude ( void )
inline

Definition at line 27 of file KalFitHelixSeg.h.

27{ return residual_exclude_;}

Referenced by KalFitTrack::smoother_Mdc_csmalign().

◆ residual_include() [1/2]

void KalFitHelixSeg::residual_include ( double res)
inline

Definition at line 37 of file KalFitHelixSeg.h.

37{ residual_include_ = res;}

◆ residual_include() [2/2]

double KalFitHelixSeg::residual_include ( void )
inline

Definition at line 28 of file KalFitHelixSeg.h.

28{ return residual_include_;}

Referenced by KalFitTrack::smoother_Mdc_csmalign().

◆ tof() [1/2]

void KalFitHelixSeg::tof ( double time)
inline

Definition at line 40 of file KalFitHelixSeg.h.

40{ tof_ = time;}
Double_t time

◆ tof() [2/2]

double KalFitHelixSeg::tof ( void )
inline

Definition at line 31 of file KalFitHelixSeg.h.

31{ return tof_;}

Referenced by KalFitTrack::smoother_Mdc_csmalign().


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