Skip to content
Snippets Groups Projects

Fixed systematic implementation issue with TH1D->TH1F in name

Merged Gregory James Ottino requested to merge quick_sys_fix into master
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
+ 2
2
@@ -188,8 +188,8 @@ void EventLoopBase::read_meta_data()
continue;
}
m_systematics_groups[obj_name] = {};
auto sys_group = std::make_unique<TH1D>(
*dynamic_cast<TH1D *>(m_input_file->Get(obj_name)));
auto sys_group = std::make_unique<TH1F>(
*dynamic_cast<TH1F *>(m_input_file->Get(obj_name)));
for (int i = 1; i <= sys_group->GetNbinsX(); i++)
{
if (strcmp(sys_group->GetXaxis()->GetBinLabel(i), "NOSYS"))
Loading