8 #ifndef LAR_DL_VERTEXING_BASE_ALGORITHM_H 9 #define LAR_DL_VERTEXING_BASE_ALGORITHM_H 1 11 #include "Pandora/Algorithm.h" 12 #include "Pandora/AlgorithmHeaders.h" 41 typedef std::pair<int, int>
Pixel;
44 pandora::StatusCode ReadSettings(
const pandora::TiXmlHandle xmlHandle);
57 void GetHitRegion(
const pandora::CaloHitList &caloHitList,
float &xMin,
float &xMax,
float &zMin,
float &zMax)
const;
72 void GetCanvasParameters(
const LArDLHelper::TorchOutput &networkOutput,
const PixelVector &pixelVector,
int &columnOffset,
73 int &rowOffset,
int &width,
int &height)
const;
94 #endif // LAR_DL_VERTEXING_BASE_ALGORITHM_H
int m_pass
The pass of the train/infer step.
Header file for the vertex tuple object.
std::pair< int, int > Pixel
LArDLHelper::TorchModel m_modelU
The model for the U view.
std::vector< double > m_thresholds
Distance class thresholds.
int m_width
The width of the images.
float m_driftStep
The size of a pixel in the drift direction in cm (most relevant in pass 2)
torch::jit::script::Module TorchModel
std::string m_trainingOutputFile
Output file name for training examples.
std::string m_outputVertexListName
Output vertex list name.
DeepLearningTrackShowerIdAlgorithm class.
Header file for the lar monte carlo particle helper helper class.
std::map< std::pair< int, int >, std::vector< const pandora::CaloHit * > > PixelToCaloHitsMap
Header file for the lar deep learning helper helper class.
std::vector< Pixel > PixelVector
pandora::StringVector m_caloHitListNames
Names of input calo hit lists.
std::string m_inputVertexListName
Input vertex list name if 2nd pass.
LArDLHelper::TorchModel m_modelW
The model for the W view.
int m_height
The height of the images.
int m_nClasses
The number of distance classes.
std::string m_volumeType
The name of the fiducial volume type for the monitoring output.
LArDLHelper::TorchModel m_modelV
The model for the V view.
bool m_trainingMode
Training mode.