BOSS 7.0.3
BESIII Offline Software System
Loading...
Searching...
No Matches
Reconstruction/MdcPatRec/TrkBase/TrkBase-00-01-12/TrkBase/NeutParams.h
Go to the documentation of this file.
1// Justin Albert and Valery Miftahov 10/27/97
2
3#ifndef NEUTPARAMS_H
4#define NEUTPARAMS_H
5
6#include <stdio.h>
7#include <iostream>
8#include <math.h>
9
10#include "TrkBase/TrkParams.h"
11#include "CLHEP/Matrix/Vector.h"
12#include "CLHEP/Matrix/Matrix.h"
13#include "CLHEP/Matrix/SymMatrix.h"
14
15using CLHEP::Hep3Vector;
16using CLHEP::HepMatrix;
17using CLHEP::HepSymMatrix;
18
19class NeutParams : public TrkParams {
20
21friend class NeutTraj;
22
23public:
24
25// Constructors and destructor
26//
27 NeutParams(const HepVector&,const HepSymMatrix&);
28 NeutParams(double,double,double,double,double,double);
31
32// Define the parameter meaning and order by an enum
33 enum {_d0, _phi0, _p, _z0, _tanDip, _s0,_nneutprm = 6};
34
35// access
36//
37 double& d0() { return parameter()[_d0]; }
38 double& phi0() { return parameter()[_phi0]; }
39 double& p() { return parameter()[_p]; }
40 double& z0() { return parameter()[_z0]; }
41 double& tanDip() { return parameter()[_tanDip]; }
42 double& s0() { return parameter()[_s0]; }
43
44 double d0() const { return parameter()[_d0]; }
45 double phi0() const { return parameter()[_phi0]; }
46 double p() const { return parameter()[_p]; }
47 double z0() const { return parameter()[_z0]; }
48 double tanDip() const { return parameter()[_tanDip]; }
49 double s0() const { return parameter()[_s0]; }
50
51 double sinPhi0() const;
52 double cosPhi0() const;
53 double arcRatio() const; // = fltLen / 2-d arclen
54private:
55};
56#endif
57
double sinPhi0() const
NeutParams(const HepVector &, const HepSymMatrix &)
double arcRatio() const
double cosPhi0() const
NeutParams(double, double, double, double, double, double)
NeutParams(const NeutParams &old)