Changeset 53b78e8 in git for display/DelphesPlotSummary.cc
- Timestamp:
- Nov 6, 2014, 2:00:06 PM (10 years ago)
- Branches:
- ImprovedOutputFile, Timing, dual_readout, llp, master
- Children:
- 5565691
- Parents:
- 0a67548
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
display/DelphesPlotSummary.cc
r0a67548 r53b78e8 8 8 9 9 DelphesPlotSummary::~DelphesPlotSummary() {} 10 11 void DelphesPlotSummary::Progress(Int_t p) 12 { 13 Emit("Progress(Int_t)",p); 14 } 10 15 11 16 void DelphesPlotSummary::Init(std::vector<DelphesBranchBase*>& elements) { … … 48 53 49 54 void DelphesPlotSummary::FillSample(ExRootTreeReader* treeReader, Int_t event_id) { 50 for(Int_t i=0;i<treeReader->GetEntries();++i) { 55 Int_t entries = treeReader->GetEntries(); 56 for(Int_t i=0;i<entries;++i) { 51 57 treeReader->ReadEntry(i); 52 58 for(std::vector<DelphesBranchBase*>::iterator element = elements_->begin();element<elements_->end();++element) { … … 70 76 } 71 77 } 78 Progress(int(100*i/entries)); 72 79 } 73 80 treeReader->ReadEntry(event_id); 81 Progress(100); 74 82 } 75 83
Note:
See TracChangeset
for help on using the changeset viewer.