]> git.uio.no Git - u/mrichter/AliRoot.git/blame - ANALYSIS/AliVEventPool.h
Copy and =operator implemented
[u/mrichter/AliRoot.git] / ANALYSIS / AliVEventPool.h
CommitLineData
c2922515 1#ifndef ALIVEVENTPOOL_H
2#define ALIVEVENTPOOL_H
3
4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6
7/* $Id: AliAnalysisCuts.h 25775 2008-05-15 08:08:39Z morsch $ */
8
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
13
14#include <TNamed.h>
15class TChain;
16
17class AliVEventPool : public TNamed
18{
19 public:
20 AliVEventPool();
21 AliVEventPool(const char* name, const char* title);
3854bbec 22
c2922515 23 virtual ~AliVEventPool() {;}
3854bbec 24 // Interface
25 virtual TChain* GetNextChain() = 0;
c2922515 26 virtual void GetCurrentBin(Float_t* /*bin*/) = 0;
27 virtual Int_t GetDimension() = 0;
3854bbec 28 // Basic functionality
29 virtual void SetChain(TChain* chain) {fChain = chain;}
c2922515 30 private:
3854bbec 31 AliVEventPool(const AliVEventPool& obj);
32 AliVEventPool& operator=(const AliVEventPool& other);
33 protected:
34 TChain* fChain; // Chain of trees
c2922515 35 ClassDef(AliVEventPool, 0);
36};
37
38#endif