ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/kiesel/TreeWriter/executable.cc
(Generate patch)

Comparing UserCode/kiesel/TreeWriter/executable.cc (file contents):
Revision 1.5 by kiesel, Wed Apr 24 14:21:44 2013 UTC vs.
Revision 1.6 by kiesel, Mon Apr 29 11:33:06 2013 UTC

# Line 18 | Line 18 | int main( int argc, char** argv ) {
18  
19          // settings
20          tw->PileUpWeightFile("pileUpReweighting/puWeights.root");
21 <        tw->SetProcessNEvents(-1);
22 <        tw->SetReportEvents(20000);
21 >        tw->SetProcessNEvents(50);
22 >        tw->SetReportEvents(1000);
23          tw->SkimEvents(true);
24 +
25 +        double start_time = time(NULL);
26          tw->Loop();
27 +        double end_time = time(NULL);
28 +
29 +        std::cout << end_time - start_time << endl;
30  
31   }
32  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines