BOSS
7.1.3
BESIII Offline Software System
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Functions
a
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
w
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
v
w
x
z
Typedefs
c
d
e
g
h
i
l
m
n
o
p
r
s
t
Enumerations
Enumerator
a
b
c
d
e
f
i
k
l
m
n
o
p
r
s
t
u
w
x
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
v
w
Enumerations
b
c
d
e
f
g
h
i
k
l
m
n
p
r
s
t
v
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Related Symbols
:
a
b
c
d
e
f
g
i
k
l
m
n
o
p
r
s
t
v
w
x
Files
File List
File Members
All
!
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
!
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
Variables
!
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
h
i
j
k
l
m
n
p
r
s
t
u
v
w
z
Enumerations
Enumerator
a
b
c
d
e
f
g
h
i
k
m
n
o
p
r
s
t
u
w
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
▼
BOSS
Used Packages
Requirements
►
How to use the ERS package
Todo List
►
Namespaces
►
Classes
▼
Files
▼
File List
▼
7.1.3
►
Analysis
►
BesCxxPolicy
►
BesExamples
►
BesPolicy
►
Calibration
►
Control
►
Database
►
DetectorDescription
►
DistBoss
►
DQA
►
Emc
►
Event
►
EventDisplay
►
EventFilter
►
EvtPreSelect
►
External
►
Generator
►
InstallArea
►
LumTauAlg
►
MagneticField
►
Mdc
►
Muc
►
OfflineEvtFilter
▼
Reconstruction
►
BeamParamsAlg
►
DTagAlg
►
DTagSkim
►
EmcRec
►
EmcTimeRec
►
EsTimeAlg
►
EventAssembly
►
KalFitAlg
►
MdcDedxAlg
►
MdcDummyAlg
►
MdcFastTrkAlg
►
MdcHoughFinder
▼
MdcPatRec
►
BField
►
MdcData
►
MdcGeom
►
MdcRecoUtil
►
MdcTrkRecon
►
MdcxReco
►
ProbTools
►
ProxyDict
▼
TrkBase
▼
TrkBase-00-01-12
▼
src
►
AbsEvtObj.cxx
►
HelixTraj.cxx
NeutParams.cxx
NeutTraj.cxx
TrkAbsFit.cxx
TrkActiveHotSelector.cxx
TrkCompTrk.cxx
TrkContext.cxx
►
TrkDetElemId.cxx
TrkDifPieceTraj.cxx
TrkDifPoca.cxx
TrkDifTraj.cxx
►
TrkDirection.cxx
►
TrkErrCode.cxx
►
TrkExchangeData.cxx
►
TrkExchangePar.cxx
TrkExpectedHot.cxx
TrkExpectedHotSet.cxx
TrkExtInterface.cxx
TrkFit.cxx
TrkFitMaker.cxx
►
TrkFitStatus.cxx
►
TrkFitTypeKey.cxx
►
TrkFundHit.cxx
►
TrkHelixUtils.cxx
►
TrkHistory.cxx
TrkHitList.cxx
►
TrkHitOnTrk.cxx
TrkHitOnTrkUpdater.cxx
TrkHitUse.cxx
TrkHotList.cxx
TrkHotListEmpty.cxx
TrkHotListFull.cxx
TrkHotListUnowned.cxx
TrkId.cxx
TrkIdManager.cxx
►
TrkKalTrk.cxx
TrkLineTraj.cxx
TrkMdcHotSelector.cxx
TrkMomCalculator.cxx
TrkMomVisitor.cxx
TrkOutAvgTimeCalculator.cxx
TrkParams.cxx
TrkPoca.cxx
TrkPocaBase.cxx
TrkPocaXY.cxx
►
TrkRecoTrk.cxx
TrkRep.cxx
TrkSimpTraj.cxx
TrkStoreHypo.cxx
TrkTimeAdjuster.cxx
TrkTypeUtil.cxx
TrkView.cxx
TrkVisitor.cxx
TrkVolume.cxx
►
test
►
TrkBase
►
TrkFitter
►
MucRecAlg
►
Pi0EtaToGGRecAlg
►
Pi0RecAlg
►
PrimaryVertexAlg
►
QCMCFilterAlg
►
SD0TagAlg
►
T0Dummy
►
TagWriterAlg
►
TofEnergyRec
►
TofRec
►
TrackUtil
►
TrkExtAlg
►
TrkReco
►
VeeVertexAlg
►
ZddReconAlg
►
RootPolicy
►
Simulation
►
Tof
►
Trigger
►
Utilities
►
Validation
►
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Loading...
Searching...
No Matches
TrkExchangePar.cxx
Go to the documentation of this file.
1
//--------------------------------------------------------------------------
2
// File and Version Information:
3
// $Id: TrkExchangePar.cxx,v 1.2 2005/07/18 02:56:08 zhangy Exp $
4
//
5
// Description:
6
//
7
//
8
// Environment:
9
// Software developed for the BaBar Detector at the SLAC B-Factory.
10
//
11
// Authors: Steve Schaffner
12
//------------------------------------------------------------------------
13
#include "
TrkBase/TrkExchangePar.h
"
14
#include "
MdcGeom/BesAngle.h
"
15
#include <assert.h>
16
#include <iostream>
17
using
std::endl;
18
using
std::ostream;
19
20
//----------------------------------------------------------------------
21
TrkExchangePar::TrkExchangePar
(
const
HepVector& inV,
const
HepMatrix& inErr)
22
: paramVec(inV) {
23
//----------------------------------------------------------------------
24
assert(paramVec.num_row() ==
nParam
);
25
assert(inErr.num_row() ==
nParam
);
26
assert(inErr.num_col() ==
nParam
);
27
paramErr.assign(inErr);
28
paramVec[
ex_phi0
] =
BesAngle
(paramVec[
ex_phi0
]).
rad
();
29
}
21
TrkExchangePar::TrkExchangePar
(
const
HepVector& inV,
const
HepMatrix& inErr) {
…
}
30
31
//----------------------------------------------------------------------
32
TrkExchangePar::TrkExchangePar
(
const
HepVector& inV,
const
HepSymMatrix& err)
33
: paramVec(inV), paramErr(err) {
34
//----------------------------------------------------------------------
35
assert(paramVec.num_row() ==
nParam
);
36
assert(paramErr.num_row() ==
nParam
);
37
paramVec[
ex_phi0
] =
BesAngle
(paramVec[
ex_phi0
]).
rad
();
38
}
32
TrkExchangePar::TrkExchangePar
(
const
HepVector& inV,
const
HepSymMatrix& err) {
…
}
39
40
//----------------------------------------------------------------------
41
TrkExchangePar::TrkExchangePar
(
const
HepVector& inV)
42
: paramVec(inV), paramErr(
nParam
, 1) {
43
//----------------------------------------------------------------------
44
assert(paramVec.num_row() ==
nParam
);
45
paramVec[
ex_phi0
] =
BesAngle
(paramVec[
ex_phi0
]).
rad
();
46
}
41
TrkExchangePar::TrkExchangePar
(
const
HepVector& inV) {
…
}
47
48
//----------------------------------------------------------------------
49
TrkExchangePar::TrkExchangePar
(
double
d0In,
double
phi0In,
double
omegaIn,
50
double
z0In,
double
tanDipIn)
51
: paramVec(
nParam
), paramErr(
nParam
, 1) {
52
//----------------------------------------------------------------------
53
paramVec[
ex_d0
] = d0In;
54
paramVec[
ex_phi0
] = phi0In;
55
paramVec[
ex_omega
] = omegaIn;
56
paramVec[
ex_z0
] = z0In;
57
paramVec[
ex_tanDip
] = tanDipIn;
58
paramVec[
ex_phi0
] =
BesAngle
(paramVec[
ex_phi0
]).
rad
();
59
}
49
TrkExchangePar::TrkExchangePar
(
double
d0In,
double
phi0In,
double
omegaIn, {
…
}
60
61
//----------------------------------------------------------------------
62
TrkExchangePar::~TrkExchangePar
(){}
63
64
//----------------------------------------------------------------------
65
// Output functions: simple, detailed, and stream
66
67
void
TrkExchangePar::print
(ostream& o)
const
{
68
o <<
"d0="
<<
d0
() <<
" phi0="
<<
phi0
() <<
" omega="
<<
omega
()
69
<<
" z0="
<<
z0
() <<
" tanDip="
<<
tanDip
();
70
}
67
void
TrkExchangePar::print
(ostream& o)
const
{
…
}
71
72
void
TrkExchangePar::printAll
(ostream& o)
const
{
73
print
(o);
74
o << endl <<
covariance
() << endl;
75
}
72
void
TrkExchangePar::printAll
(ostream& o)
const
{
…
}
76
77
78
79
ostream&
operator<<
(ostream& o,
const
TrkExchangePar
& helix) {
80
helix.
print
(o);
81
return
o;
82
}
79
ostream&
operator<<
(ostream& o,
const
TrkExchangePar
& helix) {
…
}
83
BesAngle.h
operator<<
ostream & operator<<(ostream &o, const TrkExchangePar &helix)
Definition
TrkExchangePar.cxx:79
TrkExchangePar.h
BesAngle
Definition
BesAngle.h:18
BesAngle::rad
double rad() const
Definition
BesAngle.h:118
TrkExchangePar
Definition
TrkExchangePar.h:30
TrkExchangePar::ex_phi0
@ ex_phi0
Definition
TrkExchangePar.h:33
TrkExchangePar::ex_omega
@ ex_omega
Definition
TrkExchangePar.h:33
TrkExchangePar::ex_z0
@ ex_z0
Definition
TrkExchangePar.h:33
TrkExchangePar::ex_tanDip
@ ex_tanDip
Definition
TrkExchangePar.h:33
TrkExchangePar::ex_d0
@ ex_d0
Definition
TrkExchangePar.h:33
TrkExchangePar::nParam
@ nParam
Definition
TrkExchangePar.h:32
TrkExchangePar::phi0
double phi0() const
Definition
TrkExchangePar.h:43
TrkExchangePar::omega
double omega() const
Definition
TrkExchangePar.h:44
TrkExchangePar::z0
double z0() const
Definition
TrkExchangePar.h:45
TrkExchangePar::d0
double d0() const
Definition
TrkExchangePar.h:42
TrkExchangePar::print
void print(std::ostream &o) const
Definition
TrkExchangePar.cxx:67
TrkExchangePar::~TrkExchangePar
~TrkExchangePar()
Definition
TrkExchangePar.cxx:62
TrkExchangePar::tanDip
double tanDip() const
Definition
TrkExchangePar.h:46
TrkExchangePar::covariance
const HepSymMatrix & covariance() const
Definition
TrkExchangePar.h:50
TrkExchangePar::printAll
void printAll(std::ostream &o) const
Definition
TrkExchangePar.cxx:72
TrkExchangePar::TrkExchangePar
TrkExchangePar(const HepVector &, const HepMatrix &)
Definition
TrkExchangePar.cxx:21
7.1.3
Reconstruction
MdcPatRec
TrkBase
TrkBase-00-01-12
src
TrkExchangePar.cxx
Generated by
1.13.2