|
@@ -206,7 +206,8 @@ int main(int argc, char **argv)
|
|
|
std::vector<Long64_t> vRejectedEvents;
|
|
|
|
|
|
Long64_t Nentries_chain = readerManager->GetEntries();
|
|
|
- Long64_t Nentries = (qaUtility::GetInstance()->Nevents < Nentries_chain) ? Nentries_chain : qaUtility::GetInstance()->Nevents;
|
|
|
+ Long64_t Nentries = (qaUtility::GetInstance()->Nevents > Nentries_chain) ? Nentries_chain : qaUtility::GetInstance()->Nevents;
|
|
|
+ if (qaUtility::GetInstance()->Nevents == -1) Nentries = Nentries_chain;
|
|
|
Int_t Nparticles;
|
|
|
Int_t Ncounter_minbias, Ncounter_refmult;
|
|
|
|
|
@@ -375,7 +376,7 @@ int main(int argc, char **argv)
|
|
|
}
|
|
|
|
|
|
std::cout << "Loop is closed, " << Minbias_counter << " minbias events were counted (" << Absolute_counter-1 << " events in total)." << std::endl;
|
|
|
- if (qaUtility::GetInstance()->debug != 0)
|
|
|
+ if (qaUtility::GetInstance()->debug)
|
|
|
{
|
|
|
if (vRejectedEvents.size() > 0)
|
|
|
{
|