#ifndef AliVParticle_H #define AliVParticle_H /* Copyright(c) 1998-2007, ALICE Experiment at CERN, All rights reserved. * * See cxx source for full Copyright notice */ /* $Id$ */ //------------------------------------------------------------------------- // base class for ESD and AOD particles // Author: Markus Oldenburg, CERN //------------------------------------------------------------------------- #include #include class AliVParticle: public TObject { public: AliVParticle() { } virtual ~AliVParticle() { } AliVParticle(const AliVParticle& vPart); AliVParticle& operator=(const AliVParticle& vPart); // kinematics virtual Double_t Px() const = 0; virtual Double_t Py() const = 0; virtual Double_t Pz() const = 0; virtual Double_t Pt() const = 0; virtual Double_t P() const = 0; virtual Double_t OneOverPt() const = 0; virtual Double_t Phi() const = 0; virtual Double_t Theta() const = 0; virtual Double_t E() const = 0; virtual Double_t M() const = 0; virtual Double_t Eta() const = 0; virtual Double_t Y() const = 0; virtual Short_t Charge() const = 0; // PID virtual const Double_t *PID() const = 0; // return PID object (to be defined, still) ClassDef(AliVParticle,0) // base class for particles }; #endif