//-*- Mode: C++ -*- // ************************************************************************ // This file is property of and copyright by the ALICE HLT Project * // ALICE Experiment at CERN, All rights reserved. * // See cxx source for full Copyright notice * // * //************************************************************************* #ifndef PNDCAMCVERTEX_H #define PNDCAMCVERTEX_H #include "PndCADef.h" #include "PndCAMCVertex.h" #include using std::ostream; using std::istream; /** * @class PndCAMCVertex * store MC track information for Performance */ class PndCAMCVertex { public: PndCAMCVertex(); float Par( int i ) const { return fPar[i]; } float X() const { return fPar[0]; } float Y() const { return fPar[1]; } float Z() const { return fPar[2]; } void SetPar( int i, float v ) { fPar[i] = v; } void SetX( float v ) { fPar[0] = v; } void SetY( float v ) { fPar[1] = v; } void SetZ( float v ) { fPar[2] = v; } friend ostream& operator<<(ostream& out, const PndCAMCVertex &a); friend istream& operator>>(istream& in, PndCAMCVertex &a); protected: float fPar[3]; //* x,y,z }; #endif