Project
Loading...
Searching...
No Matches
TrackMFT.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
16
19#include "Framework/Logger.h"
20#include "MathUtils/Utils.h"
21
22namespace o2
23{
24namespace mft
25{
26
27
28//__________________________________________________________________________
29void TrackMFT::print() const
30{
32 LOG(info) << "TrackMFT: p =" << std::setw(5) << std::setprecision(3) << getP()
33 << " Tanl = " << std::setw(5) << std::setprecision(3) << getTanl()
34 << " phi = " << std::setw(5) << std::setprecision(3) << getPhi()
35 << " pz = " << std::setw(5) << std::setprecision(3) << getPz()
36 << " pt = " << std::setw(5) << std::setprecision(3) << getPt()
37 << " charge = " << std::setw(5) << std::setprecision(3) << getCharge()
38 << " chi2 = " << std::setw(5) << std::setprecision(3) << getTrackChi2() << std::endl;
39}
40
41
42} // namespace mft
43} // namespace o2
General auxilliary methods.
useful math constants
void print() const
Definition TrackMFT.cxx:29
Double_t getTanl() const
Definition TrackFwd.h:72
Double_t getPt() const
Definition TrackFwd.h:78
Double_t getTrackChi2() const
return the chi2 of the track when the associated cluster was attached
Definition TrackFwd.h:113
Double_t getPhi() const
Definition TrackFwd.h:56
Double_t getP() const
Definition TrackFwd.h:83
Double_t getCharge() const
return the charge (assumed forward motion)
Definition TrackFwd.h:96
Double_t getPz() const
Definition TrackFwd.h:82
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
LOG(info)<< "Compressed in "<< sw.CpuTime()<< " s"