| 11 |
extern "C" { |
extern "C" { |
| 12 |
void dotrack_(int*, double*, double*, double*, double*, int*); |
void dotrack_(int*, double*, double*, double*, double*, int*); |
| 13 |
void dotrack2_(int*, double*, double*, double*, double*,double*, double*, double*,int*); |
void dotrack2_(int*, double*, double*, double*, double*,double*, double*, double*,int*); |
| 14 |
int readb_(const char*); |
int readb_(const char*); |
| 15 |
} |
} |
| 16 |
//-------------------------------------- |
//-------------------------------------- |
| 17 |
// |
// |
| 247 |
// |
// |
| 248 |
// |
// |
| 249 |
//-------------------------------------- |
//-------------------------------------- |
| 250 |
|
void TrkTrack::Delete(){ |
| 251 |
|
Clear(); |
| 252 |
|
clx->Delete(); |
| 253 |
|
cly->Delete(); |
| 254 |
|
}; |
| 255 |
|
//-------------------------------------- |
| 256 |
|
// |
| 257 |
|
// |
| 258 |
|
//-------------------------------------- |
| 259 |
|
|
| 260 |
//-------------------------------------- |
//-------------------------------------- |
| 261 |
// |
// |
| 578 |
// |
// |
| 579 |
// |
// |
| 580 |
//-------------------------------------- |
//-------------------------------------- |
| 581 |
|
void TrkLevel2::Delete(){ |
| 582 |
|
|
| 583 |
|
Clear(); |
| 584 |
|
Track->Delete(); |
| 585 |
|
SingletX->Delete(); |
| 586 |
|
SingletY->Delete(); |
| 587 |
|
} |
| 588 |
|
//-------------------------------------- |
| 589 |
|
// |
| 590 |
|
// |
| 591 |
|
//-------------------------------------- |
| 592 |
/** |
/** |
| 593 |
* Sort physical tracks and stores them in a TObjectArray, ordering by increasing chi**2 value (in case of track image, it selects the one with lower chi**2). The total number of physical tracks is given by GetNTracks() and the it-th physical track can be retrieved by means of the method GetTrack(int it). |
* Sort physical tracks and stores them in a TObjectArray, ordering by increasing chi**2 value (in case of track image, it selects the one with lower chi**2). The total number of physical tracks is given by GetNTracks() and the it-th physical track can be retrieved by means of the method GetTrack(int it). |
| 594 |
* This method is overridden by PamLevel2::GetTracks(), where calorimeter and TOF information is used. |
* This method is overridden by PamLevel2::GetTracks(), where calorimeter and TOF information is used. |
| 732 |
|
|
| 733 |
Float_t ntot=0; |
Float_t ntot=0; |
| 734 |
TClonesArray &t = *Track; |
TClonesArray &t = *Track; |
| 735 |
for(int i=0; i<ntrk(); i++) { |
for(int i=0; i<ntrk(); i++) { |
| 736 |
if( ((TrkTrack *)t[i])->GetImageSeqNo() == -1 ) ntot+=1.; |
if( ((TrkTrack *)t[i])->GetImageSeqNo() == -1 ) ntot+=1.; |
| 737 |
else ntot+=0.5; |
else ntot+=0.5; |
| 738 |
} |
} |