@@ -10,7 +10,8 @@ void SDL::LST::eventSetup() {
10
10
SDL::initModules (path);
11
11
}
12
12
13
- void SDL::LST::run (cudaStream_t stream,bool verbose,
13
+ void SDL::LST::run (cudaStream_t stream,
14
+ bool verbose,
14
15
const std::vector<float > see_px,
15
16
const std::vector<float > see_py,
16
17
const std::vector<float > see_pz,
@@ -25,14 +26,13 @@ void SDL::LST::run(cudaStream_t stream,bool verbose,
25
26
const std::vector<float > see_stateTrajGlbPy,
26
27
const std::vector<float > see_stateTrajGlbPz,
27
28
const std::vector<int > see_q,
28
- const std::vector<unsigned int > see_algo,
29
29
const std::vector<std::vector<int >> see_hitIdx,
30
30
const std::vector<unsigned int > ph2_detId,
31
31
const std::vector<float > ph2_x,
32
32
const std::vector<float > ph2_y,
33
33
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);
36
36
37
37
event.addHitToEvent (in_trkX_, in_trkY_, in_trkZ_, in_hitId_, in_hitIdxs_); // TODO : Need to fix the hitIdxs
38
38
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,
176
176
const std::vector<float > see_stateTrajGlbPy,
177
177
const std::vector<float > see_stateTrajGlbPz,
178
178
const std::vector<int > see_q,
179
- const std::vector<unsigned int > see_algo,
180
179
const std::vector<std::vector<int >> see_hitIdx,
181
180
const std::vector<unsigned int > ph2_detId,
182
181
const std::vector<float > ph2_x,
@@ -227,11 +226,6 @@ void SDL::LST::prepareInput(const std::vector<float> see_px,
227
226
const int hit_size = trkX.size ();
228
227
229
228
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
-
235
229
ROOT::Math::PxPyPzMVector p3LH (see_stateTrajGlbPx[iSeed], see_stateTrajGlbPy[iSeed], see_stateTrajGlbPz[iSeed], 0 );
236
230
ROOT::Math::XYZVector p3LH_helper (see_stateTrajGlbPx[iSeed], see_stateTrajGlbPy[iSeed], see_stateTrajGlbPz[iSeed]);
237
231
float ptIn = p3LH.Pt ();
0 commit comments