ROOT logo
#ifndef ALIGENV0INFO_H
#define ALIGENV0INFO_H
/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
 * See cxx source for full Copyright notice                               */



//////////////////////////////////////////////////////////////////////////////
//                          Class AliGenV0Info                               //
//   collect together MC info for comparison purposes - effieciency studies and so on//                                                                 //
//   marian.ivanov@cern.ch                                                  //
//////////////////////////////////////////////////////////////////////////////



#include <TParticle.h>
#include "AliMCInfo.h"

class TFile;
class AliRunLoader;
class AliStack;
class AliTPCParam;




class AliGenV0Info: public TObject {
public:
  AliGenV0Info();       //
  void Update(Float_t vertex[3]);       
  AliMCInfo &  GetPlus()      {return fMCd;}
  AliMCInfo &  GetMinus()     {return fMCm;}
  TParticle &  GetMother()   {return fMotherP;}
  Double_t    GetMCDist1() const { return fMCDist1;}
  Double_t    GetMCDist2() const {return fMCDist2;}  
  const Double_t*  GetMCPdr() const {return fMCPdr;}
  const Double_t*  GetMCPd()  const {return fMCPd;}
  const Double_t*  GetMCX()  const {return fMCX;}
  void SetInfoP(AliMCInfo &plus) {fMCd=plus;}
  void SetInfoM(AliMCInfo &minus){fMCm=minus;}
  void SetMother(TParticle&mother){fMotherP=mother;}
private:
  AliMCInfo   fMCd;       //info about daughter particle - second particle for V0
  AliMCInfo   fMCm;       //info about mother particle   - first particle for V0
  TParticle   fMotherP;   //particle info about mother particle
  Double_t    fMCDist1;    //info about closest distance according closest MC - linear DCA
  Double_t    fMCDist2;    //info about closest distance parabolic DCA
  //
  Double_t    fMCPdr[3];    //momentum at vertex daughter  - according approx at DCA
  Double_t    fMCPd[4];     //exact momentum from MC info
  Double_t    fMCX[3];      //exact position of the vertex
  Double_t    fMCXr[3];     //rec. position according helix
  //
  Double_t     fMCPm[3];    //momentum at the vertex mother
  Double_t     fMCAngle[3]; //three angels
  Double_t     fMCRr;       // rec position of the vertex 
  Double_t     fMCR;        //exact r position of the vertex
  Int_t        fPdg[2];   //pdg code of mother and daugter particles
  Int_t        fLab[2];   //MC label of the partecle  
  //
  Double_t       fInvMass;  //reconstructed invariant mass -
  Float_t        fPointAngleFi; //point angle fi
  Float_t        fPointAngleTh; //point angle theta
  Float_t        fPointAngle;   //point angle full
  //
  ClassDef(AliGenV0Info,1)  // container for  
};



#endif
 AliGenV0Info.h:1
 AliGenV0Info.h:2
 AliGenV0Info.h:3
 AliGenV0Info.h:4
 AliGenV0Info.h:5
 AliGenV0Info.h:6
 AliGenV0Info.h:7
 AliGenV0Info.h:8
 AliGenV0Info.h:9
 AliGenV0Info.h:10
 AliGenV0Info.h:11
 AliGenV0Info.h:12
 AliGenV0Info.h:13
 AliGenV0Info.h:14
 AliGenV0Info.h:15
 AliGenV0Info.h:16
 AliGenV0Info.h:17
 AliGenV0Info.h:18
 AliGenV0Info.h:19
 AliGenV0Info.h:20
 AliGenV0Info.h:21
 AliGenV0Info.h:22
 AliGenV0Info.h:23
 AliGenV0Info.h:24
 AliGenV0Info.h:25
 AliGenV0Info.h:26
 AliGenV0Info.h:27
 AliGenV0Info.h:28
 AliGenV0Info.h:29
 AliGenV0Info.h:30
 AliGenV0Info.h:31
 AliGenV0Info.h:32
 AliGenV0Info.h:33
 AliGenV0Info.h:34
 AliGenV0Info.h:35
 AliGenV0Info.h:36
 AliGenV0Info.h:37
 AliGenV0Info.h:38
 AliGenV0Info.h:39
 AliGenV0Info.h:40
 AliGenV0Info.h:41
 AliGenV0Info.h:42
 AliGenV0Info.h:43
 AliGenV0Info.h:44
 AliGenV0Info.h:45
 AliGenV0Info.h:46
 AliGenV0Info.h:47
 AliGenV0Info.h:48
 AliGenV0Info.h:49
 AliGenV0Info.h:50
 AliGenV0Info.h:51
 AliGenV0Info.h:52
 AliGenV0Info.h:53
 AliGenV0Info.h:54
 AliGenV0Info.h:55
 AliGenV0Info.h:56
 AliGenV0Info.h:57
 AliGenV0Info.h:58
 AliGenV0Info.h:59
 AliGenV0Info.h:60
 AliGenV0Info.h:61
 AliGenV0Info.h:62
 AliGenV0Info.h:63
 AliGenV0Info.h:64
 AliGenV0Info.h:65
 AliGenV0Info.h:66
 AliGenV0Info.h:67
 AliGenV0Info.h:68
 AliGenV0Info.h:69
 AliGenV0Info.h:70
 AliGenV0Info.h:71