TMLPAnalyzer Class Reference

#include <TMLPAnalyzer.h>

Inheritance diagram for TMLPAnalyzer:

TObject TObject List of all members.

Public Member Functions

 TMLPAnalyzer (TMultiLayerPerceptron &net)
 TMLPAnalyzer (TMultiLayerPerceptron *net)
virtual ~TMLPAnalyzer ()
void DrawNetwork (Int_t neuron, const char *signal, const char *bg)
void DrawDInput (Int_t i)
void DrawDInputs ()
TProfileDrawTruthDeviation (Int_t outnode=0, Option_t *option="")
THStackDrawTruthDeviations (Option_t *option="")
TProfileDrawTruthDeviationInOut (Int_t innode, Int_t outnode=0, Option_t *option="")
THStackDrawTruthDeviationInsOut (Int_t outnode=0, Option_t *option="")
void CheckNetwork ()
void GatherInformations ()
TTreeGetIOTree () const
 TMLPAnalyzer (TMultiLayerPerceptron &net)
 TMLPAnalyzer (TMultiLayerPerceptron *net)
virtual ~TMLPAnalyzer ()
void DrawNetwork (Int_t neuron, const char *signal, const char *bg)
void DrawDInput (Int_t i)
void DrawDInputs ()
TProfileDrawTruthDeviation (Int_t outnode=0, Option_t *option="")
THStackDrawTruthDeviations (Option_t *option="")
TProfileDrawTruthDeviationInOut (Int_t innode, Int_t outnode=0, Option_t *option="")
THStackDrawTruthDeviationInsOut (Int_t outnode=0, Option_t *option="")
void CheckNetwork ()
void GatherInformations ()
TTreeGetIOTree () const

Protected Member Functions

Int_t GetLayers ()
Int_t GetNeurons (Int_t layer)
TString GetNeuronFormula (Int_t idx)
const char * GetInputNeuronTitle (Int_t in)
const char * GetOutputNeuronTitle (Int_t out)
Int_t GetLayers ()
Int_t GetNeurons (Int_t layer)
TString GetNeuronFormula (Int_t idx)
const char * GetInputNeuronTitle (Int_t in)
const char * GetOutputNeuronTitle (Int_t out)

Private Attributes

TMultiLayerPerceptronfNetwork
TTreefAnalysisTree
TTreefIOTree
TMultiLayerPerceptronfNetwork
TTreefAnalysisTree
TTreefIOTree

Detailed Description

Definition at line 38 of file TMLPAnalyzer.h.


Constructor & Destructor Documentation

TMLPAnalyzer::TMLPAnalyzer ( TMultiLayerPerceptron net  )  [inline]

Definition at line 53 of file TMLPAnalyzer.h.

Referenced by G__G__MLP_105_0_30(), G__G__MLP_105_0_6(), and G__G__MLP_105_0_7().

TMLPAnalyzer::TMLPAnalyzer ( TMultiLayerPerceptron net  )  [inline]

Definition at line 55 of file TMLPAnalyzer.h.

virtual TMLPAnalyzer::~TMLPAnalyzer (  )  [virtual]

TMLPAnalyzer::TMLPAnalyzer ( TMultiLayerPerceptron net  )  [inline]

Definition at line 53 of file TMLPAnalyzer.h.

TMLPAnalyzer::TMLPAnalyzer ( TMultiLayerPerceptron net  )  [inline]

Definition at line 55 of file TMLPAnalyzer.h.

virtual TMLPAnalyzer::~TMLPAnalyzer (  )  [virtual]


Member Function Documentation

Int_t TMLPAnalyzer::GetLayers (  )  [protected]

Definition at line 54 of file TMLPAnalyzer.cxx.

References TString::CountChar(), fNetwork, and TMultiLayerPerceptron::GetStructure().

Referenced by DrawTruthDeviations(), GatherInformations(), and GetNeurons().

Int_t TMLPAnalyzer::GetNeurons ( Int_t  layer  )  [protected]

Definition at line 63 of file TMLPAnalyzer.cxx.

References xmlio::cnt, TString::First(), fNetwork, GetLayers(), TMultiLayerPerceptron::GetStructure(), TString::Index(), TString::Last(), TString::Length(), num, and output().

Referenced by CheckNetwork(), DrawDInputs(), DrawTruthDeviationInsOut(), DrawTruthDeviations(), and GatherInformations().

TString TMLPAnalyzer::GetNeuronFormula ( Int_t  idx  )  [protected]

Definition at line 101 of file TMLPAnalyzer.cxx.

References xmlio::cnt, TString::First(), fNetwork, TMultiLayerPerceptron::GetStructure(), and TString::Length().

