//__________________________________________________________________
Bool_t ProcessHit(AliFMDHit* hit, TParticle*)
{
+ // Info("ProcessHit", "Processing hit %p", hit);
// Cache the energy loss
if (!hit) return kFALSE;
UShort_t det = hit->Detector();
}
fMap(det, rng, sec, str).fEdep += hit->Edep();
fMap(det, rng, sec, str).fN++;
+ // hit->Print();
return kTRUE;
}
//__________________________________________________________________
Bool_t ProcessDigit(AliFMDDigit* digit)
{
+ // Info("ProcessDigit", "Processing digit %p", digit);
if (!digit) return kFALSE;
UShort_t det = digit->Detector();
Char_t rng = digit->Ring();
return kFALSE;
}
fElossVsAdc->Fill(fMap(det, rng, sec, str).fEdep, digit->Counts());
+ if (fMap(det, rng, sec, str).fEdep > 0)
+ Info("ProcessDigit", "FMD%d%c[%2d,%3d] Edep=%8.5f -> ADC=0x%03x",
+ det, rng, sec, str,
+ fMap(det, rng, sec, str).fEdep, digit->Counts());
return kTRUE;
}
//__________________________________________________________________