File indexing completed on 2025-01-18 09:11:00
0001
0002
0003
0004
0005
0006
0007
0008
0009 #pragma once
0010
0011
0012 #include "Acts/Seeding/GbtsTrackingFilter.hpp"
0013
0014 #include <cmath>
0015
0016 #define MAX_SILICON_LAYER_NUM 19
0017 #define OffsetEndcapPixels 7
0018 #define OffsetBarrelSCT 3
0019 #define OffsetEndcapSCT 10
0020
0021 template <typename space_point_t>
0022 class TrigInDetTriplet {
0023 public:
0024 TrigInDetTriplet() = delete;
0025
0026 TrigInDetTriplet(Acts::GbtsSP<space_point_t> s1,
0027 Acts::GbtsSP<space_point_t> s2,
0028 Acts::GbtsSP<space_point_t> s3, float Q)
0029 : m_s1(std::move(s1)), m_s2(std::move(s2)), m_s3(std::move(s3)), m_Q(Q) {}
0030
0031 TrigInDetTriplet(TrigInDetTriplet* t)
0032 : m_s1(t->m_s1), m_s2(t->m_s2), m_s3(t->m_s3), m_Q(t->m_Q) {}
0033
0034 const Acts::GbtsSP<space_point_t>& s1() const { return m_s1; }
0035 const Acts::GbtsSP<space_point_t>& s2() const { return m_s2; }
0036 const Acts::GbtsSP<space_point_t>& s3() const { return m_s3; }
0037 float Q() const { return m_Q; }
0038 void Q(double newQ) { m_Q = newQ; }
0039
0040 protected:
0041 Acts::GbtsSP<space_point_t> m_s1;
0042 Acts::GbtsSP<space_point_t> m_s2;
0043 Acts::GbtsSP<space_point_t> m_s3;
0044 float m_Q;
0045 };