]>
Commit | Line | Data |
---|---|---|
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> | |
24 | class TBits; | |
25 | class TList; | |
26 | //___________________________________________________________________________ | |
27 | class 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 |
563113d0 | 36 | virtual void SetEvtInfo(TObject *) {;}; //Pass pointer to event-level info |
107a3100 | 37 | |
38 | protected: | |
563113d0 | 39 | Bool_t fIsQAOn;//qa checking on/off |
107a3100 | 40 | virtual void AddQAHistograms(TList*) {;}; //QA Histos |
41 | ||
563113d0 | 42 | ClassDef(AliCFCutBase, 1); // Base class for Correction Framework Cuts |
43 | }; | |
44 | ||
45 | #endif |