ATLAS Offline Software
Loading...
Searching...
No Matches
InDet::TTrainedNetworkCondAlg Class Reference

#include <TTrainedNetworkCondAlg.h>

Inheritance diagram for InDet::TTrainedNetworkCondAlg:
Collaboration diagram for InDet::TTrainedNetworkCondAlg:

Public Member Functions

 TTrainedNetworkCondAlg (const std::string &name, ISvcLocator *pSvcLocator)
 ~TTrainedNetworkCondAlg ()=default
StatusCode initialize () override final
StatusCode execute (const EventContext &ctx) const override final
StatusCode finalize () override final
virtual bool isReEntrant () const override
 Avoid scheduling algorithm multiple times.
virtual StatusCode sysInitialize () override
 Override sysInitialize.
virtual bool isClonable () const override
 Specify if the algorithm is clonable.
virtual unsigned int cardinality () const override
 Cardinality (Maximum number of clones that can exist) special value 0 means that algorithm is reentrant.
virtual StatusCode sysExecute (const EventContext &ctx) override
 Execute an algorithm.
virtual const DataObjIDColl & extraOutputDeps () const override
 Return the list of extra output dependencies.
virtual bool filterPassed (const EventContext &ctx) const
virtual void setFilterPassed (bool state, const EventContext &ctx) const
ServiceHandle< StoreGateSvc > & evtStore ()
 The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
const ServiceHandle< StoreGateSvc > & detStore () const
 The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
virtual StatusCode sysStart () override
 Handle START transition.
virtual std::vector< Gaudi::DataHandle * > inputHandles () const override
 Return this algorithm's input handles.
virtual std::vector< Gaudi::DataHandle * > outputHandles () const override
 Return this algorithm's output handles.
Gaudi::Details::PropertyBase & declareProperty (Gaudi::Property< T, V, H > &t)
void updateVHKA (Gaudi::Details::PropertyBase &)
MsgStream & msg () const
bool msgLvl (const MSG::Level lvl) const

Protected Member Functions

void renounceArray (SG::VarHandleKeyArray &handlesArray)
 remove all handles from I/O resolution
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > renounce (T &h)
void extraDeps_update_handler (Gaudi::Details::PropertyBase &ExtraDeps)
 Add StoreName to extra input/output deps as needed.

Private Types

typedef ServiceHandle< StoreGateSvcStoreGateSvc_t

Private Member Functions

TTrainedNetworkretrieveNetwork (TFile &input_file, const std::string &folder) const
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
 specialization for handling Gaudi::Property<SG::VarHandleKey>

Private Attributes

ServiceHandle< IPoolSvcm_poolsvc {this, "PoolSvc", "PoolSvc", "The service to retrieve files by GUID."}
ToolHandle< Trk::NeuralNetworkToHistoToolm_networkToHistoTool {this,"NetworkToHistoTool", "Trk::NeuralNetworkToHistoTool/NeuralNetworkToHistoTool", "Tool to create a neural network from a set of histograms." }
SG::ReadCondHandleKey< CondAttrListCollectionm_readKey {this, "ReadKey", "/PIXEL/PixelClustering/PixelClusNNCalib", "Cool folder name for the cluster NN input histogram file."}
SG::WriteCondHandleKey< TTrainedNetworkCollectionm_writeKey {this, "WriteKey", "PixelClusterNN", "The conditions statore key for the pixel cluster NNs"}
Gaudi::Property< std::vector< std::string > > m_nnOrder
Gaudi::Property< std::string > m_layerInfoHistogram {this, "LayerInfoHistogram", "LayersInfo","Name about the layer info histogram."}
Gaudi::Property< std::string > m_layerPrefix {this, "LayerPrefix", "Layer", "Prefix of the pre layer weight and threshold histograms."}
Gaudi::Property< std::string > m_weightIndicator {this, "LayerWeightIndicator", "_weights", "Suffix of the weight histograms."}
Gaudi::Property< std::string > m_thresholdIndicator {this, "LayerThresholdIndicator", "_thresholds","Suffix of the threshold histograms."}
Gaudi::Property< bool > m_getInputsInfo {this, "GetInputsInfo", false,"Also read a histogram which contains information about the inputs (Run I)."}
DataObjIDColl m_extendedExtraObjects
 Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.
StoreGateSvc_t m_evtStore
 Pointer to StoreGate (event store by default).
StoreGateSvc_t m_detStore
 Pointer to StoreGate (detector store by default).
