Skip to content
Snippets Groups Projects
Commit 418a5e72 authored by Gitlab CI's avatar Gitlab CI Committed by Sascha Stahl
Browse files

Fixed formatting

patch generated by https://gitlab.cern.ch/lhcb/Rec/-/jobs/35441838
parent 2abb07e1
No related branches found
No related tags found
1 merge request!3555Monitor algorithm for event variables
Pipeline #6768637 passed
......@@ -43,9 +43,10 @@ struct EventVariableMonitor final : public base_type {
auto sc = base_type::initialize();
if ( sc.isFailure() ) return sc;
m_histogram.emplace(
this, m_histogram_name.value(), m_histodef.value().title(),
Gaudi::Accumulators::Axis<value_type>{static_cast<unsigned int>(m_histodef.value().bins()), m_histodef.value().lowEdge(), m_histodef.value().highEdge()} );
m_histogram.emplace( this, m_histogram_name.value(), m_histodef.value().title(),
Gaudi::Accumulators::Axis<value_type>{static_cast<unsigned int>( m_histodef.value().bins() ),
m_histodef.value().lowEdge(),
m_histodef.value().highEdge()} );
return sc;
}
......@@ -55,9 +56,10 @@ private:
private:
// properties
Gaudi::Property<Gaudi::Histo1DDef> m_histodef{this,"HistogramDef",{"DefaultTitle",0.,1.,100},"Histogram definition"};
Gaudi::Property<Gaudi::Histo1DDef> m_histodef{
this, "HistogramDef", {"DefaultTitle", 0., 1., 100}, "Histogram definition"};
Gaudi::Property<std::string> m_histogram_name{this, "HistogramName", "Histogram", "Histogram name"};
Gaudi::Property<std::string> m_histogram_name{this, "HistogramName", "Histogram", "Histogram name"};
mutable std::optional<Gaudi::Accumulators::Histogram<1, Gaudi::Accumulators::atomicity::full, value_type>>
m_histogram;
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment