From ef03e236729a45c9efd36fb333730f7ff9fb88f7 Mon Sep 17 00:00:00 2001 From: Dario Berzano Date: Fri, 7 Apr 2017 17:13:44 +0200 Subject: [PATCH] Fix missing ITSMFT includes --- .../common/simulation/include/ITSMFTSimulation/ClusterShape.h | 3 ++- Detectors/ITSMFT/common/simulation/src/ClusterShape.cxx | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Detectors/ITSMFT/common/simulation/include/ITSMFTSimulation/ClusterShape.h b/Detectors/ITSMFT/common/simulation/include/ITSMFTSimulation/ClusterShape.h index 7bb4d71cc9366..9be145b387f4a 100644 --- a/Detectors/ITSMFT/common/simulation/include/ITSMFTSimulation/ClusterShape.h +++ b/Detectors/ITSMFT/common/simulation/include/ITSMFTSimulation/ClusterShape.h @@ -13,6 +13,7 @@ #include #include #include +#include namespace AliceO2 { namespace ITSMFT { @@ -85,7 +86,7 @@ namespace AliceO2 { } else { if (c == 0) out << r << " "; index = r*v.mNcols + c; - if (find(begin(v.mShape), end(v.mShape), index) != end(v.mShape)) out << "X"; + if (std::find(begin(v.mShape), end(v.mShape), index) != end(v.mShape)) out << "X"; else out << " "; if (c < v.mNcols-1) out << " "; } diff --git a/Detectors/ITSMFT/common/simulation/src/ClusterShape.cxx b/Detectors/ITSMFT/common/simulation/src/ClusterShape.cxx index 5d306e7f11cd3..9860836905630 100644 --- a/Detectors/ITSMFT/common/simulation/src/ClusterShape.cxx +++ b/Detectors/ITSMFT/common/simulation/src/ClusterShape.cxx @@ -2,6 +2,7 @@ /// \brief Cluster shape class for the ALPIDE response simulation #include +#include #include #include