BOSS 7.0.1
BESIII Offline Software System
Loading...
Searching...
No Matches
InstallArea/include/KalFitAlg/KalFitAlg/KalFitHelixSeg.h
Go to the documentation of this file.
1#ifndef _DEFINE_HELIXSEG_H_
2#define _DEFINE_HELIXSEG_H_
3
4//#include "TrackUtil/Helix.h"
5#include "KalFitAlg/helix/Helix.h"
6#include "KalFitAlg/KalFitHitMdc.h"
7#include "CLHEP/Matrix/Vector.h"
8#include "CLHEP/Matrix/Matrix.h"
9#include "CLHEP/Matrix/SymMatrix.h"
10
11using namespace CLHEP;
12
13using namespace KalmanFit;
14
15
16class KalFitHelixSeg: public Helix {
17
18public:
19
20//KalFitHelixSeg(void);
21
22KalFitHelixSeg(KalFitHitMdc* hit,HepPoint3D pivot,HepVector a,HepSymMatrix Ea);
23
25
26KalFitHitMdc* HitMdc(void) { return hitmdc_;}
27double residual_exclude(void) { return residual_exclude_;}
28double residual_include(void) { return residual_include_;}
29double doca_exclude(void) { return doca_exclude_;}
30double doca_include(void) { return doca_include_;}
31double tof(void) { return tof_;}
32double dt(void) { return dt_;}
33double dd(void) { return dd_;}
34int LR(void) {return lr_;}
35
36void residual_exclude(double res) { residual_exclude_ = res;}
37void residual_include(double res) { residual_include_ = res;}
38void doca_exclude(double doca) { doca_exclude_ = doca;}
39void doca_include(double doca) { doca_include_ = doca;}
40void tof(double time) { tof_ = time;}
41void dt(double drifttime) { dt_ = drifttime; }
42void dd(double driftdist) {dd_ = driftdist; }
43void LR(int lr) {lr_ = lr;}
44
45CLHEP::HepVector a_pre_fwd (void) { return a_pre_fwd_; }
46CLHEP::HepVector a_pre_bwd (void) { return a_pre_bwd_; }
47CLHEP::HepVector a_filt_fwd(void) { return a_filt_fwd_;}
48CLHEP::HepVector a_filt_bwd(void) { return a_filt_bwd_;}
49CLHEP::HepVector a_include (void) { return a_include_; }
50CLHEP::HepVector a_exclude (void) { return a_exclude_; }
51
52
53CLHEP::HepSymMatrix& Ea_pre_fwd(void) { return Ea_pre_fwd_; }
54CLHEP::HepSymMatrix Ea_filt_fwd(void) { return Ea_filt_fwd_;}
55CLHEP::HepSymMatrix Ea_pre_bwd (void) { return Ea_pre_bwd_; }
56CLHEP::HepSymMatrix Ea_filt_bwd(void) { return Ea_filt_bwd_;}
57CLHEP::HepSymMatrix Ea_include (void) { return Ea_include_; }
58CLHEP::HepSymMatrix Ea_exclude (void) { return Ea_exclude_; }
59
60
61void a_pre_fwd (CLHEP::HepVector a) { a_pre_fwd_ = a; }
62void a_pre_bwd (CLHEP::HepVector a) { a_pre_bwd_ = a; }
63void a_filt_fwd(CLHEP::HepVector a) { a_filt_fwd_ = a; }
64void a_filt_bwd(CLHEP::HepVector a) { a_filt_bwd_ = a; }
65void a_include (CLHEP::HepVector a) { a_include_ = a; }
66void a_exclude (CLHEP::HepVector a) { a_exclude_ = a; }
67
68
69void Ea_filt_fwd(CLHEP::HepSymMatrix Ea) { Ea_filt_fwd_ = Ea; }
70void Ea_filt_bwd(CLHEP::HepSymMatrix Ea) { Ea_filt_bwd_ = Ea; }
71void Ea_pre_bwd (CLHEP::HepSymMatrix Ea) { Ea_pre_bwd_ = Ea; }
72void Ea_pre_fwd (CLHEP::HepSymMatrix Ea) { Ea_pre_fwd_ = Ea; }
73void Ea_include (CLHEP::HepSymMatrix Ea) { Ea_include_ = Ea; }
74void Ea_exclude (CLHEP::HepSymMatrix Ea) { Ea_exclude_ = Ea; }
75
76
77int layer(void) {return (*hitmdc_).wire().layer().layerId();}
78
79
80
81private:
82KalFitHitMdc* hitmdc_;
83CLHEP::HepVector a_pre_fwd_;
84CLHEP::HepVector a_pre_bwd_;
85CLHEP::HepVector a_filt_fwd_;
86CLHEP::HepVector a_filt_bwd_;
87CLHEP::HepVector a_include_;
88CLHEP::HepVector a_exclude_;
89
90CLHEP::HepSymMatrix Ea_pre_fwd_;
91CLHEP::HepSymMatrix Ea_filt_fwd_;
92CLHEP::HepSymMatrix Ea_pre_bwd_;
93CLHEP::HepSymMatrix Ea_filt_bwd_;
94CLHEP::HepSymMatrix Ea_include_;
95CLHEP::HepSymMatrix Ea_exclude_;
96
97int lr_;
98double residual_exclude_;
99double residual_include_;
100double doca_exclude_;
101double doca_include_;
102double tof_;
103double dt_;
104double dd_;
105
106};
107
108#endif
Double_t time
const HepSymMatrix & Ea(void) const
returns error matrix.
const HepVector & a(void) const
returns helix parameters.
const HepPoint3D & pivot(void) const
returns pivot position.