Project
Loading...
Searching...
No Matches
CompareTracks.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
12#ifndef O2_MCH_EVALUATION_COMPARE_TRACKS_H__
13#define O2_MCH_EVALUATION_COMPARE_TRACKS_H__
14
16#include <TMatrixDfwd.h>
17#include <array>
18#include <list>
19#include <vector>
20
21class TH1;
22
23namespace o2::mch::eval
24{
25int compareEvents(std::list<ExtendedTrack>& tracks1, std::list<ExtendedTrack>& tracks2,
26 double precision, bool printDiff, bool printAll,
27 std::vector<TH1*>& trackResidualsAtFirstCluster,
28 std::vector<TH1*>& clusterClusterResiduals);
29
30bool areCompatible(const TrackParam& param1, const TrackParam& param2, double precision);
31
32bool areCompatible(const TMatrixD& cov1, const TMatrixD& cov2, double precision);
33
34void selectTracks(std::list<ExtendedTrack>& tracks);
35} // namespace o2::mch::eval
36
37#endif
GLenum GLint GLint * precision
Definition glcorearb.h:1899
bool areCompatible(const TrackParam &param1, const TrackParam &param2, double precision)
void selectTracks(std::list< ExtendedTrack > &tracks)
int compareEvents(std::list< ExtendedTrack > &tracks1, std::list< ExtendedTrack > &tracks2, double precision, bool printDiff, bool printAll, std::vector< TH1 * > &trackResidualsAtFirstCluster, std::vector< TH1 * > &clusterClusterResiduals)