ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/cbrown/Development/Plotting/Modules/SampleClass.C
(Generate patch)

Comparing UserCode/cbrown/Development/Plotting/Modules/SampleClass.C (file contents):
Revision 1.19 by buchmann, Mon Dec 3 16:01:11 2012 UTC vs.
Revision 1.20 by buchmann, Wed Dec 5 09:46:45 2012 UTC

# Line 93 | Line 93 | sample::sample(string m_filename, string
93      TH1F *weight_histo = (TH1F*)(this->tfile)->Get("weight_histo");
94      float average_weight = 1.0;
95      if(weight_histo) {
96 <      average_weight = weight_histo->Integral()/weight_histo->GetEntries();
96 >      //average_weight = weight_histo->Integral()/weight_histo->GetEntries();
97        measured_nevents = (long)weight_histo->GetEntries();
98      } else {
99        measured_nevents=(this->events)->GetEntries();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines