StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StHbtTTreeKink.cxx
1 /***********************************************************************
2  *
3  * $Id: StHbtTTreeKink.cxx,v 1.2 2001/09/05 20:41:42 laue Exp $
4  *
5  * Author: Frank Laue, BNL;
6  *
7  ***********************************************************************
8  *
9  * Description: Kink class with information gotten from the StKinkVertex
10  * of Wenshen Deng and Spiros Margetis
11  *
12  ***********************************************************************/
13 #include "StHbtMaker/Infrastructure/StHbtEvent.hh"
14 #include "StHbtMaker/Infrastructure/StHbtKink.hh"
15 #include "StHbtMaker/Infrastructure/StHbtTTreeTrack.h"
16 
17 #include "StHbtMaker/Infrastructure/StHbtTTreeKink.h"
18 
19 #ifdef __ROOT__
20 ClassImp(StHbtTTreeKink)
21 
22 
24  mDcaParentDaughter = k->mDcaParentDaughter;
25  mDcaDaughterPrimaryVertex = k->mDcaDaughterPrimaryVertex;
26  mDcaParentPrimaryVertex = k->mDcaParentPrimaryVertex;
27  mHitDistanceParentDaughter = k->mHitDistanceParentDaughter;
28  mHitDistanceParentVertex = k->mHitDistanceParentVertex;
29  mDeltaEnergy[0] = k->mDeltaEnergy[0];
30  mDeltaEnergy[1] = k->mDeltaEnergy[1];
31  mDeltaEnergy[2] = k->mDeltaEnergy[2];
32  mDecayAngle = k->mDecayAngle;
33  mDecayAngleCM = k->mDecayAngleCM;
34  mDaughter = StHbtTTreeTrack(e, &(k->mDaughter));
35  mParent = StHbtTTreeTrack(e, &(k->mParent));
36  mPositionX = k->mPosition.x();
37  mPositionY = k->mPosition.y();
38  mPositionZ = k->mPosition.z();
39 };
40 
41 #endif
42 
43 /***********************************************************************
44  * $Log: StHbtTTreeKink.cxx,v $
45  * Revision 1.2 2001/09/05 20:41:42 laue
46  * Updates of the hbtMuDstTree microDSTs
47  *
48  * Revision 1.1 2001/06/21 19:15:47 laue
49  * Modified fiels:
50  * CTH.hh : new constructor added
51  * StHbtEvent, StHbtKink, StHbtTrack : constructors from the persistent
52  * (TTree) classes added
53  * StHbtLikeSignAnalysis : minor changes, for debugging
54  * StHbtTypes: split into different files
55  * Added files: for the new TTree muDst's
56  * StExceptions.cxx StExceptions.hh StHbtEnumeration.hh
57  * StHbtHelix.hh StHbtHisto.hh StHbtString.hh StHbtTFile.hh
58  * StHbtTTreeEvent.cxx StHbtTTreeEvent.h StHbtTTreeKink.cxx
59  * StHbtTTreeKink.h StHbtTTreeTrack.cxx StHbtTTreeTrack.h
60  * StHbtTTreeV0.cxx StHbtTTreeV0.h StHbtVector.hh
61  *
62  *
63  ***********************************************************************/
64 
65 
66 
67 
68 
69 
70 
71 
72 
73 
74 
75 
76 
77 
78 
79 
80