# | 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(); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |