]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliESDComparisonMI.h
Make use of new method AliRawReader::GetNumberOfEvents() - goinf to the last event...
[u/mrichter/AliRoot.git] / STEER / AliESDComparisonMI.h
index 9f8ff5a297b5f3f1409fe99c897fbc19eeef5da0..71bc45455079355e9deefa89ac373f4ecd822803 100644 (file)
@@ -15,8 +15,9 @@ public:
   AliESDRecInfo(){}
   ~AliESDRecInfo(){}
   void UpdatePoints(AliESDtrack* track);
-  void Update(AliMCInfo* info,AliTPCParam * par, Bool_t reconstructed);
-  Float_t    fTPCPoints[4]; //start , biggest end points + max density
+  void Update(AliMCInfo* info,AliTPCParam * par, Bool_t reconstructed, AliESD *event);
+  void Reset();
+  Float_t  fTPCPoints[10]; //start , biggest end points,max density .. density at the last 30 pad-rows
   Double_t fTPCinR0[5];   //generated position of the track at inner tpc - radius [3] and fi [4]
   Double_t fTPCinR1[5];   //reconstructed postion of the track           - radius [3] and fi [
   Double_t fTPCinP0[5];   //generated position of the track at inner tpc
@@ -46,10 +47,9 @@ public:
   Bool_t fITSOn;           // ITS refitted inward
   Bool_t fTRDOn;           // ITS refitted inward
   Float_t fDeltaP;          //delta of momenta
-  Double_t fSign;
-  Int_t fLabels[2];
-  void Reset();
-  ClassDef(AliESDRecInfo,1)  // container for 
+  Double_t fSign;           // sign
+  Int_t fLabels[2];         // labels
+  ClassDef(AliESDRecInfo,2)  // container for 
 };
 ClassImp(AliESDRecInfo)
 
@@ -78,7 +78,7 @@ public:
   Double_t       fPdr[3];    //momentum at vertex daughter  - according approx at DCA
   Double_t       fXr[3];     //rec. position according helix
   //
-  Double_t       fMinR;     // minimum radius in rphi intersection
+  Double_t       fRs[2];     // minimum radius in rphi intersection
   Double_t       fDistMinR; // distance at minimal radius
   Double_t       fPm[3];    //momentum at the vertex mother
   Double_t       fAngle[3]; //three angles
@@ -88,13 +88,13 @@ public:
   Float_t        fPointAngleTh; //point angle theta
   Float_t        fPointAngle;   //point angle full
   Int_t          fV0Status;       // status of the kink
-  AliESDV0MI     fV0tpc;           // Vo information from reconsturction according TPC
-  AliESDV0MI     fV0its;           // Vo information from reconsturction according ITS
-  AliESDV0MI     fV0rec;           // V0 information form the reconstruction
+  AliESDV0       fV0tpc;           // Vo information from reconsturction according TPC
+  AliESDV0       fV0its;           // Vo information from reconsturction according ITS
+  AliESDV0       fV0rec;           // V0 information form the reconstruction
   Int_t          fMultiple;
   Int_t          fV0Multiple;
   Int_t          fRecStatus;    // status form the reconstuction
-  ClassDef(AliESDRecV0Info,1)   // container for  
+  ClassDef(AliESDRecV0Info,2)   // container for  
 };
 
 ClassImp(AliESDRecV0Info)
@@ -160,6 +160,7 @@ public:
   Int_t TreeTLoop();
   Int_t BuildKinkInfo0(Int_t eventNr); // build kink info 0
   Int_t BuildV0Info(Int_t eventNr); // build kink info 0
+  void  MakePoints(AliESDtrack * track, AliPointsMI &points);
   void SetFirstEventNr(Int_t i) {fFirstEventNr = i;}
   void SetNEvents(Int_t i) {fNEvents = i;}
   void SetDebug(Int_t level) {fDebug = level;}
@@ -192,20 +193,20 @@ private:
   AliRunLoader * fLoader;         //! pointer to the run loader
   //TTree *fTreeRecTracks;          //! tree with reconstructed tracks
   //
-  Int_t *fIndexRecTracks;         //! index of particle label in the TreeT_ESD
-  Int_t *fFakeRecTracks;          //! number of fake tracks
-  Int_t *fMultiRecTracks;         //! number of multiple reconstructions
+  Short_t *fIndexRecTracks;         //! index of particle label in the TreeT_ESD
+  Short_t *fFakeRecTracks;          //! number of fake tracks
+  Short_t *fMultiRecTracks;         //! number of multiple reconstructions
   //
-  Int_t *fIndexRecKinks;         //! index of particle label in treeesd
-  Int_t *fMultiRecKinks;         //! number of multiple reconstructions
-  Int_t *fSignedKinks;                //! indicator that kink was not fake
+  Short_t *fIndexRecKinks;         //! index of particle label in treeesd
+  Short_t *fMultiRecKinks;         //! number of multiple reconstructions
+  Short_t *fSignedKinks;           //! indicator that kink was not fake
   //
-  Int_t *fIndexRecV0;         //! index of particle label in treeesd
-  Int_t *fMultiRecV0;         //! number of multiple reconstructions
-  Int_t *fSignedV0;                //! indicator that kink was not fake
+  Short_t *fIndexRecV0;         //! index of particle label in treeesd
+  Short_t *fMultiRecV0;         //! number of multiple reconstructions
+  Short_t *fSignedV0;                //! indicator that kink was not fake
   //
   TObjArray *fRecArray;           // container with rec infos
-  AliESD *fEvent;                 //!event
+  AliESDEvent *fEvent;                 //!event
   //
   AliTPCParam* fParamTPC;         //! AliTPCParam
   Int_t fNParticles;              //! number of particles in the input tree genTracks