Referenced by GatherInformations().

const char * TMLPAnalyzer::GetInputNeuronTitle ( Int_t  in  )  [protected]

Definition at line 128 of file TMLPAnalyzer.cxx.

References TMultiLayerPerceptron::fFirstLayer, fNetwork, and TNamed::GetName().

Referenced by CheckNetwork(), DrawDInputs(), and DrawTruthDeviationInOut().

const char * TMLPAnalyzer::GetOutputNeuronTitle ( Int_t  out  )  [protected]

Definition at line 136 of file TMLPAnalyzer.cxx.

References TMultiLayerPerceptron::fLastLayer, fNetwork, and TNamed::GetName().

Referenced by DrawTruthDeviation(), DrawTruthDeviationInOut(), DrawTruthDeviationInsOut(), and DrawTruthDeviations().

void TMLPAnalyzer::DrawNetwork ( Int_t  neuron,
const char *  signal,
const char *  bg 
)

Definition at line 332 of file TMLPAnalyzer.cxx.

References THStack::Add(), TLegend::AddEntry(), data, THStack::Draw(), TLegend::Draw(), TMultiLayerPerceptron::fData, TH1::Fill(), fNetwork, Form(), TMultiLayerPerceptron::fTest, TEventList::GetEntry(), TEventList::GetN(), j, kBlue, kRed, legend, nEvents, TMultiLayerPerceptron::Result(), TH1::SetDirectory(), TAttFill::SetFillColor(), TAttFill::SetFillStyle(), TAttLine::SetLineColor(), TH1::SetStats(), and test().

Referenced by G__G__MLP_105_0_8(), and mlpHiggs().

void TMLPAnalyzer::DrawDInput ( Int_t  i  ) 

Definition at line 279 of file TMLPAnalyzer.cxx.

References TTree::Draw(), fAnalysisTree, sel, and snprintf.

Referenced by G__G__MLP_105_0_9().

void TMLPAnalyzer::DrawDInputs (  ) 

Definition at line 291 of file TMLPAnalyzer.cxx.

References THStack::Add(), TLegend::AddEntry(), TTree::Draw(), THStack::Draw(), TLegend::Draw(), fAnalysisTree, Form(), gDirectory, TDirectory::Get(), GetInputNeuronTitle(), GetNeurons(), gPad, i, legend, sel, TH1::SetDirectory(), TAttLine::SetLineColor(), and snprintf.

Referenced by G__G__MLP_105_0_10(), mlpHiggs(), and mlpRegression().

TProfile * TMLPAnalyzer::DrawTruthDeviation ( Int_t  outnode = 0,
Option_t option = "" 
)

Definition at line 388 of file TMLPAnalyzer.cxx.

References TTree::Draw(), fIOTree, TString::Form(), Form(), GatherInformations(), gDirectory, TDirectory::Get(), GetOutputNeuronTitle(), h, and title.

Referenced by DrawTruthDeviations(), and G__G__MLP_105_0_11().

THStack * TMLPAnalyzer::DrawTruthDeviations ( Option_t option = ""  ) 

Definition at line 421 of file TMLPAnalyzer.cxx.

References THStack::Add(), TLegend::AddEntry(), THStack::Draw(), TLegend::Draw(), DrawTruthDeviation(), GetLayers(), GetNeurons(), GetOutputNeuronTitle(), TObject::GetTitle(), THStack::GetXaxis(), THStack::GetYaxis(), h, and TNamed::SetTitle().

Referenced by G__G__MLP_105_0_12(), and mlpRegression().

TProfile * TMLPAnalyzer::DrawTruthDeviationInOut ( Int_t  innode,
Int_t  outnode = 0,
Option_t option = "" 
)

Definition at line 465 of file TMLPAnalyzer.cxx.

References TTree::Draw(), TROOT::FindObject(), fIOTree, TString::Form(), Form(), GatherInformations(), GetInputNeuronTitle(), GetOutputNeuronTitle(), gROOT, and h.

Referenced by DrawTruthDeviationInsOut(), and G__G__MLP_105_0_13().

THStack * TMLPAnalyzer::DrawTruthDeviationInsOut ( Int_t  outnode = 0,
Option_t option = "" 
)

Definition at line 497 of file TMLPAnalyzer.cxx.

References THStack::Add(), TLegend::AddEntry(), THStack::Draw(), TLegend::Draw(), DrawTruthDeviationInOut(), TString::Form(), Form(), GetNeurons(), GetOutputNeuronTitle(), THStack::GetXaxis(), THStack::GetYaxis(), h, and TNamed::SetTitle().

Referenced by G__G__MLP_105_0_14(), and mlpRegression().

