New QA classes (Yves)
[u/mrichter/AliRoot.git] / STEER / AliQualAssDataMaker.h
CommitLineData
421ab0fb 1#ifndef ALIQUALASSDATAMAKER_H
2#define ALIQUALASSDATAMAKER_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6
7/* $Id$ */
8
9/*
10 Base Class:
11 Produces the data needed to calculate the quality assurance.
12 All data must be mergeable objects.
13 Y. Schutz CERN July 2007
14*/
15
16
17// --- ROOT system ---
18#include <TNamed.h>
19class TFile;
20
21// --- Standard library ---
22
23// --- AliRoot header files ---
24#include "AliQualAss.h"
25
26class AliQualAssDataMaker: public TNamed {
27
28public:
29
30 AliQualAssDataMaker(const char * name="", const char * title="") ; // ctor
31 AliQualAssDataMaker(const AliQualAssDataMaker& qadm) ;
32 AliQualAssDataMaker& operator = (const AliQualAssDataMaker& qadm) ;
33 virtual ~AliQualAssDataMaker() {;} // dtor
34
35 virtual void Exec(AliQualAss::TASKINDEX) ;
36 void Finish(AliQualAss::TASKINDEX task) const ;
37 static const char * GetDetectorDirName() { return fDetectorDirName.Data() ; }
38 void Init(AliQualAss::TASKINDEX) ;
39 void SetData(TObject * obj) { fData = obj ; }
40
41protected:
42
43 virtual void InitDigits() {AliInfo("To ne implemented by detectors");}
44 virtual void InitESDs() {AliInfo("To ne implemented by detectors");}
45 virtual void InitHits() {AliInfo("To ne implemented by detectors");}
46 virtual void InitRecParticles() {AliInfo("To ne implemented by detectors");}
47 virtual void InitRecPoints() {AliInfo("To ne implemented by detectors");}
48 virtual void InitSDigits() {AliInfo("To ne implemented by detectors");}
49 virtual void InitTrackSegments() {AliInfo("To ne implemented by detectors");}
50 virtual void MakeESDs() {AliInfo("To ne implemented by detectors");}
51 virtual void MakeHits() {AliInfo("To ne implemented by detectors");}
52 virtual void MakeDigits() {AliInfo("To ne implemented by detectors");}
53 virtual void MakeRecParticles() {AliInfo("To ne implemented by detectors");}
54 virtual void MakeRecPoints() {AliInfo("To ne implemented by detectors");}
55 virtual void MakeSDigits() {AliInfo("To ne implemented by detectors");}
56 virtual void MakeTrackSegments() {AliInfo("To ne implemented by detectors");}
57
58 TFile * fOutput ; //! output root file
59 TDirectory * fDetectorDir ; //! directory for the given detector in the file
60 TObject * fData ; //! data container
61 static TString fDetectorDirName ; //! detector directory name in the quality assurance data file
62 ClassDef(AliQualAssDataMaker,1) // description
63
64};
65
66#endif // AliQualAssDataMaker_H