]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ANALYSIS/AliAODRun.cxx
Modifying the GetChainFromCollection function based on the additions of the TEntryList
[u/mrichter/AliRoot.git] / ANALYSIS / AliAODRun.cxx
index 1f96274391018bf16256b2f4418215c8cd6d857a..d13eb2a8996e3d52169b6dafe6b77ccf1f5534da 100644 (file)
@@ -7,7 +7,7 @@
 // Class storing and managing events                 //
 //                                                   //
 // Piotr.Skowronski@cern.ch                          //
-// http://alisoft.cern.ch/people/skowron/analyzer    //
+// http://aliweb.cern.ch/people/skowron/analyzer    //
 //                                                   //
 ///////////////////////////////////////////////////////
 
 ClassImp(AliAODRun)
 /**************************************************************************/ 
 
-AliAODRun::AliAODRun()
+AliAODRun::AliAODRun():
+  fEvents(new TObjArray())
 { 
  //contructor
-  fEvents = new TObjArray();//create array for AliAODs
   if(!fEvents) Fatal("AliAODRun::AliAODRun","Can not allocate memory");
   fEvents->SetOwner(); //array is an owner: when is deleted or cleared it deletes objects that it contains
 }
@@ -39,7 +39,7 @@ void AliAODRun::Reset()
  }
 /**************************************************************************/
 
-void AliAODRun::AddParticle(Int_t event, AliAODParticle* part)
+void AliAODRun::AddParticle(Int_t event, AliVAODParticle* part)
 {
  //Adds particle to event
  //if there is no event of this number, crate it and add to the collection