Project
Loading...
Searching...
No Matches
DOFSet.cxx
Go to the documentation of this file.
1
// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
2
// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
3
// All rights not expressly granted are reserved.
4
//
5
// This software is distributed under the terms of the GNU General Public
6
// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
7
//
8
// In applying this license CERN does not waive the privileges and immunities
9
// granted to it by virtue of its status as an Intergovernmental Organization
10
// or submit itself to any jurisdiction.
11
15
16
#include "
Align/DOFSet.h
"
17
#include "
Align/Controller.h
"
18
19
using namespace
o2::align
;
20
21
DOFSet::DOFSet
(
const
char
* symname,
Controller
* ctr) : TNamed(symname,
""
), mController(ctr)
22
{
23
if
(!ctr) {
24
LOG
(fatal) <<
"Controller has to be provided :"
<< symname;
25
}
26
}
27
28
//_________________________________________________________
29
const
float
*
DOFSet::getParVals
()
const
30
{
31
return
&
mController
->
getGloParVal
()[
mFirstParGloID
];
32
}
33
34
//_________________________________________________________
35
const
float
*
DOFSet::getParErrs
()
const
36
{
37
return
&
mController
->
getGloParErr
()[
mFirstParGloID
];
38
}
39
40
//_________________________________________________________
41
const
int
*
DOFSet::getParLabs
()
const
42
{
43
return
&
mController
->
getGloParLab
()[
mFirstParGloID
];
44
}
45
46
//_________________________________________________________
47
float
*
DOFSet::getParVals
()
48
{
49
return
&
mController
->
getGloParVal
()[
mFirstParGloID
];
50
}
51
52
//_________________________________________________________
53
float
*
DOFSet::getParErrs
()
54
{
55
return
&
mController
->
getGloParErr
()[
mFirstParGloID
];
56
}
57
58
//_________________________________________________________
59
int
*
DOFSet::getParLabs
()
60
{
61
return
&
mController
->
getGloParLab
()[
mFirstParGloID
];
62
}
Controller.h
Steering class for the global alignment.
DOFSet.h
Interface to contiguous set of DOFs in the controller class.
o2::align::Controller
Definition
Controller.h:91
o2::align::Controller::getGloParVal
auto & getGloParVal()
Definition
Controller.h:183
o2::align::Controller::getGloParLab
auto & getGloParLab()
Definition
Controller.h:185
o2::align::Controller::getGloParErr
auto & getGloParErr()
Definition
Controller.h:184
o2::align::DOFSet::DOFSet
DOFSet()=default
o2::align::DOFSet::getParVals
const float * getParVals() const
Definition
DOFSet.cxx:29
o2::align::DOFSet::mController
Controller * mController
Definition
DOFSet.h:73
o2::align::DOFSet::getParLabs
const int * getParLabs() const
Definition
DOFSet.cxx:41
o2::align::DOFSet::getParErrs
const float * getParErrs() const
Definition
DOFSet.cxx:35
o2::align::DOFSet::mFirstParGloID
int mFirstParGloID
Definition
DOFSet.h:78
o2::align
Definition
AlgPntDbg.h:29
LOG
LOG(info)<< "Compressed in "<< sw.CpuTime()<< " s"
Detectors
Align
src
DOFSet.cxx
Generated on Tue Feb 25 2025 23:16:12 for Project by
1.9.8