]> git.uio.no Git - u/mrichter/AliRoot.git/blame - CORRFW/AliCFCutBase.h
Create the rec-point branch even in the case of no digits. Please review and fix...
[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
35 virtual void SetQAOn(Bool_t flagQA) {fIsQAOn=flagQA;}; //QA flag setter
36 virtual void FillHistogramsBeforeCuts(TObject* ) {;}; //QA histos
37 virtual void FillHistogramsAfterCuts(TObject* ) {;}; //QA histos
38 virtual void DefineHistograms(){;}; //QA histos
39 virtual void AddQAHistograms(TList*) const {;}; //QA Histos
40 virtual void GetBitMap(TObject*, TBits*){;} //selection bitmap
41 virtual void SetEvtInfo(TObject *) {;}; //Pass pointer to event-level info
42 protected:
43 Bool_t fIsQAOn;//qa checking on/off
44 private:
45 ClassDef(AliCFCutBase, 1); // Base class for Correction Framework Cuts
46};
47
48#endif