remove obselete clean QA macros command
[u/mrichter/AliRoot.git] / PWG1 / AliComparisonObject.h
CommitLineData
3baa4bfd 1#ifndef ALICOMPARISONOBJECT_H\r
2#define ALICOMPARISONOBJECT_H\r
3\r
4//------------------------------------------------------------------------------\r
5// Abstract class to keep information from comparison of \r
6// reconstructed and MC particle tracks. \r
7// \r
8// Author: J.Otwinowski 04/14/2008 \r
9//------------------------------------------------------------------------------\r
10\r
11#include "TNamed.h"\r
12#include "TFolder.h"\r
13\r
14class AliMCInfo;\r
15class AliESDRecInfo;\r
16\r
17class AliComparisonObject : public TNamed {\r
18public :\r
19 AliComparisonObject(); \r
71a14197 20 AliComparisonObject(const char* name="AliComparisonObject", const char* title="AliComparisonObject"); \r
3baa4bfd 21 virtual ~AliComparisonObject();\r
22\r
23 // Init data members\r
24 // call once before event loop\r
25 virtual void Init() = 0;\r
26\r
27 // Execute analysis\r
28 // call in the event loop \r
71a14197 29 virtual void Exec(AliMCInfo* const infoMC=0, AliESDRecInfo* const infoRC=0) = 0;\r
3baa4bfd 30\r
31 // Merge output objects (needed by PROOF) \r
71a14197 32 virtual Long64_t Merge(TCollection* const list=0) = 0;\r
3baa4bfd 33\r
34 // Analyse output histograms\r
35 virtual void Analyse() = 0;\r
36\r
37 // Get output folder for analysed histograms\r
71a14197 38 virtual TFolder* GetAnalysisFolder() const = 0;\r
39\r
40 // set and get analysisMode\r
41 void SetAnalysisMode(Int_t analysisMode=0) {fAnalysisMode = analysisMode;} \r
42 Int_t GetAnalysisMode() {return fAnalysisMode;}\r
43\r
44 // set and get hpt generator \r
45 void SetHptGenerator(Bool_t hptGenerator=kFALSE) {fHptGenerator = hptGenerator;}\r
46 Bool_t IsHptGenerator() {return fHptGenerator;}\r
47\r
48protected: \r
49\r
50 // analysis mode\r
51 Int_t fAnalysisMode; // 0-TPC, 1-TPCITS, 2-Constrained\r
52\r
53 // hpt generator\r
54 Bool_t fHptGenerator; // hpt event generator\r
3baa4bfd 55\r
56 ClassDef(AliComparisonObject,1);\r
57};\r
58\r
59#endif\r