Project
Loading...
Searching...
No Matches
TrackHMP.h
Go to the documentation of this file.
1// Copyright 2020-2022 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
12#ifndef ALICEO2_TRACKHMP_H
13#define ALICEO2_TRACKHMP_H
14
15#include "TMath.h"
16#include "TVector2.h"
17
23
24// #include "HMPIDBase/Param.h" // for param
25
26namespace o2
27{
28namespace dataformats
29{
30
32{
33 public:
35 TrackHMP(const TrackHMP& t) = default;
36 TrackHMP(const o2::track::TrackParCov& t) : o2::track::TrackParCov{t} {};
37 // TrackHMP(const o2::track::TrackParCov& t);
39 ~TrackHMP() = default;
40
41 Bool_t intersect(Double_t pnt[3], Double_t norm[3], double bz) const; //
42 void propagate(Double_t len, std::array<float, 3>& x, std::array<float, 3>& p, double bz) const;
43
44 // protected:
45 // Bool_t Update(const AliCluster */*c*/, Double_t /*chi2*/, Int_t /*idx*/) {return 0;}
46 // Double_t GetPredictedChi2(const AliCluster */*c*/) const {return 0.;}
47 private:
48 ClassDef(TrackHMP, 1) // HMPID reconstructed tracks
49};
50
51} // namespace dataformats
52} // namespace o2
53
54#endif
Base track model for the Barrel, params only, w/o covariance.
Global index for barrel track: provides provenance (detectors combination), index in respective array...
o2::track::TrackParCov TrackParCov
Definition Recon.h:39
Track Length and TOF integral.
void propagate(Double_t len, std::array< float, 3 > &x, std::array< float, 3 > &p, double bz) const
Definition TrackHMP.cxx:96
TrackHMP(const TrackHMP &t)=default
TrackHMP(const o2::track::TrackParCov &t)
Definition TrackHMP.h:36
Bool_t intersect(Double_t pnt[3], Double_t norm[3], double bz) const
Definition TrackHMP.cxx:50
TrackHMP & operator=(const o2::track::TrackParCov &t)
Definition TrackHMP.cxx:43
GLint GLenum GLint x
Definition glcorearb.h:403
GLenum GLenum GLsizei len
Definition glcorearb.h:4232
TrackParCovF TrackParCov
Definition Track.h:33
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...