CGEM BOSS 6.6.5.h
BESIII Offline Software System
Loading...
Searching...
No Matches
DstCgemSegment.cxx
Go to the documentation of this file.
1
3
5: m_segmentId(0),
6 m_clusterId_1(0),
7 m_clusterId_2(0),
8 m_clusterId_3(0),
9 m_match(0),
10 m_eventId(0)
11{
12 for(int i=0;i<5;i++){
13 m_helix[i] = 0.;
14 }
15 for(int i=0;i<15;i++){
16 m_helix_err[i] = 0.;
17 }
18}
19
21: m_segmentId(other.m_segmentId),
22 m_clusterId_1(other.m_clusterId_1),
23 m_clusterId_2(other.m_clusterId_2),
24 m_clusterId_3(other.m_clusterId_3),
25 m_match(other.m_match),
26 m_eventId(other.m_eventId)
27{
28 for(int i=0;i<5;i++){
29 m_helix[i] = (other.m_helix)[i];
30 }
31 for(int i=0;i<15;i++){
32 m_helix_err[i] = (other.m_helix_err)[i];
33 }
34}
35
36
38 if( &h != this ){
41 m_match = h.m_match;
45 for(int i=0;i<5;i++){
46 m_helix[i] = (h.m_helix)[i];
47 }
48 for(int i=0;i<15;i++){
49 m_helix_err[i] = (h.m_helix_err)[i];
50 }
51 }
52 return *this;
53}
54
55void DstCgemSegment::sethelix(double helix[5]){
56 for(int i=0;i<5;i++){
57 m_helix[i] = helix[i];
58 }
59}
60
61void DstCgemSegment::sethelix_err(double helix_err[15]){
62 for(int i=0;i<15;i++){
63 m_helix_err[i] = helix_err[i];
64 }
65}
66
67
DstCgemSegment & operator=(const DstCgemSegment &)
double m_helix[5]
double m_helix_err[15]
void sethelix(double helix[5])
void sethelix_err(double helix_err[15])