ATLAS Offline Software
Tracking
TrkAlignment
TrkAlignEvent
src
AlignPar.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
TrkAlignEvent/AlignPar.h
"
6
7
namespace
Trk
{
8
9
//________________________________________________________________________
10
MsgStream&
operator <<
(MsgStream& sl,
const
AlignPar
&
ap
)
11
{
12
sl <<
"alignPar type : "
<< std::setw(10) <<
ap
.dumpType()
13
<<
"("
<<
ap
.paramType() <<
" ) : "
<< &
ap
<<
endmsg
;
14
sl <<
" init par: "
<< std::setw(6) << std::showpos << std::fixed
15
<<
ap
.initPar()<<
" +/- "
<<std::noshowpos <<
ap
.initErr()
16
<< resetiosflags(std::ios::floatfield) <<
endmsg
;
17
sl <<
" par: "
<< std::showpos <<
ap
.par() <<
" +/- "
18
<< std::noshowpos <<
ap
.err() <<
endmsg
;
19
sl <<
" final par: "
<< std::showpos <<
ap
.finalPar() <<
" +/- "
20
<< std::noshowpos <<
ap
.finalErr() <<
endmsg
;
21
sl <<
" sigma: "
<<
ap
.sigma() <<
endmsg
;
22
sl <<
" soft-cut: "
<<
ap
.softCut() <<
endmsg
;
23
sl <<
" first drv: "
<< std::showpos <<
ap
.firstDeriv()
24
<< std::noshowpos <<
endmsg
;
25
sl <<
" secnd drv: "
<< std::showpos <<
ap
.secndDeriv()
26
<< std::noshowpos <<
endmsg
;
27
return
sl;
28
}
29
30
//________________________________________________________________________
31
std::string
AlignPar::dumpType
()
const
32
{
33
switch
(
paramType
()) {
34
case
AlignModule::TransX
:
return
"TransX"
;
35
case
AlignModule::TransY
:
return
"TransY"
;
36
case
AlignModule::TransZ
:
return
"TransZ"
;
37
case
AlignModule::RotX
:
return
"RotX"
;
38
case
AlignModule::RotY
:
return
"RotY"
;
39
case
AlignModule::RotZ
:
return
"RotZ"
;
40
case
AlignModule::BowX
:
return
"BowX"
;
41
case
AlignModule::BowY
:
return
"BowY"
;
42
case
AlignModule::BowZ
:
return
"BowZ"
;
43
default
:
44
std::ostringstream stm;
45
stm <<
"ParType"
<<
paramType
();
46
return
stm.str();
47
}
48
}
49
50
}
Trk::AlignModule::BowY
@ BowY
Definition:
AlignModule.h:54
Trk::AlignModule::TransZ
@ TransZ
Definition:
AlignModule.h:54
Trk::AlignPar::dumpType
std::string dumpType() const
returns the string representing the type of parameter (i.e.
Definition:
AlignPar.cxx:31
python.AtlRunQueryParser.ap
ap
Definition:
AtlRunQueryParser.py:826
Trk::AlignPar::paramType
AlignModule::TransformParameters paramType() const
returns the type of parameter (i.e.
Definition:
AlignPar.h:47
Trk::AlignModule::BowX
@ BowX
Definition:
AlignModule.h:54
endmsg
#define endmsg
Definition:
AnalysisConfig_Ntuple.cxx:63
Trk::AlignPar
Definition:
AlignPar.h:25
Trk::AlignModule::RotX
@ RotX
Definition:
AlignModule.h:54
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition:
FakeTrackBuilder.h:9
Trk::AlignModule::TransX
@ TransX
Definition:
AlignModule.h:54
Trk::AlignModule::RotY
@ RotY
Definition:
AlignModule.h:54
Trk::operator<<
MsgStream & operator<<(MsgStream &sl, const AlignModule &alignModule)
overload of << operator for MsgStream for debug output
Definition:
AlignModule.cxx:204
AlignPar.h
Trk::AlignModule::RotZ
@ RotZ
Definition:
AlignModule.h:54
Trk::AlignModule::BowZ
@ BowZ
Definition:
AlignModule.h:54
Trk::AlignModule::TransY
@ TransY
Definition:
AlignModule.h:54
Generated on Sun Dec 22 2024 21:06:51 for ATLAS Offline Software by
1.8.18