CbmRoot
Loading...
Searching...
No Matches
AnalysisFilter.h
Go to the documentation of this file.
1#ifndef ANALYSISFILTER_H
2#define ANALYSISFILTER_H
3
4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6
7#include <THashList.h>
8#include <TNamed.h>
9
10class AnalysisCuts;
11class TList;
12class PairAnalysisHistos;
13//class THashList;
14
15class AnalysisFilter : public TNamed {
16public:
18 AnalysisFilter(const char* name, const char* title = "AnalysisFilter");
21 virtual ~AnalysisFilter();
22 virtual UInt_t IsSelected(Double_t* const values);
23 virtual UInt_t IsSelected(TObject* obj);
24 virtual UInt_t IsSelected(TList* obj);
25 virtual Bool_t IsSelected(char* name);
26 virtual void AddCuts(AnalysisCuts* cuts);
27 virtual void Init();
28 TList* GetCuts() const { return fCuts; }
29
30 THashList* GetHistogramList() { return &fHistos; }
31 void AddHistos(PairAnalysisHistos* histos);
32 //
33 // virtual void Print(Option_t *option="") const;
34
35private:
36 TList* fCuts; // List of cuts
37 THashList fHistos; //-> list of histograms
38 ClassDef(AnalysisFilter, 2); // Manager class for filter decisions
39};
40
41#endif
ClassDef(AnalysisFilter, 2)
TList * GetCuts() const
AnalysisFilter & operator=(const AnalysisFilter &other)
THashList * GetHistogramList()
virtual void Init()
THashList fHistos
virtual void AddCuts(AnalysisCuts *cuts)
void AddHistos(PairAnalysisHistos *histos)
virtual UInt_t IsSelected(Double_t *const values)
virtual ~AnalysisFilter()