STAR Tutorial
<- click
For successfull running one can submit an application for Free Github Education benefits.
This is an example analysis of StPicoDst
:
St
stands for STAR, all classes start from itPico
means the tree data format where only small number of numerous qualities are saved, exist alsoMicro
andMini
,Dst
means Data Summary Table)
It is based on Grigory’s presentation on PicoDst 2019
Introduction
The star-sw version is here, which corresponds to the latest version star pro
with compiler gcc4.85
and ROOT 5.34
version.
STAR uses cons
command to compile. This is similar to compiling projects using Make
file or performing g++
command within complex C++
projects (whic STAR is). The cons
command will:
- create a directory
.sl7X_gccXX
where all compiled libraries will go which are used in your project - perform compilation of all your files with
.cxx
(important!) and connected headers.h
underStRoot
directory.
Run instructions:
- First, you’ll need to enter the container, for that, type:
star-shell
- To compile a project, perform
cons
commandcons
- Now, one can run event analysis macro using
root -l -b macros/runPicoDstAnalysisMaker.C
It will create a
.root
file with your TTree and some QA histograms. If you are interested what are these ROOT flags :-l
- no splash screen,-b
- stands for batchmode (no pictures showed),-q
- quit after executing. - Now, one can perform your analysis on this newly created TTree with compiled (!) macro - notice
+
at the endroot -l -b -q macros/readMyTreeEvent.C+
Some old presentation on DST tutorials:
- Introduction to PicoDst (Grigory Nigmatkulov, 2019)
- Introduction to MuDst:
- Starting Data Analysis on STAR (Samantha Brovko, 2011)
- A common-MuDst tutorial (Sergey Panitkin, 2003)