304 |
* @param adcflag in the plane (100<-> independent of the adcflag; !=0&&!=100 <-> at least one PMT with adcflag!=0; ) |
* @param adcflag in the plane (100<-> independent of the adcflag; !=0&&!=100 <-> at least one PMT with adcflag!=0; ) |
305 |
*/ |
*/ |
306 |
Float_t ToFLevel2::GetdEdx(Int_t notrack, Int_t plane, Int_t adcfl){ |
Float_t ToFLevel2::GetdEdx(Int_t notrack, Int_t plane, Int_t adcfl){ |
307 |
ToFTrkVar *trk = GetToFTrkVar(notrack); |
// ToFTrkVar *trk = GetToFTrkVar(notrack); |
308 |
|
ToFTrkVar *trk = GetToFStoredTrack(notrack);//Elena 2015 |
309 |
return this->GetdEdx(trk, plane, adcfl); |
return this->GetdEdx(trk, plane, adcfl); |
310 |
} |
} |
311 |
|
|
331 |
Int_t SatWarning; |
Int_t SatWarning; |
332 |
Int_t pad=-1; |
Int_t pad=-1; |
333 |
// |
// |
334 |
|
if(!trk) cout << "ToFLevel2::GetdEdx(...) ---> NULL ToFTrkVar obj "<<endl; |
335 |
if(!trk) return 0; //ELENA |
if(!trk) return 0; //ELENA |
336 |
// |
// |
337 |
// ToF standalone part |
// ToF standalone part |
531 |
*/ |
*/ |
532 |
void ToFLevel2::GetdEdxPaddle(Int_t notrack, Int_t paddleid, Int_t adcfl, Float_t &PadEdx, Int_t &SatWarning){ |
void ToFLevel2::GetdEdxPaddle(Int_t notrack, Int_t paddleid, Int_t adcfl, Float_t &PadEdx, Int_t &SatWarning){ |
533 |
|
|
534 |
ToFTrkVar *trk = GetToFTrkVar(notrack); |
// ToFTrkVar *trk = GetToFTrkVar(notrack); |
535 |
|
ToFTrkVar *trk = GetToFStoredTrack(notrack); //Elena 2015 |
536 |
this->GetdEdxPaddle(trk, paddleid, adcfl, PadEdx, SatWarning); |
this->GetdEdxPaddle(trk, paddleid, adcfl, PadEdx, SatWarning); |
537 |
|
|
538 |
}; |
}; |
582 |
Int_t pmt_id = -1; |
Int_t pmt_id = -1; |
583 |
Float_t adcraw[48]; |
Float_t adcraw[48]; |
584 |
// |
// |
585 |
|
if(!trk)cout << "ToFLevel2::GetdEdxPaddle(...) ---> NULL ToFTrkVar obj "<<endl; |
586 |
if(!trk) return; //ELENA |
if(!trk) return; //ELENA |
587 |
// |
// |
588 |
|
|