1 //////////////////////////////////////////////////////////////////////
5 // Author: Emanuele Simili
7 //////////////////////////////////////////////////////////////////////
9 // Description: part of AliFlowEvent, allow flow study of v0s .
11 //////////////////////////////////////////////////////////////////////
25 #include "AliFlowConstants.h"
26 #include "AliFlowTrack.h"
30 class AliFlowV0 : public TNamed {
35 AliFlowV0(const Char_t* name);
38 // Gets - V0's variables
39 const Char_t* Pid() const;
45 Short_t Charge() const;
49 AliFlowTrack* DaughterP() const;
50 AliFlowTrack* DaughterN() const;
51 Float_t V0Lenght() const;
52 Float_t Sigma() const;
53 void CrossPoint(Float_t Pxyz[3]) const;
54 //TVector3 CrossPoint() const ;
55 Float_t CrossDca() const;
56 Int_t MostLikelihoodPID() const;
58 // Sets - V0's variables
59 void SetPid(const Char_t* pid);
60 void SetPhi(Float_t phi);
61 void SetEta(Float_t eta);
62 void SetPt(Float_t pt);
63 void SetChi2(Float_t chi2) ;
64 void SetVmass(Float_t mass);
65 void SetCrossPoint(Float_t pox,Float_t poy,Float_t poz);
66 void SetCrossDca(Float_t dca) ;
67 void SetDca(Float_t dca) ;
68 void SetSigma(Float_t sigma) ;
69 void SetDaughters(AliFlowTrack* pos, AliFlowTrack* neg);
70 void SetMostLikelihoodPID(Int_t pdg_code);
71 void SetLabel(Int_t label);
76 Float_t fPhi; // reconstructed azimuthal angle of the v0
77 Float_t fPt; // reconstructed transverse momentum of the v0
78 Float_t fEta; // reconstructed pseudorapidity of the v0
79 Float_t fChi2; // chi2 of the reconstructed v0
80 Float_t fMass; // reconstructed v0 mass
81 Float_t fDca; // distance of closest approach of the reconstructed v0 to the main vertex
82 Float_t fCrossPoint[3] ; // crossing point coordinates of the two daughter tracks
83 Float_t fCrossDCA ; // DCA of the 2 tracks at the crossing point
84 Float_t fSigma ; //! DCA of the 2 tracks at the crossing point
85 Int_t fMostLikelihoodPID; // most probable P.Id. hypotesis (...need to be implemented)
86 Int_t fLabel ; // Label of the V0 (link: KineTree-ESD)
87 AliFlowTrack* fDaughters[2] ; // daughter particles' pointers
89 ClassDef(AliFlowV0,1) ; // macro for rootcint
93 //////////////////////////////////////////////////////////////////////