Macro to perform QA
[u/mrichter/AliRoot.git] / macros / qamaker.C
1 /*
2  *  qamaker.C
3  *  
4  *
5  *  Created by Yves Schutz on 17.10.07.
6  *  Copyright 2007 __CERN__. All rights reserved.
7  *
8  */
9 #if !defined(__CINT__) || defined(__MAKECINT__)
10 #include "TStopwatch.h"
11 #include "AliQA.h"
12 #include "AliQADataMakerSteer.h"
13 #endif
14 void qamaker()
15 {
16         AliQADataMakerSteer qas ; 
17         TStopwatch timer;
18         timer.Start();
19         qas.Run(AliQA::kRAWS, "07000008224001.100.root");
20         qas.Run(AliQA::kHITS);
21         qas.Reset();
22         qas.Run(AliQA::kSDIGITS);
23         qas.Reset();
24         qas.Run(AliQA::kDIGITS);
25         qas.Reset();
26         qas.Run(AliQA::kRECPOINTS);
27         qas.Reset();
28         qas.Run(AliQA::kESDS);
29         timer.Stop();
30         timer.Print();
31 }
32
33
34