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