StRoot
1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
StEStructPool
macros
exampleMakePlots.C
1
void
exampleMakePlots(
const
char
* rootfile){
2
3
/* run as:
4
5
root.exe exampleMakePlots.C'("/star/data05/scratch/porter/estruct/ytdetadphi02_pc/data/all/all.root")'
6
7
*/
8
9
10
gSystem->Load(
"StEStructPoolSupport.so"
);
11
gROOT->LoadMacro(
"makePlots.C"
);
12
gROOT->LoadMacro(
"setupPalette.C"
);
13
14
TFile* tf=
new
TFile(rootfile);
15
StEStructSupport
ehelp(tf,1);
16
TH2F** dedp=(TH2F**)ehelp.buildChargeTypeRFunctions(
"DEtaDPhi"
);
17
18
19
TCanvas* c1=
new
TCanvas(
"c1"
);
20
setupPalette();
21
gPad->Divide(2,2);
22
gStyle->SetOptTitle(0);
23
makePlots(dedp,0);
24
25
};
StEStructSupport
Definition:
StEStructSupport.h:25
Generated by
1.8.5