]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AOD/AliAODTZERO.cxx
#99183: commit to trunk and port to release AliAODTZERO with T0 vertex
[u/mrichter/AliRoot.git] / STEER / AOD / AliAODTZERO.cxx
index 69a737a107d4411885614fd033a3a046096d536a..55c11e1f23da189fb50fc6ec0f25129daf38e9c0 100644 (file)
@@ -30,12 +30,13 @@ AliAODTZERO::AliAODTZERO()
    fPileup(0),
    fSattelite(0),
    fBackground(0),
-   fT0VertexRaw(999)
+   fT0VertexRaw(-9999),
+   fT0zVertex(-9999)
 {   
   // Default constructor 
   for(Int_t j=0; j<3; j++){ 
-    fT0TOF[j]     = 999;
-    fT0TOFbest[j] = 999;
+    fT0TOF[j]     = -9999;
+    fT0TOFbest[j] = -9999;
   }
 }
 
@@ -45,7 +46,8 @@ AliAODTZERO::AliAODTZERO(const AliAODTZERO &source)
    fPileup(source.fPileup),
    fSattelite(source.fSattelite),
    fBackground(source.fBackground),
-   fT0VertexRaw(source.fT0VertexRaw)
+   fT0VertexRaw(source.fT0VertexRaw),
+   fT0zVertex(source.fT0zVertex)
 {   
   // Default constructor 
   for(Int_t j=0; j<3; j++) {
@@ -65,6 +67,7 @@ AliAODTZERO& AliAODTZERO::operator=(const AliAODTZERO& source)
   fSattelite   = source.fSattelite;
   fBackground  = source.fBackground;
   fT0VertexRaw = source.fT0VertexRaw;
+  fT0zVertex = source.fT0zVertex;
 
   for(Int_t j=0; j<3; j++){
     fT0TOF[j]     = source.fT0TOF[j];