added this pointer to special constructor, first version of esd to flat conversion...
[u/mrichter/AliRoot.git] / HLT / global / AliFlatESDV0.h
1 #ifndef ALIFLATESDV0_H
2 #define ALIFLATESDV0_H
3
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     */
7
8 /**
9  * >> Flat structure representing a ESD vertex <<
10  */
11
12 #include "Rtypes.h"
13 #include "AliVVv0.h"
14 #include "AliFlatESDMisc.h"
15
16 class AliFlatESDV0: public AliVVv0
17 {
18  public:
19   AliFlatESDV0();
20   virtual ~AliFlatESDV0() {}
21   void Reinitialize(){
22         new (this) AliFlatESDV0(AliFlatESDReinitialize);
23   }
24   Int_t fNegTrackID;
25   Int_t fPosTrackID;
26  private:
27 AliFlatESDV0(AliFlatESDSpecialConstructorFlag)
28  : fNegTrackID(this->fNegTrackID), fPosTrackID(this->fPosTrackID){}
29 };
30 //typedef struct AliFlatESDV0 AliFlatESDV0;
31
32 #endif