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 <<
13 #include "AliVVMisc.h"
19 // -- Constructor / Destructors
21 AliFlatESDV0(): fNegTrackID(-1), fPosTrackID(-1) {}
24 // constructor and method for reinitialisation of virtual table
25 AliFlatESDV0( AliVVConstructorReinitialisationFlag ): fNegTrackID(fNegTrackID), fPosTrackID(fPosTrackID) {}
26 void Reinitialize() const {} // no virtual table - do nothing
30 static size_t GetSize(){ return sizeof(AliFlatESDV0); }
32 void SetNegTrackID( Int_t id ){ fNegTrackID = id; }
33 void SetPosTrackID( Int_t id ){ fPosTrackID = id; }
35 Int_t GetNegTrackID() const { return fNegTrackID; }
36 Int_t GetPosTrackID() const { return fPosTrackID; }
38 // -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40 const AliFlatESDV0 *GetNextV0() const { return reinterpret_cast<const AliFlatESDV0*>( this+GetSize() ); }
41 AliFlatESDV0 *GetNextV0NonConst() { return reinterpret_cast<AliFlatESDV0*>( this+GetSize() ); }
45 AliFlatESDV0(const AliFlatESDV0&);
46 AliFlatESDV0& operator=(const AliFlatESDV0&);