ATLAS Offline Software
Loading...
Searching...
No Matches
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
12class TH1;
13class TTrainedNetwork;
14
15//by Giacinto Piacquadio (19-2-2008)
16
17class TNetworkToHistoTool : public TObject
18{
19public:
20
22
24
25 std::vector<TH1*> fromTrainedNetworkToHisto(TTrainedNetwork*) const;
26
27 TTrainedNetwork* fromHistoToTrainedNetwork(std::vector<TH1*> &) const;
28
29private:
30
31 TH1* findHisto(TString nameOfHisto,
32 std::vector<TH1*> & inputHistos) const;
33
35
36};
37
38
39#endif
40
41
42
ClassDef(TNetworkToHistoTool, 1)
std::vector< TH1 * > fromTrainedNetworkToHisto(TTrainedNetwork *) const
TTrainedNetwork * fromHistoToTrainedNetwork(std::vector< TH1 * > &) const
TH1 * findHisto(TString nameOfHisto, std::vector< TH1 * > &inputHistos) const