@@ -407,7 +407,7 @@ struct EmcalCorrectionTask {
407407 }
408408 }
409409
410- template <typename BCType>
410+ template <o2::soa::is_iterator BCType>
411411 void initZorroCCDB (const BCType& bc)
412412 {
413413 if (applySoftwareTriggerSelection) {
@@ -1403,7 +1403,7 @@ struct EmcalCorrectionTask {
14031403 } // end of cluster loop
14041404 }
14051405
1406- template <typename BC >
1406+ template <o2::soa::is_iterator BC >
14071407 void fillAmbigousClusterTable (BC const & bc, size_t iClusterizer, const gsl::span<int64_t > cellIndicesBC, bool hasCollision)
14081408 {
14091409 int cellindex = -1 ;
@@ -1452,7 +1452,7 @@ struct EmcalCorrectionTask {
14521452 } // end of cluster loop
14531453 }
14541454
1455- template <typename Collision>
1455+ template <o2::soa::is_iterator Collision>
14561456 void doTrackMatching (Collision const & col, MyGlobTracks const & tracks, MatchResult& indexMapPair, std::vector<int64_t >& trackGlobalIndex)
14571457 {
14581458 auto groupedTracks = tracks.sliceBy (perCollision, col.globalIndex ());
@@ -1468,7 +1468,7 @@ struct EmcalCorrectionTask {
14681468 indexMapPair = matchTracksToCluster (mClusterPhi , mClusterEta , trackPhi, trackEta, maxMatchingDistance, MaxMatchesPerCluster);
14691469 }
14701470
1471- template <typename Collision>
1471+ template <o2::soa::is_iterator Collision>
14721472 void doSecondaryTrackMatching (Collision const & col, EMV0Legs const & v0legs, MatchResult& indexMapPair, std::vector<int64_t >& trackGlobalIndex, MyGlobTracks const & tracks)
14731473 {
14741474 auto groupedV0Legs = v0legs.sliceBy (perCollisionEMV0Legs, col.globalIndex ());
@@ -1504,7 +1504,7 @@ struct EmcalCorrectionTask {
15041504 indexMapPair = matchTracksToCluster (mClusterPhi , mClusterEta , trackPhi, trackEta, maxMatchingDistance, MaxMatchesPerCluster);
15051505 }
15061506
1507- template <typename Tracks>
1507+ template <o2::soa::is_table Tracks>
15081508 void fillTrackInfo (Tracks const & tracks, std::vector<float >& trackPhi, std::vector<float >& trackEta, std::vector<int64_t >& trackGlobalIndex)
15091509 {
15101510 for (const auto & track : tracks) {
0 commit comments