]> git.uio.no Git - u/mrichter/AliRoot.git/blob - FMD/AliFMDQADataMakerRec.h
coverity + some patch for pp
[u/mrichter/AliRoot.git] / FMD / AliFMDQADataMakerRec.h
1 #ifndef ALIFMDQADATAMAKERREC_H
2 #define ALIFMDQADATAMAKERREC_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights
4  * reserved. 
5  *
6  * See cxx source for full Copyright notice                               
7  */
8 #include "AliQADataMakerRec.h"
9 #include "TClonesArray.h"
10 class TH1F; 
11 class TH1I; 
12 class TList; 
13
14
15 //_____________________________________________________________________
16 // This class implements the AliQADataMakerRec for the FMD. Some
17 // functions are not implemented yet. 
18 // Author : Hans Hjersing Dalsgaard, hans.dalsgaard@cern.ch
19 //_____________________________________________________________________
20
21 class AliFMDQADataMakerRec: public AliQADataMakerRec 
22 {
23 public:
24   /** 
25    * Constructor
26    */
27   AliFMDQADataMakerRec();
28   /** 
29    * Copy constructor 
30    * 
31    * @param qadm What to copy from
32    */
33   AliFMDQADataMakerRec(const AliFMDQADataMakerRec& qadm);
34   /** 
35    * Assignment operator 
36    * 
37    * @param qadm What to assign from 
38    * 
39    * @return Reference to this
40    */
41   AliFMDQADataMakerRec& operator = (const AliFMDQADataMakerRec& qadm) ;
42   /** 
43    * Destrcutor 
44    */
45   virtual ~AliFMDQADataMakerRec();
46 private:
47   static TH1* MakeADCHist(UShort_t d=0, Char_t r='\0', Short_t b=-1);
48   static TH1* MakeELossHist(UShort_t d=0, Char_t r='\0', Short_t b=-1);
49   
50   /** 
51    * Called at end of monitor cycle 
52    * 
53    * @param TASKINDEX_t Task
54    * @param list        Output list
55    */
56   virtual void   EndOfDetectorCycle(AliQAv1::TASKINDEX_t, TObjArray ** list);
57   /** 
58    * Intialize for ESD
59    */
60   virtual void   InitESDs(); 
61   /** 
62    * Intialize for Digits
63    */
64   virtual void   InitDigits(); 
65   /** 
66    * Intialize for RecPoints
67    */
68   virtual void   InitRecPoints(); 
69   /** 
70    * Initialise for raw 
71    */
72   virtual void   InitRaws(); 
73   /** 
74    * Analyse ESD event
75    * 
76    * @param esd ESD event
77    */
78   virtual void   MakeESDs(AliESDEvent * esd);
79   /** 
80    * Analyse digits 
81    */
82   virtual void   MakeDigits(); 
83   /** 
84    * Analyse digits
85    * 
86    * @param digitTree Tree of digits
87    */
88   virtual void   MakeDigits(TTree * digitTree); 
89   /** 
90    * Analyse rec points
91    * 
92    * @param recpoTree Tree of RecPoints
93    */
94   virtual void   MakeRecPoints(TTree * recpoTree); 
95   /** 
96    * Analyse raw 
97    * 
98    * @param rawReader Raw reader
99    */
100   virtual void   MakeRaws(AliRawReader* rawReader); 
101   /** 
102    * Called at start of a cycle 
103    * 
104    */
105   virtual void   StartOfDetectorCycle(); 
106   /** 
107    * Get the half-ring index
108    * 
109    * @param det      Detector
110    * @param ring     Ring
111    * @param board    Board number
112    * @param monitor  Monitor 
113    * 
114    * @return Half ring index
115    */
116   Int_t GetHalfringIndex(UShort_t det, Char_t ring, 
117                          UShort_t board, UShort_t monitor = 0) const;
118   TClonesArray fRecPointsArray; // Rec points
119
120   ClassDef(AliFMDQADataMakerRec,0)  // description 
121 };
122
123 #endif // AliFMDQADataMakerRec_H
124 //____________________________________________________________________
125 //
126 // Local Variables: 
127 //  mode: c++
128 // End:
129 //
130