Macro to perform QA
authorschutz <schutz@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 7 Nov 2007 10:45:37 +0000 (10:45 +0000)
committerschutz <schutz@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 7 Nov 2007 10:45:37 +0000 (10:45 +0000)
macros/qamaker.C [new file with mode: 0644]

diff --git a/macros/qamaker.C b/macros/qamaker.C
new file mode 100644 (file)
index 0000000..09a4fef
--- /dev/null
@@ -0,0 +1,34 @@
+/*
+ *  qamaker.C
+ *  
+ *
+ *  Created by Yves Schutz on 17.10.07.
+ *  Copyright 2007 __CERN__. All rights reserved.
+ *
+ */
+#if !defined(__CINT__) || defined(__MAKECINT__)
+#include "TStopwatch.h"
+#include "AliQA.h"
+#include "AliQADataMakerSteer.h"
+#endif
+void qamaker()
+{
+       AliQADataMakerSteer qas ; 
+       TStopwatch timer;
+       timer.Start();
+       qas.Run(AliQA::kRAWS, "07000008224001.100.root");
+       qas.Run(AliQA::kHITS);
+       qas.Reset();
+       qas.Run(AliQA::kSDIGITS);
+       qas.Reset();
+       qas.Run(AliQA::kDIGITS);
+       qas.Reset();
+       qas.Run(AliQA::kRECPOINTS);
+       qas.Reset();
+       qas.Run(AliQA::kESDS);
+       timer.Stop();
+       timer.Print();
+}
+
+
+