wiki:TopazPresentation
close Warning: Can't synchronize with repository "(default)" (/SVN/atlas does not appear to be a Subversion repository.). Look in the Trac log for more information.

Version 3 (modified by /O=GRID-FR/C=FR/O=CNRS/OU=LPSC/CN=Julien Labbe, 13 years ago) (diff)

--

Presentation of Topaz, Top Analysis Zoftware

Topaz is a c++ code dedicated to top analysis. It take (for now) in input the trees produced by TopView.

Topaz is divided into 3 sub-packages :

  • topview : reads TopView trees and apply selections.
  • analysis : applies multi-variable analyses (MVA) and make final histograms.
  • tools.

Executables are in trunk/bin (and sources in trunk/src/exe/). There are :

  • !MakeNtuple_x : reads TopView trees and apply selections (with topview library).
  • !DataAnalysis_x : merges MakeNtuple outputs for all processes.
  • !ComputeDiscri_x, PrepareTMVAInputs_x, TrainMVAs_x : prepare and trains MVA.
  • RunMVAs_x : applies MVA cuts.
  • !MakePlots_x, !DisplayPlots_x : make final plots.

The code is based on the class ParameterReader which allows to set parameters with text files. Theses parameters are read in executables before be ginven in libraries.

Executables could be run by hand or with the python scripts run_all (simple, for data analysis) or topaz (more complete, full chain). In any case you should configure your LD_LIBRARY_PATH and PYHONPATH (source setup.[sh/csh]).

ParameterReader

MakeNtuple

Data analysis

---

Executable Parameter file(s) input(s) output(s)
Merge MakeNtuple outputs for all processes.
!DataAnalysis_x
Prepare and trains MVA.
!ComputeDiscri_x
PrepareTMVAInputs_x
TrainMVAs_x
Applie MVA cuts
RunMVAs_x
Make final plots
!MakePlots_x
!DisplayPlots_x

An exemple of the part of datareader_myAnalysis/Datareader.par which define the files used :

## input and output files of the analysis chain
## - DataAnalysis
string OutputDataAnalysis	DataReader.root
## - MVA
string InputPrepareMVAs		DataReader.root
string OutputPrepareMVAs	MVAInputs.root
string InputRunMVAs		DataReader.root
string OutputRunMVAs		RunMVA.root
## Plots
string InputMakePlots		RunMVA.root
string OutputMakePlots		Plots.root