@@ -10,7 +10,8 @@ void SDL::LST::eventSetup() {
1010  SDL::initModules (path);
1111}
1212
13- void  SDL::LST::run (cudaStream_t stream,bool  verbose,
13+ void  SDL::LST::run (cudaStream_t stream,
14+                    bool  verbose,
1415                   const  std::vector<float > see_px,
1516                   const  std::vector<float > see_py,
1617                   const  std::vector<float > see_pz,
@@ -25,14 +26,13 @@ void SDL::LST::run(cudaStream_t stream,bool verbose,
2526                   const  std::vector<float > see_stateTrajGlbPy,
2627                   const  std::vector<float > see_stateTrajGlbPz,
2728                   const  std::vector<int > see_q,
28-                    const  std::vector<unsigned  int > see_algo,
2929                   const  std::vector<std::vector<int >> see_hitIdx,
3030                   const  std::vector<unsigned  int > ph2_detId,
3131                   const  std::vector<float > ph2_x,
3232                   const  std::vector<float > ph2_y,
3333                   const  std::vector<float > ph2_z) {
34-   auto  event = SDL::Event (stream,verbose);
35-   prepareInput (see_px, see_py, see_pz, see_dxy, see_dz, see_ptErr, see_etaErr, see_stateTrajGlbX, see_stateTrajGlbY, see_stateTrajGlbZ, see_stateTrajGlbPx, see_stateTrajGlbPy, see_stateTrajGlbPz, see_q, see_algo,  see_hitIdx, ph2_detId, ph2_x, ph2_y, ph2_z);
34+   auto  event = SDL::Event (stream,  verbose);
35+   prepareInput (see_px, see_py, see_pz, see_dxy, see_dz, see_ptErr, see_etaErr, see_stateTrajGlbX, see_stateTrajGlbY, see_stateTrajGlbZ, see_stateTrajGlbPx, see_stateTrajGlbPy, see_stateTrajGlbPz, see_q, see_hitIdx, ph2_detId, ph2_x, ph2_y, ph2_z);
3636
3737  event.addHitToEvent (in_trkX_, in_trkY_, in_trkZ_, in_hitId_, in_hitIdxs_); //  TODO : Need to fix the hitIdxs
3838  event.addPixelSegmentToEvent (in_hitIndices_vec0_, in_hitIndices_vec1_, in_hitIndices_vec2_, in_hitIndices_vec3_,
@@ -176,7 +176,6 @@ void SDL::LST::prepareInput(const std::vector<float> see_px,
176176                            const  std::vector<float > see_stateTrajGlbPy,
177177                            const  std::vector<float > see_stateTrajGlbPz,
178178                            const  std::vector<int > see_q,
179-                             const  std::vector<unsigned  int > see_algo,
180179                            const  std::vector<std::vector<int >> see_hitIdx,
181180                            const  std::vector<unsigned  int > ph2_detId,
182181                            const  std::vector<float > ph2_x,
@@ -227,11 +226,6 @@ void SDL::LST::prepareInput(const std::vector<float> see_px,
227226  const  int  hit_size = trkX.size ();
228227
229228  for  (auto  &&[iSeed, _] : iter::enumerate (see_stateTrajGlbPx)) {
230-     bool  good_seed_type = false ;
231-     if  (see_algo[iSeed] == 4 ) good_seed_type = true ;
232-     if  (see_algo[iSeed] == 22 ) good_seed_type = true ;
233-     if  (not  good_seed_type) continue ;
234- 
235229    ROOT::Math::PxPyPzMVector p3LH (see_stateTrajGlbPx[iSeed], see_stateTrajGlbPy[iSeed], see_stateTrajGlbPz[iSeed], 0 );
236230    ROOT::Math::XYZVector p3LH_helper (see_stateTrajGlbPx[iSeed], see_stateTrajGlbPy[iSeed], see_stateTrajGlbPz[iSeed]);
237231    float  ptIn = p3LH.Pt ();
0 commit comments