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