Project
Loading...
Searching...
No Matches
Smoother.h
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
//
16
17
#include "
ReconstructionDataFormats/Track.h
"
18
#include "
DataFormatsITS/TrackITS.h
"
19
#include "
DetectorsBase/Propagator.h
"
20
21
namespace
o2
22
{
23
namespace
its
24
{
25
26
template
<
unsigned
int
D>
27
class
Smoother
28
{
29
public
:
30
// Smoother(TrackITSExt& track, size_t layer, const ROframe& event, float bZ, o2::base::PropagatorF::MatCorrType corr);
31
~Smoother
();
32
33
bool
isValidInit
()
const
34
{
35
return
mInitStatus;
36
}
37
// bool testCluster(const int clusterId, const ROframe& event);
38
bool
getSmoothedTrack
();
39
float
getChi2
()
const
{
return
mBestChi2; }
40
float
getLastChi2
()
const
{
return
mLastChi2; }
41
42
private
:
43
float
computeSmoothedPredictedChi2(
const
o2::track::TrackParCov
& outwTrack,
44
const
o2::track::TrackParCov
& inwTrack,
45
const
std::array<float, 2>& cls,
46
const
std::array<float, 3>& clCov);
47
bool
smoothTrack();
48
49
private
:
50
size_t
mLayerToSmooth;
// Layer to compute smoothing optimization
51
float
mBz;
// Magnetic field along Z
52
bool
mInitStatus;
// State after the initialization
53
o2::base::PropagatorF::MatCorrType
mCorr;
// Type of correction to use
54
TrackITSExt
mInwardsTrack;
// outwards track: from innermost cluster to outermost
55
TrackITSExt
mOutwardsTrack;
// inwards track: from outermost cluster to innermost
56
float
mBestChi2;
// Best value of local smoothed chi2
57
float
mLastChi2 = 1e8;
// Latest computed chi2
58
};
59
}
// namespace its
60
}
// namespace o2
Track.h
Base track model for the Barrel, params only, w/o covariance.
Propagator.h
TrackITS.h
Definition of the ITS track.
o2::base::PropagatorImpl< float >::MatCorrType
MatCorrType
Definition
Propagator.h:66
o2::its::Smoother
Definition
Smoother.h:28
o2::its::Smoother::~Smoother
~Smoother()
o2::its::Smoother::getSmoothedTrack
bool getSmoothedTrack()
o2::its::Smoother::getChi2
float getChi2() const
Definition
Smoother.h:39
o2::its::Smoother::getLastChi2
float getLastChi2() const
Definition
Smoother.h:40
o2::its::Smoother::isValidInit
bool isValidInit() const
Definition
Smoother.h:33
o2::its::TrackITSExt
Definition
TrackITS.h:166
o2::track::TrackParCov
TrackParCovF TrackParCov
Definition
Track.h:33
o2
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
Definition
BitstreamReader.h:24
Detectors
ITSMFT
ITS
tracking
include
ITStracking
Smoother.h
Generated on Sat Jul 19 2025 07:03:28 for Project by
1.9.8