]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG2/FEMTOSCOPY/AliFemto/AliFemtoKink.h
Removing not needed files
[u/mrichter/AliRoot.git] / PWG2 / FEMTOSCOPY / AliFemto / AliFemtoKink.h
CommitLineData
67427ff7 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$
d0e92d9a 15 * Revision 1.2 2007/05/03 09:42:29 akisiel
16 * Fixing Effective C++ warnings
17 *
0215f606 18 * Revision 1.1.1.1 2007/04/25 15:38:41 panos
19 * Importing the HBT code dir
20 *
67427ff7 21 * Revision 1.1.1.1 2007/03/07 10:14:49 mchojnacki
22 * First version on CVS
23 *
24 * Revision 1.4 2003/09/02 17:58:32 perev
25 * gcc 3.2 updates + WarnOff
26 *
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
29 *
30 * Revision 1.2 2001/06/21 19:15:46 laue
31 * Modified fiels:
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
43 *
44 * Revision 1.1 2001/05/25 23:23:59 lisa
45 * Added in AliFemtoKink stuff
46 *
47 *
48 *
49 ***********************************************************************/
50#ifndef AliFemtoKink_hh
51#define AliFemtoKink_hh
52
53class StKinkVertex;
54//#include "StEvent/StKinkVertex.h" // from StEvent
d0e92d9a 55#include "AliFemtoTrack.h"
67427ff7 56
d0e92d9a 57#include "AliFemtoTypes.h" //same as in AliFemtoTrack.h
67427ff7 58
59class AliFemtoKink {
60public:
0215f606 61 AliFemtoKink();
67427ff7 62 AliFemtoKink( const AliFemtoKink&); // copy constructor
63#ifndef __NO_STAR_DEPENDENCE_ALLOWED__
64#ifdef __ROOT__
65 AliFemtoKink( const StKinkVertex&, AliFemtoThreeVector PrimaryVertex); // create a AliFemtoKink from a StKinkVertex
66#endif
67#endif
68 ~AliFemtoKink(){/* no-op */}
69
70 // Get's
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;
82
83
84
85protected:
86
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)
98
99};
100
101// Get's
102inline float AliFemtoKink::DcaParentDaughter() const {return fDcaParentDaughter;}
103inline float AliFemtoKink::DcaDaughterPrimaryVertex() const {return fDcaDaughterPrimaryVertex;}
104inline float AliFemtoKink::DcaParentPrimaryVertex() const {return fDcaParentPrimaryVertex;}
105inline float AliFemtoKink::HitDistanceParentDaughter() const {return fHitDistanceParentDaughter;}
106inline float AliFemtoKink::HitDistanceParentVertex() const {return fHitDistanceParentVertex;}
107inline float AliFemtoKink::DeltaEnergy(int i) const {return fDeltaEnergy[i];}
108inline float AliFemtoKink::DecayAngle() const {return fDecayAngle;}
109inline float AliFemtoKink::DecayAngleCM() const {return fDecayAngleCM;}
110inline AliFemtoTrack AliFemtoKink::Daughter() const {return fDaughter;}
111inline AliFemtoTrack AliFemtoKink::Parent() const {return mParent;}
112inline AliFemtoThreeVector AliFemtoKink::Position() const {return mPosition;}
113
114
115
116
117#endif
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135