1.The QA data created on demand according to the event species at filling time. 2...
[u/mrichter/AliRoot.git] / STEER / AliGlobalQADataMaker.h
1 #ifndef ALIGLOBALQADATAMAKER_H
2 #define ALIGLOBALQADATAMAKER_H
3
4 /*
5  The class for calculating the global (not detector specific) quality assurance.
6  It reuses the following TLists from its base class 
7     AliQADataMaker::fRecPointsQAList (for keeping the track residuals)
8     AliQADataMaker::fESDsQAList      (for keeping global ESD QA data)
9 */
10
11 #include "AliQADataMakerRec.h"
12
13 class AliESDEvent;
14
15 class AliGlobalQADataMaker: public AliQADataMakerRec {
16 public:
17   enum {
18     kClr0,kClr1,kClr2,
19     kTrk0,kTrk1,kTrk2,kTrk3,kTrk4,kTrk5,kTrk6,
20     kK0on,kK0off,kL0on,kL0off,
21     kPid0,kPid1,kPid2,
22     kLast
23   };
24   AliGlobalQADataMaker(const Char_t *name="Global", 
25                        const Char_t *title="Global QA data maker"):
26         AliQADataMakerRec(name,title) {;}
27   AliGlobalQADataMaker(const AliQADataMakerRec& qadm):
28         AliQADataMakerRec(qadm) {;}
29
30   void InitRecPointsForTracker() { InitRecPoints(); }
31
32 private:
33         void   EndOfDetectorCycle(AliQAv1::TASKINDEX_t, TObjArray ** list) ;
34
35         void InitRaws(); 
36   void InitRecPoints();
37   void InitESDs();
38   
39         void MakeRaws(AliRawReader* rawReader) ; 
40   void MakeESDs(AliESDEvent *event);
41
42   void StartOfDetectorCycle() {;}
43
44   AliGlobalQADataMaker &operator=(const AliGlobalQADataMaker &qadm);
45
46   ClassDef(AliGlobalQADataMaker,1)  // Global QA 
47 };
48
49 #endif