1 ///////////////////////////////////////////////////////////////////////////
3 // AliFemtoKink: main class holding all the necessary information //
4 // about a kink (before the identification) that is required during //
5 // femtoscopic analysis. This class is filled with information from the //
6 // input stream by the reader. A particle has a link back to the Kink //
7 // it was created from, so we do not copy the information. //
9 ///////////////////////////////////////////////////////////////////////////
10 /***********************************************************************
14 * Author: Mike Lisa, Ohio State, 23May2001
16 ***********************************************************************
18 * Description: Kink class with information gotten from the StKinkVertex
19 * of Wenshen Deng and Spiros Margetis
21 ***********************************************************************
24 * Revision 1.2 2007/05/03 09:42:29 akisiel
25 * Fixing Effective C++ warnings
27 * Revision 1.1.1.1 2007/04/25 15:38:41 panos
28 * Importing the HBT code dir
30 * Revision 1.1.1.1 2007/03/07 10:14:49 mchojnacki
31 * First version on CVS
33 * Revision 1.4 2003/09/02 17:58:32 perev
34 * gcc 3.2 updates + WarnOff
36 * Revision 1.3 2001/11/14 21:07:21 lisa
37 * Fixed several small things (mostly discarded const) that caused fatal errors with gcc2.95.3
39 * Revision 1.2 2001/06/21 19:15:46 laue
41 * CTH.h : new constructor added
42 * AliFemtoEvent, AliFemtoKink, AliFemtoTrack : constructors from the persistent
43 * (TTree) classes added
44 * AliFemtoLikeSignAnalysis : minor changes, for debugging
45 * AliFemtoTypes: split into different files
46 * Added files: for the new TTree muDst's
47 * StExceptions.cxx StExceptions.h AliFemtoEnumeration.h
48 * AliFemtoHelix.h AliFemtoHisto.h AliFemtoString.h AliFemtoTFile.h
49 * AliFemtoTTreeEvent.cxx AliFemtoTTreeEvent.h AliFemtoTTreeKink.cxx
50 * AliFemtoTTreeKink.h AliFemtoTTreeTrack.cxx AliFemtoTTreeTrack.h
51 * AliFemtoTTreeV0.cxx AliFemtoTTreeV0.h AliFemtoVector.h
53 * Revision 1.1 2001/05/25 23:23:59 lisa
54 * Added in AliFemtoKink stuff
58 ***********************************************************************/
59 #ifndef ALIFEMTOKINK_H
60 #define ALIFEMTOKINK_H
63 //#include "StEvent/StKinkVertex.h" // from StEvent
64 #include "AliFemtoTrack.h"
66 #include "AliFemtoTypes.h" //same as in AliFemtoTrack.h
71 AliFemtoKink( const AliFemtoKink& k); // copy constructor
72 #ifndef __NO_STAR_DEPENDENCE_ALLOWED__
74 AliFemtoKink( const StKinkVertex&, AliFemtoThreeVector PrimaryVertex); // create a AliFemtoKink from a StKinkVertex
77 ~AliFemtoKink(){/* no-op */}
80 float DcaParentDaughter() const;
81 float DcaDaughterPrimaryVertex() const;
82 float DcaParentPrimaryVertex() const;
83 float HitDistanceParentDaughter() const;
84 float HitDistanceParentVertex() const;
85 float DeltaEnergy(int i=0) const;
86 float DecayAngle() const;
87 float DecayAngleCM() const;
88 AliFemtoTrack Daughter() const;
89 AliFemtoTrack Parent() const;
90 AliFemtoThreeVector Position() const;
96 float fDcaParentDaughter; // from StKinkVertex class directly
97 float fDcaDaughterPrimaryVertex; // from StKinkVertex class directly
98 float fDcaParentPrimaryVertex; // from StKinkVertex class directly
99 float fHitDistanceParentDaughter; // from StKinkVertex class directly
100 float fHitDistanceParentVertex; // from StKinkVertex class directly
101 float fDeltaEnergy[3]; // from StKinkVertex class directly
102 float fDecayAngle; // from StKinkVertex class directly
103 float fDecayAngleCM; // from StKinkVertex class directly
104 AliFemtoTrack fDaughter; // from StKinkVertex class directly
105 AliFemtoTrack fParent; // from StVertex class (which StKinkVertex inherits from)
106 AliFemtoThreeVector fPosition; // from StMeasuredPoint class (which StVertex inherits from)
111 inline float AliFemtoKink::DcaParentDaughter() const {return fDcaParentDaughter;}
112 inline float AliFemtoKink::DcaDaughterPrimaryVertex() const {return fDcaDaughterPrimaryVertex;}
113 inline float AliFemtoKink::DcaParentPrimaryVertex() const {return fDcaParentPrimaryVertex;}
114 inline float AliFemtoKink::HitDistanceParentDaughter() const {return fHitDistanceParentDaughter;}
115 inline float AliFemtoKink::HitDistanceParentVertex() const {return fHitDistanceParentVertex;}
116 inline float AliFemtoKink::DeltaEnergy(int i) const {return fDeltaEnergy[i];}
117 inline float AliFemtoKink::DecayAngle() const {return fDecayAngle;}
118 inline float AliFemtoKink::DecayAngleCM() const {return fDecayAngleCM;}
119 inline AliFemtoTrack AliFemtoKink::Daughter() const {return fDaughter;}
120 inline AliFemtoTrack AliFemtoKink::Parent() const {return fParent;}
121 inline AliFemtoThreeVector AliFemtoKink::Position() const {return fPosition;}