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

Comparing UserCode/MitAna/TreeMod/src/AnaFwkMod.cc (file contents):
Revision 1.10 by loizides, Sat Mar 28 14:39:56 2009 UTC vs.
Revision 1.13 by loizides, Mon Jun 22 15:36:47 2009 UTC

# Line 18 | Line 18 | AnaFwkMod::AnaFwkMod(const char *name, c
18    fAllHeadTreeName(Names::gkAllEvtTreeName),
19    fAllHeadBrName(Names::gkAllEvtHeaderBrn),
20    fSkipNEvents(0),
21 +  fPrintScale(1),
22    fSWtotal(0),
23    fSWevent(0),
24    fAllHeaders(0,Names::gkSkimmedHeaders),
# Line 178 | Line 179 | void AnaFwkMod::Process()
179    Bool_t doPrint = 0;
180  
181    MDB(kAnalysis, 4) {
182 <    if (GetNEventsProcessed() % 250  == 0)
182 >    if (GetNEventsProcessed() % (fPrintScale)  == 0)
183        doPrint = 1;
184    } else {
185      MDB(kAnalysis, 3) {
186 <      if (GetNEventsProcessed() % 2500  == 0)
186 >      if (GetNEventsProcessed() % (fPrintScale*10)  == 0)
187          doPrint = 1;
188      } else {
189        MDB(kAnalysis, 2) {
190 <        if (GetNEventsProcessed() % 10000  == 0)
190 >        if (GetNEventsProcessed() % (fPrintScale*100)  == 0)
191            doPrint = 1;
192        } else {
193          MDB(kAnalysis, 1) {
194 <          if (GetNEventsProcessed() % 50000 == 0)
194 >          if (GetNEventsProcessed() % (fPrintScale*1000) == 0)
195              doPrint = 1;
196          }
197        }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines