]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Change of interface.
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 23 May 2008 12:57:52 +0000 (12:57 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 23 May 2008 12:57:52 +0000 (12:57 +0000)
ANALYSIS/AliVEventPool.cxx
ANALYSIS/AliVEventPool.h

index f554f00b8c17578498f77fad9789c02f2e525c03..4219da8f27f45064b6ee9f62e46f2b0dbadea7de 100644 (file)
@@ -29,18 +29,17 @@ ClassImp(AliVEventPool)
 ////////////////////////////////////////////////////////////////////////
 
 AliVEventPool::AliVEventPool():
-    TNamed()
+    TNamed(),
+    fChain(0)
 {
   // Default constructor
 }
 
 AliVEventPool::AliVEventPool(const char* name, const char* title):
-    TNamed(name, title)
+    TNamed(name, title), 
+    fChain()
 {
   // Constructor
 }
 
-AliVEventPool::AliVEventPool(const AliVEventPool& obj):
-    TNamed(obj)
-{
-}
+
index fed37d45f70b6e108c57cc5440b3e33cfc402992..08cb1f5a27cae83911dbcb64de4595f4b90be27c 100644 (file)
@@ -19,12 +19,19 @@ class AliVEventPool : public TNamed
  public:
     AliVEventPool();
     AliVEventPool(const char* name, const char* title);
-    AliVEventPool(const AliVEventPool& obj);  
+
     virtual ~AliVEventPool() {;}
-    virtual void  GetNextChain(TChain* /*chain*/) = 0;
+    // Interface
+    virtual TChain* GetNextChain()                = 0;
     virtual void  GetCurrentBin(Float_t* /*bin*/) = 0;
     virtual Int_t GetDimension()                  = 0;
+    // Basic functionality
+    virtual void SetChain(TChain* chain) {fChain = chain;}
  private:
+    AliVEventPool(const AliVEventPool& obj);
+    AliVEventPool& operator=(const AliVEventPool& other);
+ protected:
+    TChain* fChain;   // Chain of trees
     ClassDef(AliVEventPool, 0); 
 };