Project
Loading...
Searching...
No Matches
Aligner.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
13
14#include <iostream>
15#include <sstream>
16#include <string>
17
18#include <TString.h>
19
20#include "Framework/Logger.h"
23
24using namespace o2::mft;
25
27
28//__________________________________________________________________________
30 : mStartFac(256),
31 mChi2CutNStdDev(3),
32 mResCutInitial(100.),
33 mResCut(100.),
34 mMilleRecordsFileName("mft_mille_records.root"),
35 mMilleConstraintsRecFileName("mft_mille_constraints.root"),
36 mIsInitDone(false),
37 mGlobalParameterStatus(std::vector<int>(mNumberOfGlobalParam))
38{
39 // default allowed variations w.r.t. global system coordinates
40 mAllowVar[0] = 0.5; // delta translation in x (cm)
41 mAllowVar[1] = 0.5; // delta translation in y (cm)
42 mAllowVar[2] = 0.01; // rotation angle Rz around z-axis (rad)
43 mAllowVar[3] = 0.5; // delta translation in z (cm)
44
46
47 LOGF(debug, "Aligner instantiated");
48}
49
50//__________________________________________________________________________
52{
53 LOGF(debug, "Aligner destroyed");
54}
Abstract base class for the standalone alignment of MFT.
ClassImp(o2::mft::Aligner)
General class for alignment with large number of degrees of freedom, adapted from AliROOT.
std::ostringstream debug
virtual ~Aligner()
destructor
Definition Aligner.cxx:51
Aligner()
construtor
Definition Aligner.cxx:29
std::vector< int > mGlobalParameterStatus
vector of effective degrees of freedom, used to fix detectors, parameters, etc.
Definition Aligner.h:74
static constexpr int mFreeParId
Definition Aligner.h:79
std::array< double, mNDofPerSensor > mAllowVar
"Encouraged" variation for degrees of freedom {dx, dy, dRz, dz}
Definition Aligner.h:66
Defining DataPointCompositeObject explicitly as copiable.