std::vector< SG::VarHandleKeyArray * > m_vhka
bool m_varHandleArraysDeclared

Detailed Description

Definition at line 29 of file TTrainedNetworkCondAlg.h.

Member Typedef Documentation

◆ StoreGateSvc_t

typedef ServiceHandle<StoreGateSvc> AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::StoreGateSvc_t
privateinherited

Definition at line 388 of file AthCommonDataStore.h.

Constructor & Destructor Documentation

◆ TTrainedNetworkCondAlg()

InDet::TTrainedNetworkCondAlg::TTrainedNetworkCondAlg ( const std::string & name,
ISvcLocator * pSvcLocator )

Definition at line 21 of file TTrainedNetworkCondAlg.cxx.

22 : ::AthCondAlgorithm( name, pSvcLocator )
23 {}

◆ ~TTrainedNetworkCondAlg()

InDet::TTrainedNetworkCondAlg::~TTrainedNetworkCondAlg ( )
default

Member Function Documentation

◆ cardinality()

unsigned int AthCommonReentrantAlgorithm< Gaudi::Algorithm >::cardinality ( ) const
overridevirtualinherited

Cardinality (Maximum number of clones that can exist) special value 0 means that algorithm is reentrant.

Override this to return 0 for reentrant algorithms.

Definition at line 75 of file AthCommonReentrantAlgorithm.cxx.

62{
63 return 0;
64}

◆ declareGaudiProperty()

Gaudi::Details::PropertyBase & AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareGaudiProperty ( Gaudi::Property< T, V, H > & hndl,
const SG::VarHandleKeyType &  )
inlineprivateinherited

specialization for handling Gaudi::Property<SG::VarHandleKey>

Definition at line 156 of file AthCommonDataStore.h.

158 {
160 hndl.value(),
161 hndl.documentation());
162
163 }
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)

◆ declareProperty()

Gaudi::Details::PropertyBase & AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareProperty ( Gaudi::Property< T, V, H > & t)
inlineinherited

Definition at line 145 of file AthCommonDataStore.h.

145 {
146 typedef typename SG::HandleClassifier<T>::type htype;
148 }
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>

◆ detStore()

const ServiceHandle< StoreGateSvc > & AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::detStore ( ) const
inlineinherited

The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.

Definition at line 95 of file AthCommonDataStore.h.

◆ evtStore()

ServiceHandle< StoreGateSvc > & AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::evtStore ( )
inlineinherited

The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.

Definition at line 85 of file AthCommonDataStore.h.

◆ execute()

StatusCode InDet::TTrainedNetworkCondAlg::execute ( const EventContext & ctx) const
finaloverride

Definition at line 103 of file TTrainedNetworkCondAlg.cxx.

