Fixing the AddTask
[u/mrichter/AliRoot.git] / CORRFW / AliCFCutBase.h
CommitLineData
563113d0 1#ifndef ALICFCUTBASE_H
2#define ALICFCUTBASE_H
3/**************************************************************************
4 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * *
6 * Author: The ALICE Off-line Project. *
7 * Contributors are mentioned in the code where appropriate. *
8 * *
9 * Permission to use, copy, modify and distribute this software and its *
10 * documentation strictly for non-commercial purposes is hereby granted *
11 * without fee, provided that the above copyright notice appears in all *
12 * copies and that both the copyright notice and this permission notice *
13 * appear in the supporting documentation. The authors make no claims *
14 * about the suitability of this software for any purpose. It is *
15 * provided "as is" without express or implied warranty. *
16 **************************************************************************/
17// Base class for selecton classes for the correction framework
18// Inherits from AliAnalysisCuts. It includes additional methods to handle QA
19// histograms and if needed, study the cut statistics & correlations
20// Author S.Arcelli
21// silvia.Arcelli@cern.ch
22
23#include <AliAnalysisCuts.h>
24class TBits;
25class TList;
26//___________________________________________________________________________
27class AliCFCutBase : public AliAnalysisCuts
28{
29 public:
30 AliCFCutBase(); //default ctor
31 AliCFCutBase(const char* name, const char* title); //ctor
32 AliCFCutBase(const AliCFCutBase& obj); //copy ctor
33 virtual ~AliCFCutBase() {;} //dtor
34 virtual Bool_t IsQAOn() const {return fIsQAOn;}; //QA flag getter
107a3100 35 virtual void SetQAOn(TList* list) {fIsQAOn=kTRUE; AddQAHistograms(list);} //QA flag setter
0c01ae65 36 virtual void SetMCEventInfo(const TObject *) {} //Pass pointer to MC event
37 virtual void SetRecEventInfo(const TObject *) {} //Pass pointer to reconstructed event
107a3100 38
39 protected:
563113d0 40 Bool_t fIsQAOn;//qa checking on/off
107a3100 41 virtual void AddQAHistograms(TList*) {;}; //QA Histos
42
563113d0 43 ClassDef(AliCFCutBase, 1); // Base class for Correction Framework Cuts
44};
45
46#endif