void TMLPAnalyzer::CheckNetwork (  ) 

Definition at line 144 of file TMLPAnalyzer.cxx.

References TString::Data(), TTree::Draw(), fAnalysisTree, fNetwork, Form(), gDirectory, TDirectory::Get(), GetInputNeuronTitle(), TH1::GetMean(), GetNeurons(), TH1::GetRMS(), TMultiLayerPerceptron::GetStructure(), i, sel, and snprintf.

Referenced by G__G__MLP_105_0_15(), mlpHiggs(), and mlpRegression().

void TMLPAnalyzer::GatherInformations (  ) 

Definition at line 166 of file TMLPAnalyzer.cxx.

References TTree::Branch(), TString::Data(), data, TMultiLayerPerceptron::Evaluate(), fAnalysisTree, TMultiLayerPerceptron::fData, TTree::Fill(), fIOTree, TMultiLayerPerceptron::fLastLayer, fNetwork, Form(), TMultiLayerPerceptron::fTest, TMultiLayerPerceptron::GetEntry(), GetLayers(), GetNeuronFormula(), GetNeurons(), TH1::GetRMS(), i, TRegexp::Index(), j, k, l, len, TString::Length(), nEvents, params, TString::Remove(), TTree::ResetBranchAddresses(), TTree::SetDirectory(), TMath::Sqrt(), test(), v1, and val.

Referenced by DrawTruthDeviation(), DrawTruthDeviationInOut(), G__G__MLP_105_0_16(), mlpHiggs(), and mlpRegression().

TTree* TMLPAnalyzer::GetIOTree (  )  const [inline]

Definition at line 69 of file TMLPAnalyzer.h.

References fIOTree.

Referenced by G__G__MLP_105_0_17(), and mlpRegression().

Int_t TMLPAnalyzer::GetLayers (  )  [protected]

Int_t TMLPAnalyzer::GetNeurons ( Int_t  layer  )  [protected]

TString TMLPAnalyzer::GetNeuronFormula ( Int_t  idx  )  [protected]

const char* TMLPAnalyzer::GetInputNeuronTitle ( Int_t  in  )  [protected]

const char* TMLPAnalyzer::GetOutputNeuronTitle ( Int_t  out  )  [protected]

void TMLPAnalyzer::DrawNetwork ( Int_t  neuron,
const char *  signal,
const char *  bg 
)

void TMLPAnalyzer::DrawDInput ( Int_t  i  ) 

void TMLPAnalyzer::DrawDInputs (  ) 

TProfile* TMLPAnalyzer::DrawTruthDeviation ( Int_t  outnode = 0,
Option_t option = "" 
)

THStack* TMLPAnalyzer::DrawTruthDeviations ( Option_t option = ""  ) 

TProfile* TMLPAnalyzer::DrawTruthDeviationInOut ( Int_t  innode,
Int_t  outnode = 0,
Option_t option = "" 
)

THStack* TMLPAnalyzer::DrawTruthDeviationInsOut ( Int_t  outnode = 0,
Option_t option = "" 
)

void TMLPAnalyzer::CheckNetwork (  ) 

void TMLPAnalyzer::GatherInformations (  ) 

TTree* TMLPAnalyzer::GetIOTree (  )  const [inline]

Definition at line 69 of file TMLPAnalyzer.h.

References fIOTree.


Member Data Documentation

TMultiLayerPerceptron* TMLPAnalyzer::fNetwork [private]

Definition at line 41 of file TMLPAnalyzer.h.

Referenced by CheckNetwork(), DrawNetwork(), GatherInformations(), GetInputNeuronTitle(), GetLayers(), GetNeuronFormula(), GetNeurons(), and GetOutputNeuronTitle().

TTree* TMLPAnalyzer::fAnalysisTree [private]

Definition at line 42 of file TMLPAnalyzer.h.

Referenced by CheckNetwork(), DrawDInput(), DrawDInputs(), and GatherInformations().

TTree* TMLPAnalyzer::fIOTree [private]

Definition at line 43 of file TMLPAnalyzer.h.

Referenced by DrawTruthDeviation(), DrawTruthDeviationInOut(), GatherInformations(), and GetIOTree().

TMultiLayerPerceptron* TMLPAnalyzer::fNetwork [private]

Definition at line 41 of file TMLPAnalyzer.h.

TTree* TMLPAnalyzer::fAnalysisTree [private]

Definition at line 42 of file TMLPAnalyzer.h.

TTree* TMLPAnalyzer::fIOTree [private]

Definition at line 43 of file TMLPAnalyzer.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:43:00 2011 for ROOT_528-00b_version by  doxygen 1.5.1