ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitAna/PhysicsMod/src/RunLumiSelectionMod.cc
(Generate patch)

Comparing UserCode/MitAna/PhysicsMod/src/RunLumiSelectionMod.cc (file contents):
Revision 1.4 by bendavid, Tue Jun 29 15:51:53 2010 UTC vs.
Revision 1.5 by sixie, Wed Jul 27 21:26:42 2011 UTC

# Line 13 | Line 13 | RunLumiSelectionMod::RunLumiSelectionMod
13    BaseMod(name,title),
14    fAbort(kTRUE),
15    fAcceptMC(kFALSE),
16 +  fAcceptAll(kFALSE),
17    fNEvents(0),
18    fNAcceped(0),
19    fNFailed(0),
# Line 48 | Line 49 | void RunLumiSelectionMod::Process()
49    if (runLumi != fCurrentRunLumi) {
50      fAcceptCurrentRunLumi = kFALSE;
51      //check for MC default accept
52 <    if (fAcceptMC && GetEventHeader()->IsMC()) {
52 >    if (fAcceptAll || (fAcceptMC && GetEventHeader()->IsMC())) {
53        fAcceptCurrentRunLumi = kTRUE;
54      }
55      else {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines