]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/EVE/AliHLTEveTPC.h
- adding class for merging histograms from different components
[u/mrichter/AliRoot.git] / HLT / EVE / AliHLTEveTPC.h
1 /* This file is property of and copyright by the ALICE HLT Project        *
2  * ALICE Experiment at CERN, All rights reserved.                         *
3  * See cxx source for full Copyright notice                               */
4
5 /// @file   AliHLTEveCalo.h
6 /// @author Svein Lindal
7 /// @brief  TPC Instance of Eve display processor
8
9 #ifndef ALIHLTEVETPC_H
10 #define ALIHLTEVETPC_H
11
12 #include "AliHLTEveBase.h"
13 class TEvePointSetArray;
14 class TEvePointSet;
15 class TH1F;
16
17 class AliHLTEveTPC : public AliHLTEveBase {
18
19 public:
20   
21   /** Constructor  **/
22   AliHLTEveTPC();
23
24   /** Destructor **/
25  ~AliHLTEveTPC();
26   
27   void ProcessBlock(AliHLTHOMERBlockDesc * block);
28
29   /** inherited from AliHLTEveBase */
30   void UpdateElements();
31   
32   /** inherited from AliHLTEveBase */
33   void ResetElements();
34
35 private:
36
37   /** copy constructor prohibited */
38   AliHLTEveTPC(const AliHLTEveTPC&);
39   /** assignment operator prohibited */
40   AliHLTEveTPC& operator = (const AliHLTEveTPC );
41
42   /** Create point set for clusters */
43   TEvePointSet * CreatePointSet();
44   /** Create point set array for colour coded clusters */
45   TEvePointSetArray * CreatePointSetArray();
46
47   /** Process clusters block */
48   Int_t ProcessClusters( AliHLTHOMERBlockDesc * block, TEvePointSet * cont, TEvePointSetArray * contCol );
49
50   /** Draw the TPC histograms */
51   void DrawHistograms();
52
53   TEvePointSet * fEveClusters;          //Clusters pointset
54   TEvePointSetArray * fEveColClusters;  //Color coded clusters pointset
55   const Int_t fNColorBins;             //Number of colorbins for the colored clusters
56
57   TH1F * fHistCharge;                  //Histo
58   TH1F * fHistQMax;                    //Histo
59   TH1F * fHistQMaxOverCharge;          //Histo
60
61   ClassDef(AliHLTEveTPC, 0);
62
63 };
64
65 #endif