27 <<
" NULL pointer to Analysis object!";
42 std::vector<TH1*>::const_iterator ihis =
histos.begin();
43 for (; ihis !=
histos.end(); ihis++) {
58 histo_.second = (*ihis)->GetName();
67 <<
" NULL pointer to base Analysis object!";
75 <<
" NULL pointer to derived Analysis object!";
84 TProfile*
histo = dynamic_cast<TProfile*>(
histo_.first);
91 uint16_t zero_entries = 0;
92 uint16_t
nbins = static_cast<uint16_t>(
histo->GetNbinsX());
95 std::vector<float> entries;
98 entries.reserve(
nbins);
102 for (uint16_t ibin = 0; ibin <
nbins; ibin++) {
105 entries.push_back(
histo->GetBinEntries(ibin + 1));
149 std::vector<float>
high;
150 std::vector<float>
low;
151 for (uint16_t ibin = 0; ibin <
nbins; ibin++) {
163 sort(
low.begin(),
low.end());
178 for (uint16_t ibin = 0; ibin <
low.size(); ibin++) {
197 anal->highMean_ = 0.;
199 for (uint16_t ibin = 0; ibin <
high.size(); ibin++) {
237 anal->dcuHardId_ = 0;
241 anal->dcuHardId_ += 0xFFFFFFFF & (1 << ibin);
245 if (!
anal->dcuHardId_) {
254 anal->lldCh_ += (0x3 & (1 << ibin));