103 {
104
105 SG::WriteCondHandle<TTrainedNetworkCollection > NnWriteHandle{m_writeKey, ctx};
106 if (NnWriteHandle.isValid()) {
107 ATH_MSG_DEBUG("Write CondHandle "<< NnWriteHandle.fullKey() << " is already valid");
108 return StatusCode::SUCCESS;
109 }
110
111 SG::ReadCondHandle<CondAttrListCollection> readHandle{m_readKey, ctx};
112 if(!readHandle.isValid()) {
113 ATH_MSG_ERROR("Invalid read handle " << m_readKey.key());
114 return StatusCode::FAILURE;
115 }
116 const CondAttrListCollection* atrcol{*readHandle};
117 assert( atrcol != nullptr);
118
119 EventIDRange cdo_iov;
120 if(!readHandle.range(cdo_iov)) {
121 ATH_MSG_ERROR("Failed to get valid validaty range from " << readHandle.key());
122 return StatusCode::FAILURE;
123 }
124
125 unsigned int channel=1; //Always 1 in old version with CoolHistSvc
126 CondAttrListCollection::const_iterator channel_iter = atrcol->chanAttrListPair(channel);
127 if (channel_iter==atrcol->end()) {
128 ATH_MSG_ERROR("Conditions data " << readHandle.key() << " misses channel " << channel);
129 return StatusCode::FAILURE;
130 }
131
132 // @TODO store NN parameters in a different way than as a set of histograms in a root file.
133 const std::string coolguid=channel_iter->second["fileGUID"].data<std::string>();
134
135 std::unique_ptr<TTrainedNetworkCollection> writeCdo{std::make_unique<TTrainedNetworkCollection>()};
136 {
137 std::string pfname;
138 std::string tech;
139 m_poolsvc->lookupBestPfn(coolguid, pfname, tech );
140 ATH_MSG_VERBOSE("Get NNs from file " << pfname.c_str() << " [" << coolguid << " <- " << readHandle.key() << "]." );
141 std::unique_ptr<TFile> a_file( TFile::Open(pfname.c_str(),"READ") );
142 if (!a_file || !a_file->IsOpen()) {
143 ATH_MSG_ERROR("Failed to open file " << pfname << " referenced by " << readHandle.key() << " GUID " << coolguid);
144 return StatusCode::FAILURE;
145 }
146
147 writeCdo->reserve(m_nnOrder.size());
148 for (const std::string &folder: m_nnOrder) {
149 ATH_MSG_VERBOSE( "Retrieve NN " << writeCdo->size() << ": " << folder );
150 writeCdo->push_back( std::unique_ptr<TTrainedNetwork>( retrieveNetwork(*a_file, folder) ) );
151 }
152 writeCdo->setNames(m_nnOrder);
153 }
154
155 if(NnWriteHandle.record(cdo_iov,std::move(writeCdo)).isFailure()) {
156 ATH_MSG_ERROR("Failed to record Trained network collection to "
157 << NnWriteHandle.key()
158 << " with IOV " << cdo_iov );
159 return StatusCode::FAILURE;
160 }
161 return StatusCode::SUCCESS;
162 }
#define ATH_MSG_ERROR(x)
#define ATH_MSG_VERBOSE(x)
#define ATH_MSG_DEBUG(x)
const_iterator end() const
ChanAttrListMap::const_iterator const_iterator
const_iterator chanAttrListPair(ChanNum chanNum) const
Access to Chan/AttributeList pairs via channel number: returns map iterator.
ServiceHandle< IPoolSvc > m_poolsvc
TTrainedNetwork * retrieveNetwork(TFile &input_file, const std::string &folder) const
Gaudi::Property< std::vector< std::string > > m_nnOrder
SG::ReadCondHandleKey< CondAttrListCollection > m_readKey
SG::WriteCondHandleKey< TTrainedNetworkCollection > m_writeKey
bool range(EventIDRange &r)
const std::string & key() const
const std::string & key() const
StatusCode record(const EventIDRange &range, T *t)
record handle, with explicit range DEPRECATED
const DataObjID & fullKey() const

◆ extraDeps_update_handler()

void AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::extraDeps_update_handler ( Gaudi::Details::PropertyBase & ExtraDeps)
protectedinherited

Add StoreName to extra input/output deps as needed.

use the logic of the VarHandleKey to parse the DataObjID keys supplied via the ExtraInputs and ExtraOuputs Properties to add the StoreName if it's not explicitly given

◆ extraOutputDeps()

const DataObjIDColl & AthCommonReentrantAlgorithm< Gaudi::Algorithm >::extraOutputDeps ( ) const
overridevirtualinherited

Return the list of extra output dependencies.

This list is extended to include symlinks implied by inheritance relations.

Definition at line 94 of file AthCommonReentrantAlgorithm.cxx.

88{
89 // If we didn't find any symlinks to add, just return the collection
90 // from the base class. Otherwise, return the extended collection.
91 if (!m_extendedExtraObjects.empty()) {
93 }
95}
An algorithm that can be simultaneously executed in multiple threads.

◆ filterPassed()

virtual bool AthCommonReentrantAlgorithm< Gaudi::Algorithm >::filterPassed ( const EventContext & ctx) const
inlinevirtualinherited

Definition at line 96 of file AthCommonReentrantAlgorithm.h.

96 {
97 return execState( ctx ).filterPassed();
98 }
virtual bool filterPassed(const EventContext &ctx) const

◆ finalize()

StatusCode InDet::TTrainedNetworkCondAlg::finalize ( )
finaloverride

Definition at line 35 of file TTrainedNetworkCondAlg.cxx.

36 {
37 return StatusCode::SUCCESS;
38 }

◆ initialize()

StatusCode InDet::TTrainedNetworkCondAlg::initialize ( )
finaloverride

Definition at line 25 of file TTrainedNetworkCondAlg.cxx.

25 {
26 ATH_CHECK( m_poolsvc.retrieve() );
27
28 // Condition Handles
29 ATH_CHECK( m_readKey.initialize() );
30 ATH_CHECK( m_writeKey.initialize() );
31
32 return StatusCode::SUCCESS;
33 }
#define ATH_CHECK
Evaluate an expression and check for errors.

◆ inputHandles()

