From 7e03bab28f93eae086c2402513765b77560b6888 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Francisco=20Javier=20Nicol=C3=A1s-Arnaldos?= Date: Tue, 21 May 2024 17:16:34 +0200 Subject: [PATCH 1/2] Solve compiling errors in SBNDPDSAnalyzer with c14 --- sbndcode/OpDetAnalyzer/PDSAnalyzer/SBNDPDSAnalyzer_module.cc | 3 --- 1 file changed, 3 deletions(-) diff --git a/sbndcode/OpDetAnalyzer/PDSAnalyzer/SBNDPDSAnalyzer_module.cc b/sbndcode/OpDetAnalyzer/PDSAnalyzer/SBNDPDSAnalyzer_module.cc index 9188c6556..820852692 100644 --- a/sbndcode/OpDetAnalyzer/PDSAnalyzer/SBNDPDSAnalyzer_module.cc +++ b/sbndcode/OpDetAnalyzer/PDSAnalyzer/SBNDPDSAnalyzer_module.cc @@ -259,7 +259,6 @@ void opdet::SBNDPDSAnalyzer::analyze(art::Event const& e) art::ServiceHandle pi_serv; art::ServiceHandle bt_serv; art::ServiceHandle timeservice; - auto const clockData(timeservice->DataFor(e)); // --- Saving MCTruths if(fSaveMCTruth){ @@ -998,7 +997,6 @@ void opdet::SBNDPDSAnalyzer::FillAverageDepositedEnergyVariables(std::vector Date: Tue, 21 May 2024 17:18:32 +0200 Subject: [PATCH 2/2] Update SBNDPDSAnalyzer_module.hh --- sbndcode/OpDetAnalyzer/PDSAnalyzer/SBNDPDSAnalyzer_module.hh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/sbndcode/OpDetAnalyzer/PDSAnalyzer/SBNDPDSAnalyzer_module.hh b/sbndcode/OpDetAnalyzer/PDSAnalyzer/SBNDPDSAnalyzer_module.hh index c228c9121..cdbdbc309 100644 --- a/sbndcode/OpDetAnalyzer/PDSAnalyzer/SBNDPDSAnalyzer_module.hh +++ b/sbndcode/OpDetAnalyzer/PDSAnalyzer/SBNDPDSAnalyzer_module.hh @@ -177,8 +177,7 @@ private: std::vector _nuvZ; std::vector _nuvE; - // Saving MCParticles - int _nMCParticles; + // Saving MCParticles std::vector < std::vector > _mc_stepX; std::vector < std::vector > _mc_stepY; std::vector < std::vector > _mc_stepZ; @@ -305,4 +304,4 @@ private: }; -DEFINE_ART_MODULE(opdet::SBNDPDSAnalyzer) \ No newline at end of file +DEFINE_ART_MODULE(opdet::SBNDPDSAnalyzer)