BOSS
7.1.2
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.2
►
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
▼
MdcTrkRecon-00-04-03
►
MdcTrkRecon
▼
src
GmsList.cxx
GmsListLink.cxx
►
MdcFlagHold.cxx
MdcHitDict.cxx
MdcLine.cxx
►
MdcMakeHits.cxx
MdcMergeDups.cxx
MdcPlotHits.cxx
►
MdcSeg.cxx
MdcSegData.cxx
►
MdcSegFinder.cxx
►
MdcSegGrouper.cxx
►
MdcSegGrouperAx.cxx
MdcSegGrouperCsmc.cxx
►
MdcSegGrouperSt.cxx
MdcSegInfo.cxx
MdcSegInfoAxialO.cxx
MdcSegInfoCsmc.cxx
►
MdcSegInfoSterO.cxx
►
MdcSegList.cxx
MdcSegParams.cxx
MdcSegPatterns.cxx
MdcSegUsage.cxx
MdcTrack.cxx
►
MdcTrackList.cxx
►
MdcTrackListBase.cxx
MdcTrackListCsmc.cxx
MdcTrackParams.cxx
MdcTrkRecon.cxx
►
mdcTwoInv.cxx
►
test
►
MdcxReco
►
ProbTools
►
ProxyDict
►
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
mdcTwoInv.cxx
Go to the documentation of this file.
1
/* Invert a symmetric 2x2 matrix. Return 1 if inversion fails. */
2
3
int
mdcTwoInv
(
double
matrix[3],
double
invmat[3]) {
4
5
/* Declare variables. */
6
double
det, detinv;
7
8
/**************************************************************************/
9
10
det = matrix[0] * matrix[2] - matrix[1] * matrix[1];
11
if
(det == 0.0) {
12
invmat[0] = 0.00001;
13
invmat[2] = 0.00001;
14
invmat[1] = 0.00000;
15
return
1;
16
}
17
detinv = 1./det;
18
19
invmat[0] = matrix[2] * detinv;
20
invmat[2] = matrix[0] * detinv;
21
invmat[1] = -matrix[1] * detinv;
22
23
return
0;
24
}
3
int
mdcTwoInv
(
double
matrix[3],
double
invmat[3]) {
…
}
mdcTwoInv
int mdcTwoInv(double matrix[3], double invmat[3])
Definition
mdcTwoInv.cxx:3
7.1.2
Reconstruction
MdcPatRec
MdcTrkRecon
MdcTrkRecon-00-04-03
src
mdcTwoInv.cxx
Generated by
1.12.0