fCutResult = (fCutValueU == fMinU);
// print debug message
AliDebug(AliLog::kDebug + 3, "=== CUT DEBUG ====================================");
- AliDebug(AliLog::kDebug + 3, Form("Cut name : %s", GetName()));
- AliDebug(AliLog::kDebug + 3, Form("Checked value: %d", fCutValueU));
- AliDebug(AliLog::kDebug + 3, Form("Cut value : %d", fMinU));
- AliDebug(AliLog::kDebug + 3, Form("Cut result : %s", (fCutResult ? "PASSED" : "NOT PASSED")));
+ AliDebug(AliLog::kDebug + 3, Form("Cut name : %s" , GetName()));
+ AliDebug(AliLog::kDebug + 3, Form("Checked value: %lu", fCutValueU));
+ AliDebug(AliLog::kDebug + 3, Form("Cut value : %lu", fMinU));
+ AliDebug(AliLog::kDebug + 3, Form("Cut result : %s" , (fCutResult ? "PASSED" : "NOT PASSED")));
AliDebug(AliLog::kDebug + 3, "=== END CUT DEBUG ================================");
break;
case kDouble:
fCutResult = ((fCutValueU >= fMinU) && (fCutValueU <= fMaxU));
// print debug message
AliDebug(AliLog::kDebug + 3, "=== CUT DEBUG ====================================");
- AliDebug(AliLog::kDebug + 2, Form("Cut name : %s", GetName()));
- AliDebug(AliLog::kDebug + 2, Form("Checked value: %d", fCutValueU));
- AliDebug(AliLog::kDebug + 2, Form("Cut range : %d , %d", fMinU, fMaxU));
- AliDebug(AliLog::kDebug + 2, Form("Cut result : %s", (fCutResult ? "PASSED" : "NOT PASSED")));
+ AliDebug(AliLog::kDebug + 2, Form("Cut name : %s" , GetName()));
+ AliDebug(AliLog::kDebug + 2, Form("Checked value: %lu" , fCutValueU));
+ AliDebug(AliLog::kDebug + 2, Form("Cut range : %lu , %lu", fMinU, fMaxU));
+ AliDebug(AliLog::kDebug + 2, Form("Cut result : %s" , (fCutResult ? "PASSED" : "NOT PASSED")));
AliDebug(AliLog::kDebug + 3, "=== END CUT DEBUG ================================");
break;
case kDouble:
// coherence check
if (tgt != AliRsnCut::kParticle) {
- AliError(Form("Wrong target. Skipping cut", GetName()));
+ AliError(Form("[%s] Wrong target. Skipping cut", GetName()));
return kTRUE;
}
// coherence check
if (tgt != AliRsnCut::kParticle) {
- AliError(Form("Wrong target. Skipping cut", GetName()));
+ AliError(Form("[%s] Wrong target. Skipping cut", GetName()));
return kTRUE;
}
// coherence check
if (tgt != AliRsnCut::kEvent) {
- AliError(Form("Wrong target. Skipping cut", GetName()));
+ AliError(Form("[%s] Wrong target. Skipping cut", GetName()));
return kTRUE;
}
if (fVarType != kULong) {
AliWarning(Form("[INT CONSTRUCTOR] Cut '%s' is based on ULONG. Casting values to ULONG", GetName()));
SetRange((ULong_t)val1, (ULong_t)val2);
- AliWarning(Form("[INT CONSTRUCTOR] Cut '%s' ULONG range = %d, %d", GetName(), fMinU, fMaxU));
+ AliWarning(Form("[INT CONSTRUCTOR] Cut '%s' ULONG range = %lu, %lu", GetName(), fMinU, fMaxU));
}
break;
// double
if (fVarType != kULong) {
AliWarning(Form("[DOUBLE CONSTRUCTOR] Cut '%s' is based on ULONG. Casting values to ULONG", GetName()));
SetRange((ULong_t)val1, (ULong_t)val2);
- AliWarning(Form("[DOUBLE CONSTRUCTOR] Cut '%s' ULONG range = %d, %d", GetName(), fMinU, fMaxU));
+ AliWarning(Form("[DOUBLE CONSTRUCTOR] Cut '%s' ULONG range = %lu, %lu", GetName(), fMinU, fMaxU));
}
break;
// double
// coherence check
if (tgt != AliRsnCut::kParticle) {
- AliError(Form("Wrong target. Skipping cut", GetName()));
+ AliError(Form("[%s] Wrong target. Skipping cut", GetName()));
return kTRUE;
}
// coherence check
if (tgt != AliRsnCut::kPair) {
- AliError(Form("Wrong target. Skipping cut", GetName()));
+ AliError(Form("[%s] Wrong target. Skipping cut", GetName()));
return kTRUE;
}
// coherence check
if (tgt != AliRsnCut::kEvent) {
- AliError(Form("Wrong target. Skipping cut", GetName()));
+ AliError(Form("[%s] Wrong target. Skipping cut", GetName()));
return kTRUE;
}
// coherence check
if (tgt != AliRsnCut::kMixEvent) {
- AliError(Form("Wrong target. Skipping cut", GetName()));
+ AliError(Form("[%s] Wrong target. Skipping cut", GetName()));
return kTRUE;
}
return kFALSE;
}
if (charge != '+' && charge != '-') {
- AliError(Form("Character '%c' not recognized as charge sign"));
+ AliError(Form("Character '%c' not recognized as charge sign", charge));
return kFALSE;
}
if (type < 0 && type > (Int_t)AliPID::kSPECIES) {
// to inform about number of events processed
//
- if ((num+1) % fPrintInfoNumber == 0) AliInfo(Form("Events processed %d",num+1));
+ if ((num+1) % fPrintInfoNumber == 0) AliInfo(Form("Events processed %l",num+1));
}
// or number of events is less or equal 1
//
- AliInfo(Form("Current Entry %d", Entry()));
+ AliInfo(Form("Current Entry %l", Entry()));
Int_t nEvents = fInputHandler->GetBufferSize();
if (nEvents <= 1) return kFALSE;
fESDEvent = dynamic_cast<AliESDEvent*>(GetEvent(0));
}
AliInfo(Form("=== %s ==================", GetName()));
- AliInfo(Form("Number Of Events Processed : %10d", (Long64_t)hEventInfo->Integral()));
- AliInfo(Form("Number Of Events Accepted : %10d", (Long64_t)hEventInfo->GetBinContent(2)));
- AliInfo(Form("Number Of Events Skipped : %10d", (Long64_t)hEventInfo->GetBinContent(1)));
+ AliInfo(Form("Number Of Events Processed : %10l", (Long64_t)hEventInfo->Integral()));
+ AliInfo(Form("Number Of Events Accepted : %10l", (Long64_t)hEventInfo->GetBinContent(2)));
+ AliInfo(Form("Number Of Events Skipped : %10l", (Long64_t)hEventInfo->GetBinContent(1)));
AliInfo(Form("=== end %s ==============", GetName()));
AliDebug(AliLog::kDebug+2,"->");
}
AliInfo(Form("=== %s ==================",GetName()));
- AliInfo(Form("Number Of Events Processed : %10d",(Long64_t)hEventInfo->Integral()));
- AliInfo(Form("Number Of Events Accepted : %10d",(Long64_t)hEventInfo->GetBinContent(2)));
- AliInfo(Form("Number Of Events Skipped : %10d",(Long64_t)hEventInfo->GetBinContent(1)));
+ AliInfo(Form("Number Of Events Processed : %10l",(Long64_t)hEventInfo->Integral()));
+ AliInfo(Form("Number Of Events Accepted : %10l",(Long64_t)hEventInfo->GetBinContent(2)));
+ AliInfo(Form("Number Of Events Skipped : %10l",(Long64_t)hEventInfo->GetBinContent(1)));
AliInfo(Form("=== end %s ==============",GetName()));
AliDebug(AliLog::kDebug+2, "->");