4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice *
6 * Primary Authors : Sergey Gorbunov, Jochen Thaeder, Chiara Zampolli */
9 * >> Flat structure representing a ESD v0 vertex <<
19 // -- Constructor / Destructors
21 AliFlatESDV0(): fNegTrackID(-1), fPosTrackID(-1) {}
24 // constructor and method for reinitialisation of virtual table
25 AliFlatESDV0( AliVConstructorReinitialisationFlag )
26 // : fNegTrackID(fNegTrackID), fPosTrackID(fPosTrackID)
28 void Reinitialize() const {} // no virtual table - do nothing
32 static size_t GetSize(){ return sizeof(AliFlatESDV0); }
34 void SetNegTrackID( Int_t id ){ fNegTrackID = id; }
35 void SetPosTrackID( Int_t id ){ fPosTrackID = id; }
37 Int_t GetNegTrackID() const { return fNegTrackID; }
38 Int_t GetPosTrackID() const { return fPosTrackID; }
40 // -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
42 const AliFlatESDV0 *GetNextV0() const { return reinterpret_cast<const AliFlatESDV0*>( this+GetSize() ); }
43 AliFlatESDV0 *GetNextV0NonConst() { return reinterpret_cast<AliFlatESDV0*>( this+GetSize() ); }
47 AliFlatESDV0(const AliFlatESDV0&);
48 AliFlatESDV0& operator=(const AliFlatESDV0&);