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.1.1.1 2007/03/07 10:14:49 mchojnacki
16 * First version on CVS
18 * Revision 1.4 2003/09/02 17:58:32 perev
19 * gcc 3.2 updates + WarnOff
21 * Revision 1.3 2001/11/14 21:07:21 lisa
22 * Fixed several small things (mostly discarded const) that caused fatal errors with gcc2.95.3
24 * Revision 1.2 2001/06/21 19:15:46 laue
26 * CTH.h : new constructor added
27 * AliFemtoEvent, AliFemtoKink, AliFemtoTrack : constructors from the persistent
28 * (TTree) classes added
29 * AliFemtoLikeSignAnalysis : minor changes, for debugging
30 * AliFemtoTypes: split into different files
31 * Added files: for the new TTree muDst's
32 * StExceptions.cxx StExceptions.h AliFemtoEnumeration.h
33 * AliFemtoHelix.h AliFemtoHisto.h AliFemtoString.h AliFemtoTFile.h
34 * AliFemtoTTreeEvent.cxx AliFemtoTTreeEvent.h AliFemtoTTreeKink.cxx
35 * AliFemtoTTreeKink.h AliFemtoTTreeTrack.cxx AliFemtoTTreeTrack.h
36 * AliFemtoTTreeV0.cxx AliFemtoTTreeV0.h AliFemtoVector.h
38 * Revision 1.1 2001/05/25 23:23:59 lisa
39 * Added in AliFemtoKink stuff
43 ***********************************************************************/
44 #ifndef AliFemtoKink_hh
45 #define AliFemtoKink_hh
48 //#include "StEvent/StKinkVertex.h" // from StEvent
49 #include "Infrastructure/AliFemtoTrack.h"
51 #include "Infrastructure/AliFemtoTypes.h" //same as in AliFemtoTrack.h
55 AliFemtoKink(){/* no-op */}
56 AliFemtoKink( const AliFemtoKink&); // copy constructor
57 #ifndef __NO_STAR_DEPENDENCE_ALLOWED__
59 AliFemtoKink( const StKinkVertex&, AliFemtoThreeVector PrimaryVertex); // create a AliFemtoKink from a StKinkVertex
62 ~AliFemtoKink(){/* no-op */}
65 float DcaParentDaughter() const;
66 float DcaDaughterPrimaryVertex() const;
67 float DcaParentPrimaryVertex() const;
68 float HitDistanceParentDaughter() const;
69 float HitDistanceParentVertex() const;
70 float DeltaEnergy(int i=0) const;
71 float DecayAngle() const;
72 float DecayAngleCM() const;
73 AliFemtoTrack Daughter() const;
74 AliFemtoTrack Parent() const;
75 AliFemtoThreeVector Position() const;
81 float fDcaParentDaughter; // from StKinkVertex class directly
82 float fDcaDaughterPrimaryVertex; // from StKinkVertex class directly
83 float fDcaParentPrimaryVertex; // from StKinkVertex class directly
84 float fHitDistanceParentDaughter; // from StKinkVertex class directly
85 float fHitDistanceParentVertex; // from StKinkVertex class directly
86 float fDeltaEnergy[3]; // from StKinkVertex class directly
87 float fDecayAngle; // from StKinkVertex class directly
88 float fDecayAngleCM; // from StKinkVertex class directly
89 AliFemtoTrack fDaughter; // from StKinkVertex class directly
90 AliFemtoTrack mParent; // from StVertex class (which StKinkVertex inherits from)
91 AliFemtoThreeVector mPosition; // from StMeasuredPoint class (which StVertex inherits from)
96 inline float AliFemtoKink::DcaParentDaughter() const {return fDcaParentDaughter;}
97 inline float AliFemtoKink::DcaDaughterPrimaryVertex() const {return fDcaDaughterPrimaryVertex;}
98 inline float AliFemtoKink::DcaParentPrimaryVertex() const {return fDcaParentPrimaryVertex;}
99 inline float AliFemtoKink::HitDistanceParentDaughter() const {return fHitDistanceParentDaughter;}
100 inline float AliFemtoKink::HitDistanceParentVertex() const {return fHitDistanceParentVertex;}
101 inline float AliFemtoKink::DeltaEnergy(int i) const {return fDeltaEnergy[i];}
102 inline float AliFemtoKink::DecayAngle() const {return fDecayAngle;}
103 inline float AliFemtoKink::DecayAngleCM() const {return fDecayAngleCM;}
104 inline AliFemtoTrack AliFemtoKink::Daughter() const {return fDaughter;}
105 inline AliFemtoTrack AliFemtoKink::Parent() const {return mParent;}
106 inline AliFemtoThreeVector AliFemtoKink::Position() const {return mPosition;}