virtual std::vector< Gaudi::DataHandle * > AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::inputHandles ( ) const
overridevirtualinherited

Return this algorithm's input handles.

We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.

◆ isClonable()

◆ isReEntrant()

virtual bool AthCondAlgorithm::isReEntrant ( ) const
inlineoverridevirtualinherited

Avoid scheduling algorithm multiple times.

With multiple concurrent events, conditions objects often expire simultaneously for all slots. To avoid that the scheduler runs the CondAlg in each slot, we declare it as "non-reentrant". This ensures that the conditions objects are only created once.

In case a particular CondAlg should behave differently, it can override this method again and return true.

See also
ATEAM-836

Definition at line 39 of file AthCondAlgorithm.h.

39{ return false; }

◆ msg()

MsgStream & AthCommonMsg< Gaudi::Algorithm >::msg ( ) const
inlineinherited

Definition at line 24 of file AthCommonMsg.h.

24 {
25 return this->msgStream();
26 }

◆ msgLvl()

bool AthCommonMsg< Gaudi::Algorithm >::msgLvl ( const MSG::Level lvl) const
inlineinherited

Definition at line 30 of file AthCommonMsg.h.

30 {
31 return this->msgLevel(lvl);
32 }

◆ outputHandles()

virtual std::vector< Gaudi::DataHandle * > AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::outputHandles ( ) const
overridevirtualinherited

Return this algorithm's output handles.

We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.

◆ renounce()

std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::renounce ( T & h)
inlineprotectedinherited

Definition at line 380 of file AthCommonDataStore.h.

381 {
382 h.renounce();
384 }
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > renounce(T &h)

◆ renounceArray()

void AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::renounceArray ( SG::VarHandleKeyArray & handlesArray)
inlineprotectedinherited

remove all handles from I/O resolution

Definition at line 364 of file AthCommonDataStore.h.

364 {
366 }

◆ retrieveNetwork()

TTrainedNetwork * InDet::TTrainedNetworkCondAlg::retrieveNetwork ( TFile & input_file,
const std::string & folder ) const
private

Definition at line 57 of file TTrainedNetworkCondAlg.cxx.

58 {
59 //The following means that Histos we own get deleted at the end of this method
60 //when we are done with them.
61 std::vector<std::unique_ptr<TH1>> ownedRetrievedHistos;
62 const unsigned int layer_info = ownedRetrievedHistos.size();
63 // the information about the layers
64 ownedRetrievedHistos.push_back( getObject<TH1>(input_file, folder+m_layerInfoHistogram.value()) );
65
66 if(!m_getInputsInfo){
67 // the info about the input nodes
68 ownedRetrievedHistos.push_back( getObject<TH2>(input_file, folder+"InputsInfo") );
69 }
70
71 // retrieve the number of hidden layers from the LayerInfo histogram
72 unsigned int n_hidden = ownedRetrievedHistos.at(layer_info)->GetNbinsX()-2;
73 ATH_MSG_VERBOSE(" Retrieving calibration: " << folder << " for NN with: " << n_hidden << " hidden layers.");
74 //coverity[INEFFICIENT_RESERVE:FALSE]
75 ownedRetrievedHistos.reserve( ownedRetrievedHistos.size() + n_hidden*2 );
76 for (unsigned int i=0; i<=n_hidden; ++i) {
77 std::stringstream folder_name;
78 folder_name << folder << m_layerPrefix.value() << i;
79 ownedRetrievedHistos.push_back( getObject<TH2>(input_file, folder_name.str()+m_weightIndicator.value() ) );
80 ownedRetrievedHistos.push_back( getObject<TH1>(input_file, folder_name.str()+m_thresholdIndicator.value() ) );
81 }
82
83 //We need this in order to keep compatibility with legacy code
84 std::vector<const TH1*> retrievedHistos;
85 retrievedHistos.reserve(ownedRetrievedHistos.size());
86
87for(const auto & h: ownedRetrievedHistos){
88 retrievedHistos.push_back(h.get());
89 }
90
91 std::unique_ptr<TTrainedNetwork> a_nn(Trk::NeuralNetworkToHistoTool::fromHistoToTrainedNetwork(retrievedHistos));
92 if (!a_nn) {
93 ATH_MSG_ERROR( "Failed to create NN from " << retrievedHistos.size() << " histograms read from " << folder);
94 }
95 else {
96 ATH_MSG_VERBOSE( folder << " " << a_nn->getnInput() );
97 }
98
99 return a_nn.release();
100 }
Gaudi::Property< std::string > m_thresholdIndicator
Gaudi::Property< std::string > m_weightIndicator
Gaudi::Property< std::string > m_layerInfoHistogram
Gaudi::Property< std::string > m_layerPrefix
Gaudi::Property< bool > m_getInputsInfo
static TTrainedNetwork * fromHistoToTrainedNetwork(const std::vector< TH1 * > &)

