PandaRoot
PndCATrackPerformanceBase.h
Go to the documentation of this file.
1 //****************************************************************************
2 //* This file is part of PandaRoot. *
3 //* *
4 //* PandaRoot is distributed under the terms of the *
5 //* GNU General Public License (GPL) version 3, *
6 //* copied verbatim in the file "LICENSE". *
7 //* *
8 //* Copyright (C) 2006 - 2024 FAIR GmbH and copyright holders of PandaRoot *
9 //* The copyright holders are listed in the file "COPYRIGHTHOLDERS". *
10 //* The authors are listed in the file "AUTHORS". *
11 //****************************************************************************
12 
13 //-*- Mode: C++ -*-
14 // $Id: PndCATrackPerformanceBase.h,v 1.10 2010/09/01 10:38:27 ikulakov Exp $
15 // ************************************************************************
16 // This file is property of and copyright by the ALICE HLT Project *
17 // ALICE Experiment at CERN, All rights reserved. *
18 // See cxx source for full Copyright notice *
19 // *
20 //*************************************************************************
21 #ifdef DO_TPCCATRACKER_EFF_PERFORMANCE
22 
23 #ifndef PNDCATRACKPERFORMANCEBASE_H
24 #define PNDCATRACKPERFORMANCEBASE_H
25 
26 #include "PndCACounters.h"
27 
28 #include "PndCAPerformanceBase.h"
29 
30 #include "PndCADef.h"
31 #include "PndCAMCTrack.h"
32 #include "PndCAMCPoint.h"
33 #include <fstream>
34 #include <cstdio>
35 #include <map>
36 
37 #include <string>
38 using std::string;
39 
40 #include <iostream>
41 using std::istream;
42 using std::ostream;
43 
44 class TObject;
45 class TParticle;
46 class PndCAMCPoint;
47 class TDirectory;
48 class TH1;
49 
50 class TFile;
51 
55 class PndCATrackPerformanceBase : public PndCAPerformanceBase {
56  public:
57  PndCATrackPerformanceBase();
58  virtual ~PndCATrackPerformanceBase(){};
59 
61  virtual void CreateHistos(string histoDir = "", TFile *outFile = 0);
62 
63  protected:
64  virtual void FillHistos();
65 
67  enum {
68  NTracksPulls = 10,
69  NHitsPulls = 5 + 2,
70  NHits2DPulls = 3 + 3 + 3,
71 
72  NAllHisto = 4,
73  NAllProfiles = 4,
74  NAll2DHisto = 1,
75 
76  NGhostsHisto = 7,
77  NGhostsProfiles = 0,
78  NGhosts2DHisto = 3,
79 
80  NRecoTracksHisto = 9,
81  NRecoTracksProfiles = 14,
82  NRecoTracks2DHisto = 3
83  };
84 };
85 
86 #endif
87 #endif // DO_TPCCATRACKER_EFF_PERFORMANCE
basic_istream< char, char_traits< char > > istream
basic_ostream< char, char_traits< char > > ostream