Project
Loading...
Searching...
No Matches
Histos.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_HISTOS_H__
13#define O2_MCH_EVALUATION_HISTOS_H__
14
15#include <array>
16#include <list>
17#include <vector>
18class TH1;
19
20namespace o2::mch
21{
22class TrackParam;
23
24namespace eval
25{
26class ExtendedTrack;
27
29void createHistosAtVertex(std::vector<TH1*>& histos, const char* extension);
30
32void createHistosForClusterResiduals(std::vector<TH1*>& histos, const char* extension, double range);
33
35void createHistosForTrackResiduals(std::vector<TH1*>& histos);
36
38void fillComparisonsAtVertex(std::list<ExtendedTrack>& tracks1, std::list<ExtendedTrack>& tracks2, const std::array<std::vector<TH1*>, 5>& histos);
39
41void fillHistosAtVertex(const std::list<ExtendedTrack>& tracks, const std::vector<TH1*>& histos);
42
44void fillHistosDimuAtVertex(const ExtendedTrack& track1, const ExtendedTrack& track2, const std::vector<TH1*>& histos);
45
47void fillHistosMuAtVertex(const ExtendedTrack& track, const std::vector<TH1*>& histos);
48
50void fillTrackResiduals(const TrackParam& param1, const TrackParam& param2, std::vector<TH1*>& histos);
51
53void fillClusterClusterResiduals(const ExtendedTrack& track1, const ExtendedTrack& track2, std::vector<TH1*>& histos);
54
56void fillClusterTrackResiduals(const std::list<ExtendedTrack>& tracks, std::vector<TH1*>& histos, bool matched);
57} // namespace eval
58} // namespace o2::mch
59
60#endif
GLenum GLint * range
Definition glcorearb.h:1899
void createHistosForTrackResiduals(std::vector< TH1 * > &histos)
Definition Histos.cxx:37
void fillHistosAtVertex(const std::list< ExtendedTrack > &tracks, const std::vector< TH1 * > &histos)
Definition Histos.cxx:73
void fillHistosDimuAtVertex(const ExtendedTrack &track1, const ExtendedTrack &track2, const std::vector< TH1 * > &histos)
Definition Histos.cxx:104
void fillClusterTrackResiduals(const std::list< ExtendedTrack > &tracks, std::vector< TH1 * > &histos, bool matched)
Definition Histos.cxx:196
void createHistosAtVertex(std::vector< TH1 * > &histos, const char *extension)
Definition Histos.cxx:55
void fillComparisonsAtVertex(std::list< ExtendedTrack > &tracks1, std::list< ExtendedTrack > &tracks2, const std::array< std::vector< TH1 * >, 5 > &histos)
Definition Histos.cxx:112
void createHistosForClusterResiduals(std::vector< TH1 * > &histos, const char *extension, double range)
Definition Histos.cxx:23
void fillTrackResiduals(const TrackParam &param1, const TrackParam &param2, std::vector< TH1 * > &histos)
Definition Histos.cxx:161
void fillHistosMuAtVertex(const ExtendedTrack &track, const std::vector< TH1 * > &histos)
Definition Histos.cxx:83
void fillClusterClusterResiduals(const ExtendedTrack &track1, const ExtendedTrack &track2, std::vector< TH1 * > &histos)
Definition Histos.cxx:179