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
20
21namespace o2
22{
23namespace its
24{
25
26template <unsigned int D>
28{
29 public:
30 // Smoother(TrackITSExt& track, size_t layer, const ROframe& event, float bZ, o2::base::PropagatorF::MatCorrType corr);
32
33 bool isValidInit() const
34 {
35 return mInitStatus;
36 }
37 // bool testCluster(const int clusterId, const ROframe& event);
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
Base track model for the Barrel, params only, w/o covariance.
Definition of the ITS track.
float getChi2() const
Definition Smoother.h:39
float getLastChi2() const
Definition Smoother.h:40
bool isValidInit() const
Definition Smoother.h:33
TrackParCovF TrackParCov
Definition Track.h:33
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...