42 #include "StHbtKink.hh"
43 #include "phys_constants.h"
44 #include "StHbtMaker/Infrastructure/StHbtTrack.hh"
48 mDcaParentDaughter = k.mDcaParentDaughter;
49 mDcaDaughterPrimaryVertex = k.mDcaDaughterPrimaryVertex;
50 mDcaParentPrimaryVertex = k.mDcaParentPrimaryVertex;
51 mHitDistanceParentDaughter = k.mHitDistanceParentDaughter;
52 mHitDistanceParentVertex = k.mHitDistanceParentVertex;
53 mDeltaEnergy[0] = k.mDeltaEnergy[0];
54 mDeltaEnergy[1] = k.mDeltaEnergy[1];
55 mDeltaEnergy[2] = k.mDeltaEnergy[2];
56 mDecayAngle = k.mDecayAngle;
57 mDecayAngleCM = k.mDecayAngleCM;
58 mDaughter = k.mDaughter;
60 mPosition = k.mPosition;
65 #include "StEvent/StTrack.h"
66 #include "StEvent/StKinkVertex.h"
70 mDcaParentDaughter = SKV.dcaParentDaughter();
71 mDcaDaughterPrimaryVertex = SKV.dcaDaughterPrimaryVertex();
72 mDcaParentPrimaryVertex = SKV.dcaParentPrimaryVertex();
73 mHitDistanceParentDaughter = SKV.hitDistanceParentDaughter();
74 mHitDistanceParentVertex = SKV.hitDistanceParentVertex();
75 mDeltaEnergy[0] = SKV.dE(0);
76 mDeltaEnergy[1] = SKV.dE(1);
77 mDeltaEnergy[2] = SKV.dE(2);
78 mDecayAngle = SKV.decayAngle();
79 mDecayAngleCM = SKV.decayAngleCM();
85 StTrk = SKV.daughter(0);
96 mPosition.setX(SKV.position().x());
97 mPosition.setY(SKV.position().y());
98 mPosition.setZ(SKV.position().z());
102 #include "StHbtMaker/Infrastructure/StHbtTTreeEvent.h"
103 #include "StHbtMaker/Infrastructure/StHbtTTreeKink.h"
104 #include "StHbtMaker/Infrastructure/StHbtTTreeTrack.h"
106 mDcaParentDaughter = k->mDcaParentDaughter;
107 mDcaDaughterPrimaryVertex = k->mDcaDaughterPrimaryVertex;
108 mDcaParentPrimaryVertex = k->mDcaParentPrimaryVertex;
109 mHitDistanceParentDaughter = k->mHitDistanceParentDaughter;
110 mHitDistanceParentVertex = k->mHitDistanceParentVertex;
111 mDeltaEnergy[0] = k->mDeltaEnergy[0];
112 mDeltaEnergy[1] = k->mDeltaEnergy[1];
113 mDeltaEnergy[2] = k->mDeltaEnergy[2];
114 mDecayAngle = k->mDecayAngle;
115 mDecayAngleCM = k->mDecayAngleCM;