| 34 |
|
|
| 35 |
// Check the range of events to analyze |
// Check the range of events to analyze |
| 36 |
if (firstEvent > lastEvent) { |
if (firstEvent > lastEvent) { |
| 37 |
|
Finalize(); |
| 38 |
return; |
return; |
| 39 |
} |
} |
| 40 |
if (firstEvent < 0 || lastEvent > events->GetEntries() - 1) { |
if (firstEvent < 0 || lastEvent > events->GetEntries() - 1) { |
| 41 |
|
Finalize(); |
| 42 |
return; |
return; |
| 43 |
} |
} |
| 44 |
|
|
| 45 |
// Apply the cuts |
// Apply the cuts |
| 46 |
for (ULong_t iev = firstEvent; iev < lastEvent + 1; iev++) { |
for (_currEv = firstEvent; _currEv < lastEvent + 1; _currEv++) { |
| 47 |
events->GetEntry(iev); |
events->GetEntry(_currEv); |
| 48 |
ApplyCut(events); |
ApplyCut(events); |
| 49 |
} |
} |
| 50 |
|
|