TString name = GetName();
- fInputs.AddLast( new AliTriggerInput( "PHOS_L0", name, 0 ) );
+ fInputs.AddLast( new AliTriggerInput( "0PH0", name, 0 ) );
fInputs.AddLast( new AliTriggerInput( "PHOS_JetHPt_L1",name, 1 ) );
fInputs.AddLast( new AliTriggerInput( "PHOS_JetMPt_L1",name, 1 ) );
fInputs.AddLast( new AliTriggerInput( "PHOS_JetLPt_L1",name, 1 ) );
AliDebug(2,Form("Type %d, Maximum amplitude %f, patch+isol square %f",iPatchType, maxamp, amp));
- if(TMath::Nint(amp*1E5) < TMath::Nint(maxamp*1E5)){
+ if(amp < maxamp){
AliError(Form("Bad sum: Type %d, Maximum amplitude %f, patch+isol square %f",iPatchType, maxamp, amp));
return kFALSE;
}
fL0Threshold) ;
printf( " Threshold for LO %10.2f\n", fL0Threshold) ;
- in = (AliTriggerInput*)fInputs.FindObject( "PHOS_L0" );
+ in = (AliTriggerInput*)fInputs.FindObject( "0PH0" );
if(in->GetValue())
printf( " *** PHOS LO is set ***\n") ;
//Set L0
for(Int_t i = 0 ; i < nTimeBins ; i++){
if(fADCValuesHigh2x2[i] >= fL0Threshold || fADCValuesLow2x2[i] >= fL0Threshold) {
- SetInput("PHOS_L0") ;
+ SetInput("0PH0") ;
break;
}
}