#include <GNN_DataStorage.h>
Definition at line 80 of file GNN_DataStorage.h.
◆ TrigFTF_GNN_DataStorage()
◆ ~TrigFTF_GNN_DataStorage()
TrigFTF_GNN_DataStorage::~TrigFTF_GNN_DataStorage |
( |
| ) |
|
◆ generatePhiIndexing()
void TrigFTF_GNN_DataStorage::generatePhiIndexing |
( |
float |
dphi | ) |
|
◆ getEtaBin()
◆ initializeNodes()
void TrigFTF_GNN_DataStorage::initializeNodes |
( |
bool |
useML | ) |
|
Definition at line 183 of file GNN_DataStorage.cxx.
193 for(
unsigned int layerIdx=0;layerIdx<nL;layerIdx++) {
215 if(
B.empty())
continue;
217 for(
unsigned int nIdx=0;nIdx<
B.m_vn.size();nIdx++) {
219 float cluster_width =
B.m_vn[nIdx]->pixelClusterWidth();
221 float locPosY =
B.m_vn[nIdx]->localPositionY();
223 int lutBinIdx = std::floor(20*cluster_width) - 1;
225 if (lutBinIdx >= lutSize)
continue;
227 const std::array<float, 5> lutBin =
m_mlLUT.at(lutBinIdx);
229 float dist2border = 10.0 - std::abs(locPosY);
231 float min_tau = -100.0;
232 float max_tau = 100.0;
234 if (dist2border > 0.3
f) {
246 B.m_params[nIdx][0] = min_tau;
247 B.m_params[nIdx][1] = max_tau;
◆ loadPixelGraphNodes()
int TrigFTF_GNN_DataStorage::loadPixelGraphNodes |
( |
short |
layerIndex, |
|
|
const std::vector< TrigFTF_GNN_Node > & |
coll, |
|
|
bool |
useML |
|
) |
| |
Definition at line 105 of file GNN_DataStorage.cxx.
117 for(
const auto&
node : coll) {
130 float cluster_width =
node.pixelClusterWidth();
131 if(cluster_width > 0.35)
continue;
◆ loadStripGraphNodes()
int TrigFTF_GNN_DataStorage::loadStripGraphNodes |
( |
short |
layerIndex, |
|
|
const std::vector< TrigFTF_GNN_Node > & |
coll |
|
) |
| |
◆ numberOfNodes()
unsigned int TrigFTF_GNN_DataStorage::numberOfNodes |
( |
| ) |
const |
◆ sortByPhi()
void TrigFTF_GNN_DataStorage::sortByPhi |
( |
| ) |
|
◆ m_etaBins
◆ m_geo
◆ m_mlLUT
const std::vector<std::array<float, 5> >& TrigFTF_GNN_DataStorage::m_mlLUT |
|
protected |
The documentation for this class was generated from the following files: