ATLAS Offline Software
TNetworkToHistoTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef __TNetworkToHistoTool_
6 #define __TNetworkToHistoTool_
7 
8 #include <TString.h>
9 #include <vector>
10 #include "TObject.h"
11 
12 class TH1;
13 class TTrainedNetwork;
14 
15 //by Giacinto Piacquadio (19-2-2008)
16 
17 class TNetworkToHistoTool : public TObject
18 {
19 public:
20 
22 
24 
25  std::vector<TH1*> fromTrainedNetworkToHisto(TTrainedNetwork*) const;
26 
27  TTrainedNetwork* fromHistoToTrainedNetwork(std::vector<TH1*> &) const;
28 
29 private:
30 
31  TH1* findHisto(TString nameOfHisto,
32  std::vector<TH1*> & inputHistos) const;
33 
35 
36 };
37 
38 
39 #endif
40 
41 
42 
TNetworkToHistoTool
Definition: TNetworkToHistoTool.h:18
TNetworkToHistoTool::findHisto
TH1 * findHisto(TString nameOfHisto, std::vector< TH1 * > &inputHistos) const
TNetworkToHistoTool::TNetworkToHistoTool
TNetworkToHistoTool()
Definition: TNetworkToHistoTool.h:21
TNetworkToHistoTool::fromHistoToTrainedNetwork
TTrainedNetwork * fromHistoToTrainedNetwork(std::vector< TH1 * > &) const
TNetworkToHistoTool::fromTrainedNetworkToHisto
std::vector< TH1 * > fromTrainedNetworkToHisto(TTrainedNetwork *) const
TNetworkToHistoTool::~TNetworkToHistoTool
~TNetworkToHistoTool()
Definition: TNetworkToHistoTool.h:23
TTrainedNetwork
Definition: InnerDetector/InDetCalibAlgs/PixelCalibAlgs/NNClusteringCalibration_RunI/TTrainedNetwork.h:21
TNetworkToHistoTool::ClassDef
ClassDef(TNetworkToHistoTool, 1)