if(strstr(option,"tim")){
gBenchmark->Stop("EMCALDigitizer");
- AliInfo(Form("Digitize: took %f seconds for Digitizing %f seconds per event",
- gBenchmark->GetCpuTime("EMCALDigitizer"), gBenchmark->GetCpuTime("EMCALDigitizer")/nEvents )) ;
+ Float_t cputime = gBenchmark->GetCpuTime("EMCALDigitizer");
+ Float_t avcputime = cputime;
+ if(nEvents==0) avcputime = 0 ;
+ AliInfo(Form("Digitize: took %f seconds for Digitizing %f seconds per event", cputime, avcputime)) ;
}
}
if (digit)
{
Int_t id = digit->GetId();
- Float_t time = digit->GetTime();
+ Float_t time = 50.e-9;
Double_t depositedEnergy = 0.;
for (Int_t j = 1; j <= digit->GetNprimary(); j++) depositedEnergy += digit->GetDEPrimary(j);