Introducing event specie in QA (Yves)
[u/mrichter/AliRoot.git] / TPC / AliTPCQADataMakerSim.h
CommitLineData
44f32dd2 1#ifndef ALITPCQADATAMAKERSIM_H
2#define ALITPCQADATAMAKERSIM_H
3/* Copyright(c) 1998-2007, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6
7/* $Id: $ */
8
9/*
10 Based on AliPHOSQADataMaker
11 Produces the data needed to calculate the quality assurance.
12 All data must be mergeable objects.
13 P. Christiansen, Lund, January 2008
14*/
15
16
17// --- ROOT system ---
18#include <TH1.h>
19
20// --- Standard library ---
21
22// --- AliRoot header files ---
c94a79e1 23#include <AliLog.h>
44f32dd2 24#include <AliQADataMakerSim.h>
25#include <AliRawReader.h>
26
27#include <AliTPCdataQA.h>
28
29class AliTPCQADataMakerSim: public AliQADataMakerSim {
30
31public:
57acd2d2 32
33 enum HHitType_t {kNhits=0, kElectrons, kRadius, kPrimPerCm, kElectronsPerCm} ;
34 enum HDigitType_t {kDigitsADC=0} ;
44f32dd2 35 AliTPCQADataMakerSim() ; // ctor
36 AliTPCQADataMakerSim(const AliTPCQADataMakerSim& qadm) ;
37 AliTPCQADataMakerSim& operator = (const AliTPCQADataMakerSim& qadm) ;
38 virtual ~AliTPCQADataMakerSim() { ; } // dtor
39
40private:
41 virtual void StartOfDetectorCycle() {}; // empty
57acd2d2 42 virtual void EndOfDetectorCycle(AliQA::TASKINDEX_t, TObjArray** list) ;
44f32dd2 43
44 // Digits QA
45 virtual void InitDigits();
46 virtual void MakeDigits(TTree *digitTree);
ada1d2fe 47 virtual void MakeDigits(TClonesArray *) {AliWarning("Method not implemented\n");}
44f32dd2 48
49 // Hits QA
50 virtual void InitHits();
51 virtual void MakeHits(TTree *hitTree);
ada1d2fe 52 virtual void MakeHits(TClonesArray *) {AliWarning("Method not implemented\n");}
44f32dd2 53
54 // SDigits QA (empty)
77f88633 55 virtual void InitSDigits() {}
ada1d2fe 56 virtual void MakeSDigits(TTree* ) {AliWarning("Method not implemented\n");}
57 virtual void MakeSDigits(TClonesArray* ) {AliWarning("Method not implemented\n");}
44f32dd2 58
44f32dd2 59 ClassDef(AliTPCQADataMakerSim,1) // TPC Sim Quality Assurance Data Maker
60};
61
62#endif // ALITPCQADATAMAKERSIM_H