PandaRoot
PndFTSCATrackPerformanceBase.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: PndFTSCATrackPerformanceBase.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 PNDFTSCATrackPERFORMANCEBASE_H
24 #define PNDFTSCATrackPERFORMANCEBASE_H
25 
26 #include "PndFTSCounters.h"
27 
28 #include "PndFTSPerformanceBase.h"
29 
30 #include "PndFTSCADef.h"
31 #include "PndFTSArray.h"
32 #include "PndFTSCAMCTrack.h"
33 #include "PndFTSCAMCPoint.h"
34 #include <fstream>
35 #include <cstdio>
36 #include <map>
37 
38 #include <string>
39 using std::string;
40 
41 #include <iostream>
42 using std::istream;
43 using std::ostream;
44 
45 class TObject;
46 class TParticle;
47 class PndFTSCAMCPoint;
48 class PndFTSCAGBTracker;
49 class TDirectory;
50 class TH1;
51 
52 class TFile;
53 
57 class PndFTSCATrackPerformanceBase : public PndFTSPerformanceBase {
58  public:
59  PndFTSCATrackPerformanceBase();
60  virtual ~PndFTSCATrackPerformanceBase(){};
61 
63  virtual void CreateHistos(string histoDir = "", TFile *outFile = 0);
64 
65  protected:
66  virtual void FillHistos();
67 
69  enum {
70  NTracksPulls = 10,
71 #if defined(DRIFT_TUBES)
72  NHitsPulls = 5 + 2 + 2,
73 #else
74  NHitsPulls = 5 + 2,
75 #endif
76  NHits2DPulls = 2 + 3 + 3 + 3,
77 
78  NAllHisto = 4,
79  NAllProfiles = 4,
80  NAll2DHisto = 1,
81 
82  NGhostsHisto = 7,
83  NGhostsProfiles = 0,
84  NGhosts2DHisto = 3,
85 
86  NRecoTracksHisto = 9,
87  NRecoTracksProfiles = 14,
88  NRecoTracks2DHisto = 3
89  };
90 };
91 
92 #endif
93 #endif // DO_TPCCATRACKER_EFF_PERFORMANCE
basic_istream< char, char_traits< char > > istream
basic_ostream< char, char_traits< char > > ostream