SetupHisto(messages, *hdata, rv);
}
else if(irawHisto==23){
- Double_t refTDCs = -329.5;
+ Double_t refTDCs = -319.5;
Float_t resTDC=0.;
for(int ibin=5; ibin<=6; ibin++){
if(TMath::Abs((hdata->GetBinContent(ibin))-refTDCs)<2.){
}
// --- Check whether (sum PMQi - PMC)/PMC < percentageDiff
if(irecHisto==11){
- if(TMath::Abs(meanZNC)>1.e-10){
+ if((TMath::Abs(meanZNC)>1.e-10) && (pmCZNC>1.e-10)){
if((TMath::Abs(pmQZNC-pmCZNC)/pmCZNC)<percentageDiff)
res=1.;
else
test[specie] += res;
count++;
}
- if(TMath::Abs(meanZNA)>1.e-10){
+ if((TMath::Abs(meanZNA)>1.e-10) && (pmCZNA>1.e-10)){
if((TMath::Abs(pmQZNA-pmCZNA)/pmCZNA)<percentageDiff)
res=1.;
else
test[specie] += res;
count++;
}
- if(TMath::Abs(meanZPC)>1.e-10){
+ if((TMath::Abs(meanZPC)>1.e-10) && (pmCZPC>1.e-10)){
if((TMath::Abs(pmQZPC-pmCZPC)/pmCZPC)<percentageDiff)
res=1.;
else
test[specie] += res;
count++;
}
- if(TMath::Abs(meanZPA)>1.e-10){
+ if((TMath::Abs(meanZPA)>1.e-10) && (pmCZPA>1.e-10)){
if((TMath::Abs(pmQZPA-pmCZPA)/pmCZPA)<percentageDiff)
res=1.;
else
test[specie] += res;
count++;
}
- if(TMath::Abs(sumADCZPC)>1.e-10){
+/* if(TMath::Abs(sumADCZPC)>1.e-10){
if((TMath::Abs(pmQZPC-pmCZPC)/pmCZPC)<percentageDiff)
res=1.;
else
test[specie] += res;
count++;
}
+*/
}
esdInd++;
}