1 #ifndef ALIVEVENTPOOL_H
2 #define ALIVEVENTPOOL_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
7 /* $Id: AliAnalysisCuts.h 25775 2008-05-15 08:08:39Z morsch $ */
9 // Base class for event pool.
10 // This class is needed by the AnalysisManager to steer a mixing analysis.
11 // Author Andreas Morsch
12 // andreas.morsch@cern.ch
17 class AliVEventPool : public TNamed
21 AliVEventPool(const char* name, const char* title);
23 virtual ~AliVEventPool() {;}
25 virtual TChain* GetNextChain() = 0;
26 virtual void GetCurrentBin(Float_t* /*bin*/) = 0;
27 virtual Int_t GetDimension() = 0;
28 virtual void Init() = 0;
29 virtual Int_t BinNumber() const = 0;
30 // Basic functionality
31 virtual void SetChain(TChain* chain) {fChain = chain;}
32 AliVEventPool(const AliVEventPool& obj);
33 AliVEventPool& operator=(const AliVEventPool& other);
35 TChain* fChain; // Chain of trees
36 ClassDef(AliVEventPool, 1);