]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Additiona methods (Gustavo)
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 19 May 2008 11:19:59 +0000 (11:19 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 19 May 2008 11:19:59 +0000 (11:19 +0000)
STEER/AliAODPhoton.h

index 3b9488635ee90473d6352c6cdc75470419d0ab89..29b75fc0c6d59bd392f0ccb7d64a2cfa997aa43c 100644 (file)
@@ -30,6 +30,7 @@ class AliAODPhoton : public AliVParticle {
     virtual Double_t Pz()         const { return fMomentum->Pz();      }
     virtual Double_t Pt()         const { return fMomentum->Pt();      }
     virtual Double_t P()          const { return fMomentum->P();       }
+    virtual Bool_t   PxPyPz(Double_t p[3]) const { p[0] = Px(); p[1] = Py(); p[2] = Pz(); return kTRUE; }
     virtual Double_t OneOverPt()  const { return 1. / fMomentum->Pt(); }
     virtual Double_t Phi()        const;
     virtual Double_t Theta()      const { return fMomentum->Theta();   }
@@ -37,8 +38,12 @@ class AliAODPhoton : public AliVParticle {
     virtual Double_t M()          const { return fMomentum->M();       }
     virtual Double_t Eta()        const { return fMomentum->Eta();     }
     virtual Double_t Y()          const { return fMomentum->Rapidity();}
-//
-
+    virtual Double_t Xv()         const {return -999.;} // put reasonable values here
+    virtual Double_t Yv()         const {return -999.;} //
+    virtual Double_t Zv()         const {return -999.;} //
+    virtual Bool_t   XvYvZv(Double_t x[3]) const { x[0] = Xv(); x[1] = Yv(); x[2] = Zv(); return kTRUE; }  
+    //
+    
     virtual void     Print(Option_t* /*option*/) const;
     
 // Dummy