]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWGCF/Correlations/JCORRAN/AliJBaseEventHeader.h
JCORRAN code update from DongJo
[u/mrichter/AliRoot.git] / PWGCF / Correlations / JCORRAN / AliJBaseEventHeader.h
old mode 100755 (executable)
new mode 100644 (file)
index 578ccd8..768ea46
@@ -1,3 +1,8 @@
+/* Copyright(c) 1998-2014, ALICE Experiment at CERN, All rights reserved. *
+ * See cxx source for full Copyright notice */
+
+// Short comment describing what this class does needed!
+
 // $Id: AliJBaseEventHeader.h,v 1.5 2008/05/08 13:44:45 djkim Exp $
 
 ////////////////////////////////////////////////////
@@ -35,6 +40,10 @@ class AliJBaseEventHeader : public TNamed {
   float  GetZVertex() const {return fVtxZ;}
   float  GetZVertexErr() const {return fVtxZErr;}
 
+  float  GetXVertexMC() const {return fVtxMCX;} 
+  float  GetYVertexMC() const {return fVtxMCY;} 
+  float  GetZVertexMC() const {return fVtxMCZ;} 
+
   //setter
   void SetEventID(int evid) {fEventID=evid;}
   void SetCentrality(float  cent) {fCentrality=cent;}
@@ -44,6 +53,10 @@ class AliJBaseEventHeader : public TNamed {
   void SetZVertexErr(float vt) {fVtxZErr=vt;}
   void SetVertex(float x, float y, float z, float err){ fVtxX=x;fVtxY=y;fVtxZ=z;fVtxZErr=err; }
 
+  void SetXVertexMC(float vt) {fVtxMCX=vt;} 
+  void SetYVertexMC(float vt) {fVtxMCY=vt;} 
+  void SetZVertexMC(float vt) {fVtxMCZ=vt;}
+
   AliJBaseEventHeader& operator=(const AliJBaseEventHeader& header);
 
  private:
@@ -55,6 +68,10 @@ class AliJBaseEventHeader : public TNamed {
   Double32_t fVtxZ;         //vertex Z
   Double32_t fVtxZErr;      //vertex error
 
+  Double32_t fVtxMCX; //vertex X MC  
+  Double32_t fVtxMCY; //vertex Y MC 
+  Double32_t fVtxMCZ; //vertex Z MC
+
   ClassDef(AliJBaseEventHeader,1)
 
 };