27 <<
" NULL pointer to Analysis object!";
42 std::vector<TH1*>::const_iterator ihis =
histos.begin();
43 for (; ihis !=
histos.end(); ihis++) {
59 hFedId_.second = (*ihis)->GetName();
62 hFedCh_.second = (*ihis)->GetName();
74 <<
" NULL pointer to base Analysis object!";
82 <<
" NULL pointer to derived Analysis object!";
96 TProfile* fedid_histo = dynamic_cast<TProfile*>(
hFedId_.first);
102 TProfile* fedch_histo = dynamic_cast<TProfile*>(
hFedCh_.first);
109 anal->candidates_.clear();
117 for (uint16_t ifed = 0; ifed < fedid_histo->GetNbinsX(); ifed++) {
118 if (fedid_histo->GetBinEntries(ifed + 1)) {
119 if (fedid_histo->GetBinContent(ifed + 1) >
max &&
122 max = fedid_histo->GetBinContent(ifed + 1);
130 for (uint16_t ichan = 0; ichan < fedch_histo->GetNbinsX(); ichan++) {
131 if (fedch_histo->GetBinEntries(ichan + 1)) {
132 if (fedch_histo->GetBinContent(ichan + 1) >
max &&
135 max = fedch_histo->GetBinContent(ichan + 1);
147 anal->fedId_ = id_val;
148 anal->fedCh_ = ch_val;