]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG2/FEMTOSCOPY/AliFemto/Infrastructure/AliFemtoKink.h
This commit was generated by cvs2svn to compensate for changes in r18145,
[u/mrichter/AliRoot.git] / PWG2 / FEMTOSCOPY / AliFemto / Infrastructure / AliFemtoKink.h
1 /***********************************************************************
2  *
3  * $Id$
4  *
5  * Author: Mike Lisa, Ohio State, 23May2001
6  *
7  ***********************************************************************
8  *
9  * Description: Kink class with information gotten from the StKinkVertex
10  *              of Wenshen Deng and Spiros Margetis
11  *
12  ***********************************************************************
13  *
14  * $Log$
15  * Revision 1.1.1.1  2007/03/07 10:14:49  mchojnacki
16  * First version on CVS
17  *
18  * Revision 1.4  2003/09/02 17:58:32  perev
19  * gcc 3.2 updates + WarnOff
20  *
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
23  *
24  * Revision 1.2  2001/06/21 19:15:46  laue
25  * Modified fiels:
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
37  *
38  * Revision 1.1  2001/05/25 23:23:59  lisa
39  * Added in AliFemtoKink stuff
40  *
41  * 
42  *
43  ***********************************************************************/
44 #ifndef AliFemtoKink_hh
45 #define AliFemtoKink_hh
46
47 class StKinkVertex;
48 //#include "StEvent/StKinkVertex.h"  // from StEvent
49 #include "Infrastructure/AliFemtoTrack.h"
50
51 #include "Infrastructure/AliFemtoTypes.h" //same as in AliFemtoTrack.h
52
53 class AliFemtoKink {
54 public:
55   AliFemtoKink(){/* no-op */}
56   AliFemtoKink( const AliFemtoKink&); // copy constructor
57 #ifndef __NO_STAR_DEPENDENCE_ALLOWED__
58 #ifdef __ROOT__
59   AliFemtoKink( const StKinkVertex&, AliFemtoThreeVector PrimaryVertex); // create a AliFemtoKink from a StKinkVertex
60 #endif
61 #endif
62   ~AliFemtoKink(){/* no-op */}
63
64   // Get's
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; 
76
77   
78
79 protected:
80
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)
92
93 };
94
95 // Get's
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;}
107
108
109
110
111 #endif
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129