Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
train.C File Reference
#include <TFile.h>
#include <TTree.h>
#include <TString.h>
#include <TChain.h>
+ Include dependency graph for train.C:

Go to the source code of this file.

Functions

TChain * handleFile (string name, string extension, string treename, int filecount)
 
void makeFactory (TTree *signalTree, TTree *backTree, std::string outfile, std::string factoryname, TTree *bgTree2=NULL)
 
int train ()
 

Function Documentation

TChain* handleFile ( string  name,
string  extension,
string  treename,
int  filecount 
)

Definition at line 15 of file train.C.

View newest version in sPHENIX GitHub at line 15 of file train.C

References i, and physmon_simulation::s.

void makeFactory ( TTree *  signalTree,
TTree *  backTree,
std::string  outfile,
std::string  factoryname,
TTree *  bgTree2 = NULL 
)

Definition at line 30 of file train.C.

View newest version in sPHENIX GitHub at line 30 of file train.C

Referenced by train(), vtxPredictionTraining(), and vtxRS().

+ Here is the caller graph for this function:

int train ( )

Definition at line 84 of file train.C.

View newest version in sPHENIX GitHub at line 84 of file train.C

References handleFile(), and makeFactory().

+ Here is the call graph for this function: