1 /***********************************************************************
5 * Author: Mike Lisa, Ohio State, 23May2001
7 ***********************************************************************
9 * Description: Kink class with information gotten from the StKinkVertex
10 * of Wenshen Deng and Spiros Margetis
12 ***********************************************************************
15 * Revision 1.2 2007/05/03 09:42:29 akisiel
16 * Fixing Effective C++ warnings
18 * Revision 1.1.1.1 2007/04/25 15:38:41 panos
19 * Importing the HBT code dir
21 * Revision 1.1.1.1 2007/03/07 10:14:49 mchojnacki
22 * First version on CVS
24 * Revision 1.4 2003/09/02 17:58:32 perev
25 * gcc 3.2 updates + WarnOff
27 * Revision 1.3 2001/11/14 21:07:21 lisa
28 * Fixed several small things (mostly discarded const) that caused fatal errors with gcc2.95.3
30 * Revision 1.2 2001/06/21 19:15:46 laue
32 * CTH.h : new constructor added
33 * AliFemtoEvent, AliFemtoKink, AliFemtoTrack : constructors from the persistent
34 * (TTree) classes added
35 * AliFemtoLikeSignAnalysis : minor changes, for debugging
36 * AliFemtoTypes: split into different files
37 * Added files: for the new TTree muDst's
38 * StExceptions.cxx StExceptions.h AliFemtoEnumeration.h
39 * AliFemtoHelix.h AliFemtoHisto.h AliFemtoString.h AliFemtoTFile.h
40 * AliFemtoTTreeEvent.cxx AliFemtoTTreeEvent.h AliFemtoTTreeKink.cxx
41 * AliFemtoTTreeKink.h AliFemtoTTreeTrack.cxx AliFemtoTTreeTrack.h
42 * AliFemtoTTreeV0.cxx AliFemtoTTreeV0.h AliFemtoVector.h
44 * Revision 1.1 2001/05/25 23:23:59 lisa
45 * Added in AliFemtoKink stuff
49 ***********************************************************************/
50 #ifndef AliFemtoKink_hh
51 #define AliFemtoKink_hh
54 //#include "StEvent/StKinkVertex.h" // from StEvent
55 #include "AliFemtoTrack.h"
57 #include "AliFemtoTypes.h" //same as in AliFemtoTrack.h
62 AliFemtoKink( const AliFemtoKink&); // copy constructor
63 #ifndef __NO_STAR_DEPENDENCE_ALLOWED__
65 AliFemtoKink( const StKinkVertex&, AliFemtoThreeVector PrimaryVertex); // create a AliFemtoKink from a StKinkVertex
68 ~AliFemtoKink(){/* no-op */}
71 float DcaParentDaughter() const;
72 float DcaDaughterPrimaryVertex() const;
73 float DcaParentPrimaryVertex() const;
74 float HitDistanceParentDaughter() const;
75 float HitDistanceParentVertex() const;
76 float DeltaEnergy(int i=0) const;
77 float DecayAngle() const;
78 float DecayAngleCM() const;
79 AliFemtoTrack Daughter() const;
80 AliFemtoTrack Parent() const;
81 AliFemtoThreeVector Position() const;
87 float fDcaParentDaughter; // from StKinkVertex class directly
88 float fDcaDaughterPrimaryVertex; // from StKinkVertex class directly
89 float fDcaParentPrimaryVertex; // from StKinkVertex class directly
90 float fHitDistanceParentDaughter; // from StKinkVertex class directly
91 float fHitDistanceParentVertex; // from StKinkVertex class directly
92 float fDeltaEnergy[3]; // from StKinkVertex class directly
93 float fDecayAngle; // from StKinkVertex class directly
94 float fDecayAngleCM; // from StKinkVertex class directly
95 AliFemtoTrack fDaughter; // from StKinkVertex class directly
96 AliFemtoTrack mParent; // from StVertex class (which StKinkVertex inherits from)
97 AliFemtoThreeVector mPosition; // from StMeasuredPoint class (which StVertex inherits from)
102 inline float AliFemtoKink::DcaParentDaughter() const {return fDcaParentDaughter;}
103 inline float AliFemtoKink::DcaDaughterPrimaryVertex() const {return fDcaDaughterPrimaryVertex;}
104 inline float AliFemtoKink::DcaParentPrimaryVertex() const {return fDcaParentPrimaryVertex;}
105 inline float AliFemtoKink::HitDistanceParentDaughter() const {return fHitDistanceParentDaughter;}
106 inline float AliFemtoKink::HitDistanceParentVertex() const {return fHitDistanceParentVertex;}
107 inline float AliFemtoKink::DeltaEnergy(int i) const {return fDeltaEnergy[i];}
108 inline float AliFemtoKink::DecayAngle() const {return fDecayAngle;}
109 inline float AliFemtoKink::DecayAngleCM() const {return fDecayAngleCM;}
110 inline AliFemtoTrack AliFemtoKink::Daughter() const {return fDaughter;}
111 inline AliFemtoTrack AliFemtoKink::Parent() const {return mParent;}
112 inline AliFemtoThreeVector AliFemtoKink::Position() const {return mPosition;}