5#ifndef _InDet_TTrainedNetworkCondAlg_H_
6#define _InDet_TTrainedNetworkCondAlg_H_
38 StatusCode
finalize() override final;
44 {
this,
"PoolSvc",
"PoolSvc",
"The service to retrieve files by GUID."};
46 {
this,
"NetworkToHistoTool",
"Trk::NeuralNetworkToHistoTool/NeuralNetworkToHistoTool",
"Tool to create a neural network from a set of histograms." };
49 {
this,
"ReadKey",
"/PIXEL/PixelClustering/PixelClusNNCalib",
"Cool folder name for the cluster NN input histogram file."};
52 {
this,
"WriteKey",
"PixelClusterNN",
"The conditions statore key for the pixel cluster NNs"};
54 Gaudi::Property< std::vector<std::string> >
m_nnOrder
55 {
this,
"NetworkNames", {
56 "NumberParticles_NoTrack/",
57 "ImpactPoints1P_NoTrack/",
58 "ImpactPoints2P_NoTrack/",
59 "ImpactPoints3P_NoTrack/",
60 "ImpactPointErrorsX1_NoTrack/",
61 "ImpactPointErrorsX2_NoTrack/",
62 "ImpactPointErrorsX3_NoTrack/",
63 "ImpactPointErrorsY1_NoTrack/",
64 "ImpactPointErrorsY2_NoTrack/",
65 "ImpactPointErrorsY3_NoTrack/"},
66 "List of network names, which are created in this order"};
69 {
this,
"LayerInfoHistogram",
"LayersInfo",
"Name about the layer info histogram."};
72 {
this,
"LayerPrefix",
"Layer",
"Prefix of the pre layer weight and threshold histograms."};
75 {
this,
"LayerWeightIndicator",
"_weights",
"Suffix of the weight histograms."};
78 {
this,
"LayerThresholdIndicator",
"_thresholds",
"Suffix of the threshold histograms."};
81 {
this,
"GetInputsInfo",
false,
"Also read a histogram which contains information about the inputs (Run I)."};
Base class for conditions algorithms.
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
This file contains the class definition for the IPoolSvc interface class.
Base class for conditions algorithms.
This class provides the interface to the LCG POOL persistency software.
Gaudi::Property< std::string > m_thresholdIndicator
StatusCode finalize() override final
StatusCode execute(const EventContext &ctx) const override final
ServiceHandle< IPoolSvc > m_poolsvc
Gaudi::Property< std::string > m_weightIndicator
ToolHandle< Trk::NeuralNetworkToHistoTool > m_networkToHistoTool
StatusCode initialize() override final
Gaudi::Property< std::string > m_layerInfoHistogram
Gaudi::Property< std::string > m_layerPrefix
TTrainedNetwork * retrieveNetwork(TFile &input_file, const std::string &folder) const
TTrainedNetworkCondAlg(const std::string &name, ISvcLocator *pSvcLocator)
Gaudi::Property< std::vector< std::string > > m_nnOrder
~TTrainedNetworkCondAlg()=default
SG::ReadCondHandleKey< CondAttrListCollection > m_readKey
Gaudi::Property< bool > m_getInputsInfo
SG::WriteCondHandleKey< TTrainedNetworkCollection > m_writeKey