Merge branch 'master' into TPCdev
[u/mrichter/AliRoot.git] / STEER / STEER / AliGlobalQADataMaker.h
CommitLineData
c0af1be2 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
04236e67 11#include "AliQADataMakerRec.h"
c0af1be2 12
13class AliESDEvent;
14
04236e67 15class AliGlobalQADataMaker: public AliQADataMakerRec {
c0af1be2 16public:
542c6c71 17 enum {
dfbcf2c1 18 kEvt0,
2937b8ff 19 kClr0,kClr1,kClr2,kClr3,
8336b059 20 kTrk0,kTrk1,kTrk2,kTrk3,kTrk4,kTrk5,kTrk6,kTrk7,kTrk8,kTrk9,kTrk10,
b72280b3 21 kK0on,kK0off,kL0on,kL0off,
2937b8ff 22 kPid0,kPid1,kPid2,kPid3,
23 kMlt0,kMlt1,
542c6c71 24 kLast
25 };
c0af1be2 26 AliGlobalQADataMaker(const Char_t *name="Global",
27 const Char_t *title="Global QA data maker"):
fb774831 28 AliQADataMakerRec(name,title) {;}
04236e67 29 AliGlobalQADataMaker(const AliQADataMakerRec& qadm):
fb774831 30 AliQADataMakerRec(qadm) {;}
c0af1be2 31
eca4fa66 32 void InitRecPointsForTracker() { InitRecPoints(); }
85ca11dd 33 void InitRecPoints();
34 void InitESDs();
eca4fa66 35
fb774831 36private:
4e25ac79 37 void EndOfDetectorCycle(AliQAv1::TASKINDEX_t, TObjArray ** list) ;
fb774831 38
39 void InitRaws();
eca4fa66 40
f14c8c46 41 void InitRecoParams() ;
42
fb774831 43 void MakeRaws(AliRawReader* rawReader) ;
d7259b2e 44 void MakeESDs(AliESDEvent *event);
c0af1be2 45
46 void StartOfDetectorCycle() {;}
47
c0af1be2 48 AliGlobalQADataMaker &operator=(const AliGlobalQADataMaker &qadm);
49
50 ClassDef(AliGlobalQADataMaker,1) // Global QA
51};
52
53#endif