@@ -71,15 +71,15 @@ class HwClusterer : public Clusterer
7171 // / \param digits Container with TPC digits
7272 // / \param mcDigitTruth MC Digit Truth container
7373 // / \param clearContainerFirst Clears the outpcontainer for clusters and MC labels first, before processing
74- void process (std::vector <o2::tpc::Digit> const & digits, MCLabelContainer const * mcDigitTruth) override ;
75- void process (std::vector <o2::tpc::Digit> const & digits, MCLabelContainer const * mcDigitTruth, bool clearContainerFirst);
74+ void process (gsl::span <o2::tpc::Digit const > const & digits, MCLabelContainer const * mcDigitTruth) override ;
75+ void process (gsl::span <o2::tpc::Digit const > const & digits, MCLabelContainer const * mcDigitTruth, bool clearContainerFirst);
7676
7777 // / Finish processing digits
7878 // / \param digits Container with TPC digits
7979 // / \param mcDigitTruth MC Digit Truth container
8080 // / \param clearContainerFirst Clears the outpcontainer for clusters and MC labels first, before processing
81- void finishProcess (std::vector <o2::tpc::Digit> const & digits, MCLabelContainer const * mcDigitTruth) override ;
82- void finishProcess (std::vector <o2::tpc::Digit> const & digits, MCLabelContainer const * mcDigitTruth, bool clearContainerFirst);
81+ void finishProcess (gsl::span <o2::tpc::Digit const > const & digits, MCLabelContainer const * mcDigitTruth) override ;
82+ void finishProcess (gsl::span <o2::tpc::Digit const > const & digits, MCLabelContainer const * mcDigitTruth, bool clearContainerFirst);
8383
8484 // / Switch for triggered / continuous readout
8585 // / \param isContinuous - false for triggered readout, true for continuous readout
@@ -216,12 +216,12 @@ class HwClusterer : public Clusterer
216216 MCLabelContainer* mClusterMcLabelArray ; // /< Pointer to MC Label container
217217};
218218
219- inline void HwClusterer::process (std::vector <o2::tpc::Digit> const & digits, o2::dataformats::MCTruthContainer<o2::MCCompLabel> const * mcDigitTruth)
219+ inline void HwClusterer::process (gsl::span <o2::tpc::Digit const > const & digits, o2::dataformats::MCTruthContainer<o2::MCCompLabel> const * mcDigitTruth)
220220{
221221 process (digits, mcDigitTruth, true );
222222}
223223
224- inline void HwClusterer::finishProcess (std::vector <o2::tpc::Digit> const & digits, o2::dataformats::MCTruthContainer<o2::MCCompLabel> const * mcDigitTruth)
224+ inline void HwClusterer::finishProcess (gsl::span <o2::tpc::Digit const > const & digits, o2::dataformats::MCTruthContainer<o2::MCCompLabel> const * mcDigitTruth)
225225{
226226 finishProcess (digits, mcDigitTruth, true );
227227}
0 commit comments