◆ setFilterPassed()

virtual void AthCommonReentrantAlgorithm< Gaudi::Algorithm >::setFilterPassed ( bool state,
const EventContext & ctx ) const
inlinevirtualinherited

Definition at line 100 of file AthCommonReentrantAlgorithm.h.

100 {
102 }
virtual void setFilterPassed(bool state, const EventContext &ctx) const

◆ sysExecute()

StatusCode AthCommonReentrantAlgorithm< Gaudi::Algorithm >::sysExecute ( const EventContext & ctx)
overridevirtualinherited

Execute an algorithm.

We override this in order to work around an issue with the Algorithm base class storing the event context in a member variable that can cause crashes in MT jobs.

Definition at line 85 of file AthCommonReentrantAlgorithm.cxx.

75{
76 return BaseAlg::sysExecute (ctx);
77}

◆ sysInitialize()

StatusCode AthCommonReentrantAlgorithm< Gaudi::Algorithm >::sysInitialize ( )
overridevirtualinherited

Override sysInitialize.

Override sysInitialize from the base class.

Loop through all output handles, and if they're WriteCondHandles, automatically register them and this Algorithm with the CondSvc

Scan through all outputHandles, and if they're WriteCondHandles, register them with the CondSvc

Reimplemented from AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >.

Reimplemented in HypoBase, and InputMakerBase.

Definition at line 61 of file AthCommonReentrantAlgorithm.cxx.

105 {
107
108 if (sc.isFailure()) {
109 return sc;
110 }
111
112 ServiceHandle<ICondSvc> cs("CondSvc",name());
113 for (auto h : outputHandles()) {
114 if (h->isCondition() && h->mode() == Gaudi::DataHandle::Writer) {
115 // do this inside the loop so we don't create the CondSvc until needed
116 if ( cs.retrieve().isFailure() ) {
117 ATH_MSG_WARNING("no CondSvc found: won't autoreg WriteCondHandles");
118 return StatusCode::SUCCESS;
119 }
120 if (cs->regHandle(this,*h).isFailure()) {
122 ATH_MSG_ERROR("unable to register WriteCondHandle " << h->fullKey()
123 << " with CondSvc");
124 }
125 }
126 }
127 return sc;
128}
#define ATH_MSG_WARNING(x)
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override

◆ sysStart()

virtual StatusCode AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::sysStart ( )
overridevirtualinherited

Handle START transition.

We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.

◆ updateVHKA()

void AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::updateVHKA ( Gaudi::Details::PropertyBase & )
inlineinherited

Definition at line 308 of file AthCommonDataStore.h.

308 {
309 // debug() << "updateVHKA for property " << p.name() << " " << p.toString()
310 // << " size: " << m_vhka.size() << endmsg;
311 for (auto &a : m_vhka) {
313 for (auto k : keys) {
314 k->setOwner(this);
315 }
316 }
317 }

Member Data Documentation

◆ m_detStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_detStore
privateinherited

Pointer to StoreGate (detector store by default).

Definition at line 393 of file AthCommonDataStore.h.

◆ m_evtStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_evtStore
privateinherited

Pointer to StoreGate (event store by default).

Definition at line 390 of file AthCommonDataStore.h.

◆ m_extendedExtraObjects

DataObjIDColl AthCommonReentrantAlgorithm< Gaudi::Algorithm >::m_extendedExtraObjects
privateinherited

Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.

Empty if no symlinks were found.

Definition at line 114 of file AthCommonReentrantAlgorithm.h.

◆ m_getInputsInfo

Gaudi::Property<bool> InDet::TTrainedNetworkCondAlg::m_getInputsInfo {this, "GetInputsInfo", false,"Also read a histogram which contains information about the inputs (Run I)."}
private

Definition at line 80 of file TTrainedNetworkCondAlg.h.

81{this, "GetInputsInfo", false,"Also read a histogram which contains information about the inputs (Run I)."};

◆ m_layerInfoHistogram

Gaudi::Property<std::string> InDet::TTrainedNetworkCondAlg::m_layerInfoHistogram {this, "LayerInfoHistogram", "LayersInfo","Name about the layer info histogram."}
private

