49 |
}; |
}; |
50 |
clx = 0; |
clx = 0; |
51 |
cly = 0; |
cly = 0; |
52 |
|
// clx = new TRefArray(6,0); |
53 |
|
// cly = new TRefArray(6,0); |
54 |
}; |
}; |
55 |
//-------------------------------------- |
//-------------------------------------- |
56 |
// |
// |
81 |
dedx_x[ip] = t.dedx_x[ip]; |
dedx_x[ip] = t.dedx_x[ip]; |
82 |
dedx_y[ip] = t.dedx_y[ip]; |
dedx_y[ip] = t.dedx_y[ip]; |
83 |
}; |
}; |
84 |
clx = new TRefArray(*(t.clx)); |
clx = 0; |
85 |
cly = new TRefArray(*(t.cly)); |
cly = 0; |
86 |
|
if(t.clx)clx = new TRefArray(*(t.clx)); |
87 |
|
if(t.cly)cly = new TRefArray(*(t.cly)); |
88 |
|
|
89 |
}; |
}; |
90 |
//-------------------------------------- |
//-------------------------------------- |
535 |
// |
// |
536 |
//-------------------------------------- |
//-------------------------------------- |
537 |
TrkLevel2::TrkLevel2(){ |
TrkLevel2::TrkLevel2(){ |
538 |
// cout <<"TrkLevel2::TrkLevel2()"<<endl; |
// cout <<"TrkLevel2::TrkLevel2()"<<endl; |
539 |
for(Int_t i=0; i<12 ; i++){ |
for(Int_t i=0; i<12 ; i++){ |
540 |
good[i] = -1; |
good[i] = -1; |
541 |
}; |
}; |
542 |
// Track = new TClonesArray("TrkTrack"); |
// okkio!! memory-leak |
543 |
// SingletX = new TClonesArray("TrkSinglet"); |
// Track = new TClonesArray("TrkTrack"); |
544 |
// SingletY = new TClonesArray("TrkSinglet"); |
// SingletX = new TClonesArray("TrkSinglet"); |
545 |
|
// SingletY = new TClonesArray("TrkSinglet"); |
546 |
Track = 0; |
Track = 0; |
547 |
SingletX = 0; |
SingletX = 0; |
548 |
SingletY = 0; |
SingletY = 0; |
552 |
// |
// |
553 |
// |
// |
554 |
//-------------------------------------- |
//-------------------------------------- |
555 |
|
void TrkLevel2::Set(){ |
556 |
|
if(!Track)Track = new TClonesArray("TrkTrack"); |
557 |
|
if(!SingletX)SingletX = new TClonesArray("TrkSinglet"); |
558 |
|
if(!SingletY)SingletY = new TClonesArray("TrkSinglet"); |
559 |
|
} |
560 |
|
//-------------------------------------- |
561 |
|
// |
562 |
|
// |
563 |
|
//-------------------------------------- |
564 |
void TrkLevel2::Dump(){ |
void TrkLevel2::Dump(){ |
565 |
|
|
566 |
// |
// |