StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StHbtTTreeV0.cxx
1 /***********************************************************************
2  *
3  * StHbtTTreeV0.h,v 1.0 1999/09/07
4  *
5  * Authors: Frank Laue, BNL, laue@bnl.gov
6  *
7  ***********************************************************************/
8 
9 #include "StHbtTTreeV0.h"
10 #include "StHbtEvent.hh"
11 #include "StHbtV0.hh"
12 
13 
14 //----------------------------------------------------------------------------
15 //----------------------------------------------------------------------------
16 //----------------------------------------------------------------------------
17 StHbtTTreeV0::StHbtTTreeV0(const StHbtEvent* event, const StHbtV0* v){ // copy constructor
18  mDecayVertexV0X = v->mDecayVertexV0.x();
19  mDecayVertexV0Y = v->mDecayVertexV0.y();
20  mDecayVertexV0Z = v->mDecayVertexV0.z();
21 
22  mDecayLengthV0 = v->mDecayLengthV0;
23  mDcaV0Daughters = v->mDcaV0Daughters;
24  mDcaV0ToPrimVertex = v->mDcaV0ToPrimVertex;
25  mDcaPosToPrimVertex = v->mDcaPosToPrimVertex;
26  mDcaNegToPrimVertex = v->mDcaNegToPrimVertex;
27 
28  mMomPosX = v->mMomPos.x();
29  mMomPosY = v->mMomPos.y();
30  mMomPosZ = v->mMomPos.z();
31  mMomNegX = v->mMomNeg.x();
32  mMomNegY = v->mMomNeg.y();
33  mMomNegZ = v->mMomNeg.z();
34 
35  mTrackTopologyMapPos[0] = v->mTrackTopologyMapPos[0];
36  mTrackTopologyMapPos[1] = v->mTrackTopologyMapPos[1];
37  mTrackTopologyMapNeg[0] = v->mTrackTopologyMapNeg[0];
38  mTrackTopologyMapNeg[1] = v->mTrackTopologyMapNeg[1];
39 
40  mKeyPos = v->mKeyPos;
41  mKeyNeg = v->mKeyNeg;
42 
43  mTpcHitsPos = v->mTpcHitsPos;
44  mTpcHitsNeg = v->mTpcHitsNeg;
45 
46  mChi2V0 = v->mChi2V0;
47  mClV0 = v->mClV0;
48  mChi2Pos = v->mChi2Pos;
49  mClPos = v->mClPos;
50  mChi2Neg = v->mChi2Neg;
51  mClNeg = v->mClNeg;
52 
53  mDedxPos = v->mDedxPos;
54  mErrDedxPos = v->errdedxPos(); //Gael 04Fev2002
55  mLenDedxPos = v->lendedxPos(); //Gael 04Fev2002
56 
57  mDedxNeg = v->mDedxNeg;
58  mErrDedxNeg = v->errdedxNeg(); //Gael 04Fev2002
59  mLenDedxNeg = v->lendedxNeg(); //Gael 04Fev2002
60 
61  mNumDedxPos = v->mNumDedxPos;
62  mNumDedxNeg = v->mNumDedxNeg;
63 }
64 
65 ClassImp(StHbtTTreeV0)
66 
67 /***********************************************************************
68  *
69  * $Log: StHbtTTreeV0.cxx,v $
70  * Revision 1.3 2002/02/09 19:25:36 laue
71  * updates (dedx length)
72  *
73  * Revision 1.2 2001/09/05 20:41:42 laue
74  * Updates of the hbtMuDstTree microDSTs
75  *
76  * Revision 1.1 2001/06/21 19:15:47 laue
77  * Modified fiels:
78  * CTH.hh : new constructor added
79  * StHbtEvent, StHbtKink, StHbtTrack : constructors from the persistent
80  * (TTree) classes added
81  * StHbtLikeSignAnalysis : minor changes, for debugging
82  * StHbtTypes: split into different files
83  * Added files: for the new TTree muDst's
84  * StExceptions.cxx StExceptions.hh StHbtEnumeration.hh
85  * StHbtHelix.hh StHbtHisto.hh StHbtString.hh StHbtTFile.hh
86  * StHbtTTreeEvent.cxx StHbtTTreeEvent.h StHbtTTreeKink.cxx
87  * StHbtTTreeKink.h StHbtTTreeTrack.cxx StHbtTTreeTrack.h
88  * StHbtTTreeV0.cxx StHbtTTreeV0.h StHbtVector.hh
89  *
90  *
91  ***********************************************************************/