fIndexInList = -1 ;
fNprimary = 0 ;
fPrimary = 0;
+ fTime = 0. ;
+ fTimeR = 0. ;
}
//____________________________________________________________________________
fAmp = digEnergy ;
fTime = time ;
+ fTimeR = fTime ;
fId = id ;
fIndexInList = index ;
if( primary != -1){
fPrimary = 0 ;
fAmp = digit.fAmp ;
fTime = digit.fTime ;
+ fTimeR = digit.fTimeR ;
fId = digit.fId;
fIndexInList = digit.fIndexInList ;
}
}
//____________________________________________________________________________
-void AliPHOSDigit::Print(Option_t *) const
+void AliPHOSDigit::Print() const
{
- printf("PHOS digit: Amp=%d, Id=%d, Time=%f, NPrim=%d ",fAmp,fId,fTime,fNprimary);
+ // Print the digit together with list of primaries
+ printf("PHOS digit: Amp=%d, Id=%d, Time=%e, TimeR=%e, NPrim=%d ",fAmp,fId,fTime,fTimeR,fNprimary);
for(Int_t index = 0; index <fNprimary; index ++ )
printf(" %d ",fPrimary[index]);
printf("\n") ;
fAmp += digit.fAmp ;
if(fTime > digit.fTime)
fTime = digit.fTime ;
+ fTimeR = fTime ;
return *this ;
}
//____________________________________________________________________________