LArSoft  v10_06_00
Liquid Argon Software toolkit - https://larsoft.org/
lar_dl_content::DLPrimaryHierarchyTool::DLPrimaryNetworkParams Struct Reference

#include "DLPrimaryHierarchyTool.h"

Public Member Functions

void AddCommonParamsToInput (int &insertIndex, LArDLHelper::TorchInput &modelInput) const
 Add the orientation independent primary network parameters to the model input tensor. More...
 
void AddOrientationParamsToInput (int &insertIndex, LArDLHelper::TorchInput &modelInput) const
 Add the orientation dependent primary network parameters to the model input tensor. More...
 

Public Attributes

float m_nSpacepoints = -999.f
 the number of 3D spacepoints More...
 
float m_nuSeparation = -999.f
 the sep. between the POI and the nu vertex More...
 
float m_vertexRegionNHits = -999.f
 the number of 3D hits 'close to' the POI More...
 
float m_vertexRegionNParticles = -999.f
 the number of different particles 'close to' the POI More...
 
float m_dca = -999.f
 the distance of closest approach from the POI to the nu vertex More...
 
float m_connectionExtrapDistance = -999.f
 the sep. between the POI and the DCA point More...
 
float m_isPOIClosestToNu = -999.f
 whether the POI is that closest to the nu vertex More...
 
float m_parentConnectionDistance = -999.f
 the DCA to the most likely parent pfo endpoint More...
 
float m_childConnectionDistance = -999.f
 the sep. between the POI and the extension point for m_parentConnectionDistance More...
 

Detailed Description

Definition at line 25 of file DLPrimaryHierarchyTool.h.

Member Function Documentation

void lar_dl_content::DLPrimaryHierarchyTool::DLPrimaryNetworkParams::AddCommonParamsToInput ( int &  insertIndex,
LArDLHelper::TorchInput modelInput 
) const

Add the orientation independent primary network parameters to the model input tensor.

Parameters
insertIndexthe index from which to begin the insert
modelInputthe torch vector to which to add

Definition at line 31 of file DLPrimaryHierarchyTool.cc.

Referenced by lar_dl_content::DLPrimaryHierarchyTool::ClassifyShower(), and lar_dl_content::DLPrimaryHierarchyTool::ClassifyTrackEdge().

32 {
33  modelInput[0][insertIndex] = m_nSpacepoints;
34  ++insertIndex;
35 }
void lar_dl_content::DLPrimaryHierarchyTool::DLPrimaryNetworkParams::AddOrientationParamsToInput ( int &  insertIndex,
LArDLHelper::TorchInput modelInput 
) const

Add the orientation dependent primary network parameters to the model input tensor.

Parameters
insertIndexthe index from which to begin the insert
modelInputthe torch vector to which to add

Definition at line 39 of file DLPrimaryHierarchyTool.cc.

Referenced by lar_dl_content::DLPrimaryHierarchyTool::ClassifyShower(), and lar_dl_content::DLPrimaryHierarchyTool::ClassifyTrackEdge().

40 {
43  {
44  modelInput[0][insertIndex] = param;
45  ++insertIndex;
46  }
47 }
float m_vertexRegionNHits
the number of 3D hits 'close to' the POI
float m_dca
the distance of closest approach from the POI to the nu vertex
float m_nuSeparation
the sep. between the POI and the nu vertex
float m_isPOIClosestToNu
whether the POI is that closest to the nu vertex
float m_connectionExtrapDistance
the sep. between the POI and the DCA point
float m_childConnectionDistance
the sep. between the POI and the extension point for m_parentConnectionDistance
float m_vertexRegionNParticles
the number of different particles 'close to' the POI
float m_parentConnectionDistance
the DCA to the most likely parent pfo endpoint

Member Data Documentation

float lar_dl_content::DLPrimaryHierarchyTool::DLPrimaryNetworkParams::m_childConnectionDistance = -999.f
float lar_dl_content::DLPrimaryHierarchyTool::DLPrimaryNetworkParams::m_connectionExtrapDistance = -999.f
float lar_dl_content::DLPrimaryHierarchyTool::DLPrimaryNetworkParams::m_dca = -999.f
float lar_dl_content::DLPrimaryHierarchyTool::DLPrimaryNetworkParams::m_isPOIClosestToNu = -999.f
float lar_dl_content::DLPrimaryHierarchyTool::DLPrimaryNetworkParams::m_nSpacepoints = -999.f
float lar_dl_content::DLPrimaryHierarchyTool::DLPrimaryNetworkParams::m_nuSeparation = -999.f
float lar_dl_content::DLPrimaryHierarchyTool::DLPrimaryNetworkParams::m_parentConnectionDistance = -999.f
float lar_dl_content::DLPrimaryHierarchyTool::DLPrimaryNetworkParams::m_vertexRegionNHits = -999.f
float lar_dl_content::DLPrimaryHierarchyTool::DLPrimaryNetworkParams::m_vertexRegionNParticles = -999.f

The documentation for this struct was generated from the following files: