From 4b784838c7d9cc426e939eed4ff63647794064fb Mon Sep 17 00:00:00 2001 From: Gerhard Raven <gerhard.raven@nikhef.nl> Date: Wed, 6 Sep 2023 13:21:40 +0200 Subject: [PATCH] const correct FT MC monitoring --- FT/FTDigitisation/src/FTClusterTuple.cpp | 2 +- FT/FTDigitisation/src/FTLiteClusterMonitor.cpp | 2 +- FT/FTDigitisation/src/FTLiteClusterTuple.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/FT/FTDigitisation/src/FTClusterTuple.cpp b/FT/FTDigitisation/src/FTClusterTuple.cpp index 67f5a7474..dc9d72f32 100644 --- a/FT/FTDigitisation/src/FTClusterTuple.cpp +++ b/FT/FTDigitisation/src/FTClusterTuple.cpp @@ -39,7 +39,7 @@ void FTClusterTuple::operator()( const FTClusters& Clusters, const std::array<Sp Tuple tuple = nTuple( "FTCluster" ); Tuple mctuple = nTuple( "MCHits" ); - std::set<LHCb::MCHit*> efficientMCHits; + std::set<LHCb::MCHit const*> efficientMCHits; auto nmax = 25; int numClusters = Clusters.size(); diff --git a/FT/FTDigitisation/src/FTLiteClusterMonitor.cpp b/FT/FTDigitisation/src/FTLiteClusterMonitor.cpp index 95807a392..380204bf6 100644 --- a/FT/FTDigitisation/src/FTLiteClusterMonitor.cpp +++ b/FT/FTDigitisation/src/FTLiteClusterMonitor.cpp @@ -36,7 +36,7 @@ void FTLiteClusterMonitor::operator()( const FTLiteClusters& clusters, const LHC const LHCb::LinksByKey& links, const DeFT& det ) const { // Store unique container of efficient MCHits - std::set<LHCb::MCHit*> efficientMCHits; + std::set<LHCb::MCHit const*> efficientMCHits; plot( clusters.size(), "nClusters", "Number of clusters; Clusters/event; Events", 0., 15.e3, 100 ); diff --git a/FT/FTDigitisation/src/FTLiteClusterTuple.cpp b/FT/FTDigitisation/src/FTLiteClusterTuple.cpp index 91c8d9ff1..23781423a 100644 --- a/FT/FTDigitisation/src/FTLiteClusterTuple.cpp +++ b/FT/FTDigitisation/src/FTLiteClusterTuple.cpp @@ -39,7 +39,7 @@ void FTLiteClusterTuple::operator()( const FTLiteClusters& liteClusters, const s Tuple tuple = nTuple( "FTLiteCluster" ); Tuple mctuple = nTuple( "MCHits" ); - std::set<LHCb::MCHit*> efficientMCHits; + std::set<LHCb::MCHit const*> efficientMCHits; auto nmax = 25; -- GitLab