ATLAS Offline Software
TTrainedNetworkCollection.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef _TTrainedNetworkCollection_H_
6 #define _TTrainedNetworkCollection_H_
7 
8 #include <vector>
9 #include <memory>
11 
13  : public std::vector<std::unique_ptr<TTrainedNetwork> >
14 {
15 public:
16  // for debugging :
17  void setNames(const std::vector<std::string> &names) { m_names = names; }
18  const vector<std::string> &names() const { return m_names; }
19 
20 private:
21  std::vector<std::string> m_names;
22 };
23 
24 #include "AthenaKernel/CLASS_DEF.h"
26 
27 #include "AthenaKernel/CondCont.h"
29 
30 #endif
TTrainedNetworkCollection
Definition: TTrainedNetworkCollection.h:14
TTrainedNetworkCollection::m_names
std::vector< std::string > m_names
Definition: TTrainedNetworkCollection.h:21
vector
Definition: MultiHisto.h:13
TTrainedNetworkCollection::setNames
void setNames(const std::vector< std::string > &names)
Definition: TTrainedNetworkCollection.h:17
TTrainedNetwork.h
TTrainedNetworkCollection::names
const vector< std::string > & names() const
Definition: TTrainedNetworkCollection.h:18
CLASS_DEF
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Definition: Control/AthenaKernel/AthenaKernel/CLASS_DEF.h:64
CONDCONT_DEF
CONDCONT_DEF(TTrainedNetworkCollection, 1279883774)
CLASS_DEF.h
macros to associate a CLID to a type