25 template <
typename space_po
int_t>
27 const space_point_t *
SP;
30 FTF_SP(
const space_point_t *sp,
int id,
int combined_id)
32 if (
SP->sourceLinks().size() == 1) {
46 template <
typename space_po
int_t>
89 std::vector<unsigned int>
m_in;
90 std::vector<unsigned int>
m_out;
94 template <
typename space_po
int_t>
115 for (
unsigned int nIdx = 0; nIdx <
m_vn.size(); nIdx++) {
120 if (phi <= M_PI - dphi) {
125 std::pair<float, unsigned int>(phi - 2 * M_PI, nIdx));
128 for (
unsigned int nIdx = 0; nIdx <
m_vn.size(); nIdx++) {
131 m_vPhiNodes.push_back(std::pair<float, unsigned int>(phi, nIdx));
134 for (
unsigned int nIdx = 0; nIdx <
m_vn.size(); nIdx++) {
137 if (phi >= -M_PI + dphi) {
141 std::pair<float, unsigned int>(phi + 2 * M_PI, nIdx));
145 std::vector<TrigFTF_GNN_Node<space_point_t> *>
m_vn;
151 template <
typename space_po
int_t>
172 if (binIndex == -1) {
176 bool isBarrel = (pL->
m_layer.m_type == 0);
179 float min_tau = -100.0;
180 float max_tau = 100.0;
182 if (useClusterWidth) {
187 float cluster_width = 1;
188 min_tau = 6.7 * (cluster_width - 0.2);
190 1.6 + 0.15 / (cluster_width + 0.2) + 6.1 * (cluster_width - 0.2);
194 sp, min_tau, max_tau));
196 if (useClusterWidth) {
201 float cluster_width = 1;
202 if (cluster_width > 0.2) {
231 for (
typename std::vector<
234 nIt !=
b.m_vn.end(); ++nIt) {
235 if ((*nIt)->m_in.empty()) {
238 if ((*nIt)->m_out.empty()) {
254 b.generatePhiIndexing(dphi);
259 if (idx >= static_cast<int>(
m_etaBins.size())) {
268 std::vector<TrigFTF_GNN_EtaBin<space_point_t>>
m_etaBins;
271 template <
typename space_po
int_t>