3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
8 //////////////////////////////////////////////////////////////////////////////
9 // Class AliGenV0Info //
10 // collect together MC info for comparison purposes - effieciency studies and so on// //
11 // marian.ivanov@cern.ch //
12 //////////////////////////////////////////////////////////////////////////////
16 ////////////////////////////////////////////////////////////////////////
18 // Start of implementation of the class AliTPCdigitRow
20 ////////////////////////////////////////////////////////////////////////
22 #include <TParticle.h>
23 #include "AliMCInfo.h"
33 class AliGenV0Info: public TObject {
36 void Update(Float_t vertex[3]);
37 AliMCInfo & GetPlus() {return fMCd;}
38 AliMCInfo & GetMinus() {return fMCm;}
39 TParticle & GetMopther() {return fMotherP;}
40 Double_t GetMCDist1() const { return fMCDist1;}
41 Double_t GetMCDist2() const {return fMCDist2;}
42 const Double_t* GetMCPdr() const {return fMCPdr;}
43 const Double_t* GetMCPd() const {return fMCPd;}
44 const Double_t* GetMCX() const {return fMCX;}
45 // const Double_t fMCXr;
48 // Double_t fMCAngle[3];
55 // Float_t fPointAngleFi;
56 // Float_t fPointAngleTh;
57 // Float_t fPointAngle;
59 void SetInfoP(AliMCInfo &plus) {fMCd=plus;}
60 void SetInfoM(AliMCInfo &minus){fMCm=minus;}
61 void SetMother(TParticle&mother){fMotherP=mother;}
63 AliMCInfo fMCd; //info about daughter particle - second particle for V0
64 AliMCInfo fMCm; //info about mother particle - first particle for V0
65 TParticle fMotherP; //particle info about mother particle
66 Double_t fMCDist1; //info about closest distance according closest MC - linear DCA
67 Double_t fMCDist2; //info about closest distance parabolic DCA
69 Double_t fMCPdr[3]; //momentum at vertex daughter - according approx at DCA
70 Double_t fMCPd[4]; //exact momentum from MC info
71 Double_t fMCX[3]; //exact position of the vertex
72 Double_t fMCXr[3]; //rec. position according helix
74 Double_t fMCPm[3]; //momentum at the vertex mother
75 Double_t fMCAngle[3]; //three angels
76 Double_t fMCRr; // rec position of the vertex
77 Double_t fMCR; //exact r position of the vertex
78 Int_t fPdg[2]; //pdg code of mother and daugter particles
79 Int_t fLab[2]; //MC label of the partecle
81 Double_t fInvMass; //reconstructed invariant mass -
82 Float_t fPointAngleFi; //point angle fi
83 Float_t fPointAngleTh; //point angle theta
84 Float_t fPointAngle; //point angle full
86 ClassDef(AliGenV0Info,1) // container for