#include "TString.h"
Go to the source code of this file.
|
void | trainNN (TString inputfile, TString outputclass="JetFitterNN", int nIterations=10, int dilutionFactor=2, int nodesFirstLayer=10, int nodesSecondLayer=9, int restartTrainingFrom=0, int nParticlesTraining=2, bool useTrackEstimate=false, int numberBinsErrorEstimate=20) |
|
int | main () |
|
◆ main()
Definition at line 18 of file hello.cxx.
19 using namespace asg::msgUserCode;
23 const string myname =
"hello: ";
24 cout << myname <<
"Begin." << endl;
25 AsgHelloTool htool(
"myhello");
26 ANA_CHECK( htool.setProperty(
"Message",
"Hello from ASG.") );
28 cout << myname <<
"Initialize" << endl;
30 cout << myname <<
"Show properties" << endl;
32 cout << myname <<
"Extract property" << endl;
33 const string*
message = htool.getProperty<
string >(
"Message" );
35 cout << myname <<
"Couldn't extract property from the tool" << endl;
38 htool.getProperty<
string >(
"UnknownProperty" );
39 htool.getProperty<
int >(
"Message" );
40 cout << myname <<
"The \"Message\" property of the tool: " << *
message << endl;
41 cout << myname <<
"Run 10 times" << endl;
42 string line =
"---------------------------------------------------";
44 for (
int i=0;
i<10; ++
i ) {
51 cout << myname <<
"Check failure:" << endl;
53 cout << myname <<
"End of failure check" << endl;
54 cout << myname <<
"End." << endl;
◆ trainNN()
void trainNN |
( |
TString |
inputfile, |
|
|
TString |
outputclass = "JetFitterNN" , |
|
|
int |
nIterations = 10 , |
|
|
int |
dilutionFactor = 2 , |
|
|
int |
nodesFirstLayer = 10 , |
|
|
int |
nodesSecondLayer = 9 , |
|
|
int |
restartTrainingFrom = 0 , |
|
|
int |
nParticlesTraining = 2 , |
|
|
bool |
useTrackEstimate = false , |
|
|
int |
numberBinsErrorEstimate = 20 |
|
) |
| |