]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Reset() part of the interface.
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 6 Nov 2009 09:02:41 +0000 (09:02 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 6 Nov 2009 09:02:41 +0000 (09:02 +0000)
STEER/AliAODEvent.h
STEER/AliMCEvent.h
STEER/AliVEvent.h

index 661fe7c5150778225b01c4450d96050bea704b64..24b386e89bad169310451f6040244437ff629017 100644 (file)
@@ -190,6 +190,7 @@ class AliAODEvent : public AliVEvent {
                   Int_t pmdClusSize = 0
                   );
   void    ClearStd();
+  void    Reset() {ClearStd();} 
   void    ReadFromTree(TTree *tree, Option_t* opt = "");
   void    WriteToTree(TTree* tree) const {tree->Branch(fAODObjects);}
 
index ab584cf4126331ba9ebf1cd70ae06541f1cb5dbd..c846ee63abb401d8b58943217f881eec453bb320 100644 (file)
@@ -48,11 +48,12 @@ public:
     virtual void CreateStdContent()                        {;} 
     virtual void GetStdContent()                           {;}
     virtual void ReadFromTree(TTree * /*tree*/, Option_t* /*opt*/) {;}
-    virtual void WriteToTree(TTree* /*tree*/)  const {;}
+    virtual void WriteToTree(TTree* /*tree*/)  const       {;}
 
     virtual void SetStdNames()                             {;}
     virtual void Print(Option_t */*option=""*/)  const     {;}
     virtual void PreReadAll();
+    virtual void Reset()                                   {;}
 
     // Header
     virtual AliVHeader* GetHeader()          const         {return 0;}
index 966337c08a300710e460169e4a8b82051a278883..d324aa1ff3110d33a3317526a0001860672ec8a1 100644 (file)
@@ -39,7 +39,7 @@ public:
   virtual void ReadFromTree(TTree *tree, Option_t* opt) = 0;
   virtual void WriteToTree(TTree* tree) const = 0;
 
-  //virtual void Reset() = 0;
+  virtual void Reset() = 0;
   //virtual void ResetStdContent() = 0;
   virtual void SetStdNames() = 0;