ROOT logo
#ifndef ALIVEVENTPOOL_H
#define ALIVEVENTPOOL_H
 
/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
 * See cxx source for full Copyright notice                               */

/* $Id: AliAnalysisCuts.h 25775 2008-05-15 08:08:39Z morsch $ */

// Base class for event pool.
// This class is needed by the AnalysisManager to steer a mixing analysis.
// Author Andreas Morsch
// andreas.morsch@cern.ch

#include <TNamed.h>
class TChain;

class AliVEventPool : public TNamed
{
 public:
    AliVEventPool();
    AliVEventPool(const char* name, const char* title);

    virtual ~AliVEventPool() {;}
    // Interface
    virtual TChain* GetNextChain()                 = 0;
    virtual void   GetCurrentBin(Float_t* /*bin*/) = 0;
    virtual Int_t  GetDimension()                  = 0;
    virtual void   Init()                          = 0;
    virtual Int_t  BinNumber() const               = 0;
    // Basic functionality
    virtual void SetChain(TChain* chain) {fChain = chain;}
    AliVEventPool(const AliVEventPool& obj);
    AliVEventPool& operator=(const AliVEventPool& other);
 protected:
    TChain* fChain;   // Chain of trees
    ClassDef(AliVEventPool, 1); 
};
 
#endif
 AliVEventPool.h:1
 AliVEventPool.h:2
 AliVEventPool.h:3
 AliVEventPool.h:4
 AliVEventPool.h:5
 AliVEventPool.h:6
 AliVEventPool.h:7
 AliVEventPool.h:8
 AliVEventPool.h:9
 AliVEventPool.h:10
 AliVEventPool.h:11
 AliVEventPool.h:12
 AliVEventPool.h:13
 AliVEventPool.h:14
 AliVEventPool.h:15
 AliVEventPool.h:16
 AliVEventPool.h:17
 AliVEventPool.h:18
 AliVEventPool.h:19
 AliVEventPool.h:20
 AliVEventPool.h:21
 AliVEventPool.h:22
 AliVEventPool.h:23
 AliVEventPool.h:24
 AliVEventPool.h:25
 AliVEventPool.h:26
 AliVEventPool.h:27
 AliVEventPool.h:28
 AliVEventPool.h:29
 AliVEventPool.h:30
 AliVEventPool.h:31
 AliVEventPool.h:32
 AliVEventPool.h:33
 AliVEventPool.h:34
 AliVEventPool.h:35
 AliVEventPool.h:36
 AliVEventPool.h:37
 AliVEventPool.h:38
 AliVEventPool.h:39