Definition at line 68 of file TTrainedNetworkCondAlg.h.

69{this, "LayerInfoHistogram", "LayersInfo","Name about the layer info histogram."};

◆ m_layerPrefix

Gaudi::Property<std::string> InDet::TTrainedNetworkCondAlg::m_layerPrefix {this, "LayerPrefix", "Layer", "Prefix of the pre layer weight and threshold histograms."}
private

Definition at line 71 of file TTrainedNetworkCondAlg.h.

72{this, "LayerPrefix", "Layer", "Prefix of the pre layer weight and threshold histograms."};

◆ m_networkToHistoTool

ToolHandle<Trk::NeuralNetworkToHistoTool> InDet::TTrainedNetworkCondAlg::m_networkToHistoTool {this,"NetworkToHistoTool", "Trk::NeuralNetworkToHistoTool/NeuralNetworkToHistoTool", "Tool to create a neural network from a set of histograms." }
private

Definition at line 45 of file TTrainedNetworkCondAlg.h.

46{this,"NetworkToHistoTool", "Trk::NeuralNetworkToHistoTool/NeuralNetworkToHistoTool", "Tool to create a neural network from a set of histograms." };

◆ m_nnOrder

Gaudi::Property< std::vector<std::string> > InDet::TTrainedNetworkCondAlg::m_nnOrder
private
Initial value:
{this, "NetworkNames", {
"NumberParticles_NoTrack/",
"ImpactPoints1P_NoTrack/",
"ImpactPoints2P_NoTrack/",
"ImpactPoints3P_NoTrack/",
"ImpactPointErrorsX1_NoTrack/",
"ImpactPointErrorsX2_NoTrack/",
"ImpactPointErrorsX3_NoTrack/",
"ImpactPointErrorsY1_NoTrack/",
"ImpactPointErrorsY2_NoTrack/",
"ImpactPointErrorsY3_NoTrack/"},
"List of network names, which are created in this order"}

Definition at line 54 of file TTrainedNetworkCondAlg.h.

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"};

◆ m_poolsvc

ServiceHandle<IPoolSvc> InDet::TTrainedNetworkCondAlg::m_poolsvc {this, "PoolSvc", "PoolSvc", "The service to retrieve files by GUID."}
private

Definition at line 43 of file TTrainedNetworkCondAlg.h.

44{this, "PoolSvc", "PoolSvc", "The service to retrieve files by GUID."};

◆ m_readKey

SG::ReadCondHandleKey<CondAttrListCollection> InDet::TTrainedNetworkCondAlg::m_readKey {this, "ReadKey", "/PIXEL/PixelClustering/PixelClusNNCalib", "Cool folder name for the cluster NN input histogram file."}
private

Definition at line 48 of file TTrainedNetworkCondAlg.h.

49{this, "ReadKey", "/PIXEL/PixelClustering/PixelClusNNCalib", "Cool folder name for the cluster NN input histogram file."};

◆ m_thresholdIndicator

Gaudi::Property<std::string> InDet::TTrainedNetworkCondAlg::m_thresholdIndicator {this, "LayerThresholdIndicator", "_thresholds","Suffix of the threshold histograms."}
private

Definition at line 77 of file TTrainedNetworkCondAlg.h.

78{this, "LayerThresholdIndicator", "_thresholds","Suffix of the threshold histograms."};

◆ m_varHandleArraysDeclared

bool AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_varHandleArraysDeclared
privateinherited

Definition at line 399 of file AthCommonDataStore.h.

◆ m_vhka

std::vector<SG::VarHandleKeyArray*> AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_vhka
privateinherited

Definition at line 398 of file AthCommonDataStore.h.

◆ m_weightIndicator

Gaudi::Property<std::string> InDet::TTrainedNetworkCondAlg::m_weightIndicator {this, "LayerWeightIndicator", "_weights", "Suffix of the weight histograms."}
private

Definition at line 74 of file TTrainedNetworkCondAlg.h.

75{this, "LayerWeightIndicator", "_weights", "Suffix of the weight histograms."};

◆ m_writeKey

SG::WriteCondHandleKey<TTrainedNetworkCollection> InDet::TTrainedNetworkCondAlg::m_writeKey {this, "WriteKey", "PixelClusterNN", "The conditions statore key for the pixel cluster NNs"}
private

Definition at line 51 of file TTrainedNetworkCondAlg.h.

52{this, "WriteKey", "PixelClusterNN", "The conditions statore key for the pixel cluster NNs"};

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