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 22 of file TTrainedNetworkCondAlg.cxx.

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

◆ ~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.

64{
65 return 0;
66}

◆ 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 104 of file TTrainedNetworkCondAlg.cxx.

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

90{
91 // If we didn't find any symlinks to add, just return the collection
92 // from the base class. Otherwise, return the extended collection.
93 if (!m_extendedExtraObjects.empty()) {
95 }
97}
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 36 of file TTrainedNetworkCondAlg.cxx.

37 {
38 return StatusCode::SUCCESS;
39 }

◆ initialize()

StatusCode InDet::TTrainedNetworkCondAlg::initialize ( )
finaloverride

Definition at line 26 of file TTrainedNetworkCondAlg.cxx.

26 {
27 ATH_CHECK( m_poolsvc.retrieve() );
28
29 // Condition Handles
30 ATH_CHECK( m_readKey.initialize() );
31 ATH_CHECK( m_writeKey.initialize() );
32
33 return StatusCode::SUCCESS;
34 }
#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 58 of file TTrainedNetworkCondAlg.cxx.

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

77{
78 return BaseAlg::sysExecute (ctx);
79}

◆ 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.

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