diff --git a/k4Reco/DDPlanarDigi/components/DDPlanarDigi.cpp b/k4Reco/DDPlanarDigi/components/DDPlanarDigi.cpp index 8b3a5b6..5afab0b 100644 --- a/k4Reco/DDPlanarDigi/components/DDPlanarDigi.cpp +++ b/k4Reco/DDPlanarDigi/components/DDPlanarDigi.cpp @@ -59,9 +59,11 @@ DDPlanarDigi::DDPlanarDigi(const std::string& name, ISvcLocator* svcLoc) m_histograms[diffu].reset(new Gaudi::Accumulators::StaticRootHistogram<1>{this, "diffu", "diff u", {1000, -.1, +.1}}); m_histograms[diffv].reset(new Gaudi::Accumulators::StaticRootHistogram<1>{this, "diffv", "diff v", {1000, -.1, +.1}}); - m_histograms[diffT].reset(new Gaudi::Accumulators::StaticRootHistogram<1>{this, "diffT", "diff time", {1000, -5., +5.}}); + m_histograms[diffT].reset( + new Gaudi::Accumulators::StaticRootHistogram<1>{this, "diffT", "diff time", {1000, -5., +5.}}); - m_histograms[hitE].reset(new Gaudi::Accumulators::StaticRootHistogram<1>{this, "hitE", "hitEnergy in keV", {1000, 0, 200}}); + m_histograms[hitE].reset( + new Gaudi::Accumulators::StaticRootHistogram<1>{this, "hitE", "hitEnergy in keV", {1000, 0, 200}}); m_histograms[hitsAccepted].reset(new Gaudi::Accumulators::StaticRootHistogram<1>{ this, "hitsAccepted", "Fraction of accepted hits [%]", {201, 0, 100.5}}); diff --git a/k4Reco/DDPlanarDigi/components/DDPlanarDigi.h b/k4Reco/DDPlanarDigi/components/DDPlanarDigi.h index 266e3e4..f7b0aa9 100644 --- a/k4Reco/DDPlanarDigi/components/DDPlanarDigi.h +++ b/k4Reco/DDPlanarDigi/components/DDPlanarDigi.h @@ -126,14 +126,13 @@ struct DDPlanarDigi final Gaudi::Property m_outputFileName{this, "OutputFileName", "planar_digi_histograms.root", "Output file name for the histograms"}; - const dd4hep::rec::SurfaceMap* surfaceMap; + const dd4hep::rec::SurfaceMap* surfaceMap; std::array>, hSize> m_histograms; - std::string m_collName; + std::string m_collName; inline static thread_local TRandom2 m_engine; SmartIF m_geoSvc; SmartIF m_uidSvc; - }; DECLARE_COMPONENT(DDPlanarDigi)