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
#include "
ITStracking/ROframe.h
"
21
22
namespace
o2
23
{
24
namespace
its
25
{
26
27
template
<
unsigned
int
D>
28
class
Smoother
29
{
30
public
:
31
Smoother
(
TrackITSExt
& track,
size_t
layer
,
const
ROframe
&
event
,
float
bZ,
o2::base::PropagatorF::MatCorrType
corr);
32
~Smoother
();
33
34
bool
isValidInit
()
const
35
{
36
return
mInitStatus;
37
}
38
bool
testCluster
(
const
int
clusterId,
const
ROframe
&
event
);
39
bool
getSmoothedTrack
();
40
float
getChi2
()
const
{
return
mBestChi2; }
41
float
getLastChi2
()
const
{
return
mLastChi2; }
42
43
private
:
44
float
computeSmoothedPredictedChi2(
const
o2::track::TrackParCov
& outwTrack,
45
const
o2::track::TrackParCov
& inwTrack,
46
const
std::array<float, 2>& cls,
47
const
std::array<float, 3>& clCov);
48
bool
smoothTrack();
49
50
private
:
51
size_t
mLayerToSmooth;
// Layer to compute smoothing optimization
52
float
mBz;
// Magnetic field along Z
53
bool
mInitStatus;
// State after the initialization
54
o2::base::PropagatorF::MatCorrType
mCorr;
// Type of correction to use
55
TrackITSExt
mInwardsTrack;
// outwards track: from innermost cluster to outermost
56
TrackITSExt
mOutwardsTrack;
// inwards track: from outermost cluster to innermost
57
float
mBestChi2;
// Best value of local smoothed chi2
58
float
mLastChi2 = 1e8;
// Latest computed chi2
59
};
60
}
// namespace its
61
}
// namespace o2
Track.h
Base track model for the Barrel, params only, w/o covariance.
ROframe.h
Propagator.h
TrackITS.h
Definition of the ITS track.
o2::base::PropagatorImpl< float >::MatCorrType
MatCorrType
Definition
Propagator.h:66
o2::its::ROframe
Definition
ROframe.h:40
o2::its::Smoother
Definition
Smoother.h:29
o2::its::Smoother::~Smoother
~Smoother()
o2::its::Smoother::getSmoothedTrack
bool getSmoothedTrack()
o2::its::Smoother::getChi2
float getChi2() const
Definition
Smoother.h:40
o2::its::Smoother::testCluster
bool testCluster(const int clusterId, const ROframe &event)
Definition
Smoother.cxx:177
o2::its::Smoother::getLastChi2
float getLastChi2() const
Definition
Smoother.h:41
o2::its::Smoother::isValidInit
bool isValidInit() const
Definition
Smoother.h:34
o2::its::TrackITSExt
Definition
TrackITS.h:166
event
struct _cl_event * event
Definition
glcorearb.h:2982
layer
GLenum GLuint GLint GLint layer
Definition
glcorearb.h:1310
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 Tue Feb 25 2025 23:16:20 for Project by
1.9.8