RelVal: more retries w/pauses on VM + small fixes
[u/mrichter/AliRoot.git] / ANALYSIS / AliAnalysisCuts.h
CommitLineData
7c38d6ee 1#ifndef ALIANALYSISCUTS_H
2#define ALIANALYSISCUTS_H
3
4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6
1b398ab4 7/* $Id$ */
8
7c38d6ee 9// Base class for analysis cuts
10// Author Andreas Morsch
11// andreas.morsch@cern.ch
12
852a054d 13#include "AliVCuts.h"
14
264ebaac 15class TList;
65c32554 16class TCollection;
7c38d6ee 17
852a054d 18class AliAnalysisCuts : public AliVCuts
7c38d6ee 19{
20 public:
21 AliAnalysisCuts();
22 AliAnalysisCuts(const char* name, const char* title);
16a495ef 23 AliAnalysisCuts(const AliAnalysisCuts& obj);
24 AliAnalysisCuts& operator=(const AliAnalysisCuts& obj);
7c38d6ee 25 virtual ~AliAnalysisCuts() {;}
9eeae5d5 26 virtual Bool_t IsSelected(TObject* /* obj */ ) {return kFALSE;}
27 virtual Bool_t IsSelected(TList* /* list */ ) = 0;
1b398ab4 28 virtual void Init() {;}
c54360e6 29 virtual void SetFilterMask(UInt_t mask) {fFilterMask = mask;}
a710e44a 30 virtual UInt_t GetFilterMask() const {return fFilterMask;}
31 virtual void SetSelected(Bool_t dec) {fSelected = dec;}
32 virtual UInt_t Selected() const {return fSelected;}
65c32554 33 virtual Long64_t Merge(TCollection* /* list */) { return 0; }
34 virtual TList* GetOutput() { return 0; }
2d45a1a7 35 virtual TObject *GetStatistics(Option_t *) const {return 0;}
7c38d6ee 36 private:
c54360e6 37 UInt_t fFilterMask; // Mask to use one of the previous decisions inside a filter
a710e44a 38 Bool_t fSelected; // Final decision on selction
852a054d 39 ClassDef(AliAnalysisCuts, 5); // Base class for filter decisions on ESD objects
7c38d6ee 40};
41
42#endif