BOSS
7.0.9
BESIII Offline Software System
Loading...
Searching...
No Matches
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
15
using
CLHEP::Hep3Vector;
16
using
CLHEP::HepMatrix;
17
using
CLHEP::HepSymMatrix;
18
19
class
NeutParams
:
public
TrkParams
{
20
21
friend
class
NeutTraj
;
22
23
public
:
24
25
// Constructors and destructor
26
//
27
NeutParams
(
const
HepVector&,
const
HepSymMatrix&);
28
NeutParams
(
double
,
double
,
double
,
double
,
double
,
double
);
29
NeutParams
(
const
NeutParams
& old);
30
~NeutParams
();
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
54
private
:
55
};
56
#endif
57
TrkParams.h
DifIndepPar::parameter
HepVector & parameter()
Definition:
DifIndepPar.h:51
NeutParams
Definition:
NeutParams.h:19
NeutParams::sinPhi0
double sinPhi0() const
Definition:
NeutParams.cxx:57
NeutParams::s0
double & s0()
Definition:
NeutParams.h:42
NeutParams::z0
double z0() const
Definition:
NeutParams.h:47
NeutParams::~NeutParams
~NeutParams()
Definition:
NeutParams.cxx:77
NeutParams::arcRatio
double arcRatio() const
Definition:
NeutParams.cxx:71
NeutParams::cosPhi0
double cosPhi0() const
Definition:
NeutParams.cxx:64
NeutParams::phi0
double & phi0()
Definition:
NeutParams.h:38
NeutParams::z0
double & z0()
Definition:
NeutParams.h:40
NeutParams::tanDip
double & tanDip()
Definition:
NeutParams.h:41
NeutParams::_d0
@ _d0
Definition:
NeutParams.h:33
NeutParams::_tanDip
@ _tanDip
Definition:
NeutParams.h:33
NeutParams::_p
@ _p
Definition:
NeutParams.h:33
NeutParams::_phi0
@ _phi0
Definition:
NeutParams.h:33
NeutParams::_nneutprm
@ _nneutprm
Definition:
NeutParams.h:33
NeutParams::_z0
@ _z0
Definition:
NeutParams.h:33
NeutParams::_s0
@ _s0
Definition:
NeutParams.h:33
NeutParams::tanDip
double tanDip() const
Definition:
NeutParams.h:48
NeutParams::d0
double d0() const
Definition:
NeutParams.h:44
NeutParams::s0
double s0() const
Definition:
NeutParams.h:49
NeutParams::p
double & p()
Definition:
NeutParams.h:39
NeutParams::phi0
double phi0() const
Definition:
NeutParams.h:45
NeutParams::p
double p() const
Definition:
NeutParams.h:46
NeutParams::d0
double & d0()
Definition:
NeutParams.h:37
NeutTraj
Definition:
NeutTraj.h:26
TrkParams
Definition:
TrkParams.h:24
source
Reconstruction
MdcPatRec
TrkBase
TrkBase-00-01-12
TrkBase
NeutParams.h
Generated by
1.9.6