]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ANALYSIS/AliAODv0.cxx
Add optional seeding in the TRD (M.Ivanov)
[u/mrichter/AliRoot.git] / ANALYSIS / AliAODv0.cxx
index 4779889df25b08442a19628b5031129a1fb89d37..e153154c23507f2222af8353ad9b5de80854df58 100644 (file)
 
 //-------------------------------------------------------------------------
 //     Implementation of the Analysis Oriented Data (AOD) V0 vertex class
-//
 //     Origin: B.Hippolyte, IReS, hippolyt@in2p3.fr 
 //             G.Van Buren, BNL,  gene@bnl.gov      (original STAR MuDsts)
+//     Purpose: Having observables for physics available for V0s
 //-------------------------------------------------------------------------
-#include <Riostream.h>
+
 #include <TMath.h>
-#include <TPDGCode.h>
 
 #include "AliESD.h"
-
 #include "AliAODv0.h"
 
 ClassImp(AliAODv0)
@@ -58,10 +56,8 @@ AliAODv0::AliAODv0(AliESDv0* rV0Vertex ,AliESD* rEvent){
   this->Fill(rV0Vertex,rEvent);
 }
 
-// AliAODv0::~AliAODv0(){
-// }
-
 void AliAODv0::Fill(AliESDv0* rV0Vertex ,AliESD* rEvent){
+  // Fills the data memebers of the AOD
   fEvent=rEvent;
   Double_t tDecayVertexV0[3]; rV0Vertex->GetXYZ(tDecayVertexV0[0],tDecayVertexV0[1],tDecayVertexV0[2]); 
   fDecayVertexV0X = tDecayVertexV0[0];
@@ -103,6 +99,7 @@ void AliAODv0::Fill(AliESDv0* rV0Vertex ,AliESD* rEvent){
 }
 
 void AliAODv0::ResetV0(){
+  // Sets the default values of the AOD data members
   fDecayVertexV0X     = 999;
   fDecayVertexV0Y     = 999;
   fDecayVertexV0Z     = 999;