ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
plot.C File Reference

Go to the source code of this file.

Functions

gROOT SetStyle ("Plain")
 
gStyle SetOptStat (1111)
 
gStyle SetPalette (1)
 
c1 Divide (2, 2)
 
 system ("rm -rf nanobeam.root")
 
 system ("hadd -O nanobeam.root nanobeam_*.root")
 
TFile f ("nanobeam.root")
 
c1 cd (1)
 
ntuple0 SetMarkerSize (.2)
 
ntuple0 SetMarkerColor (2)
 
ntuple0 SetMarkerStyle (20)
 
ntuple0 Draw ("xIn:yIn:zIn","")
 
c1 cd (2)
 
gPad SetLogz ()
 
ntuple2 Draw ("yIn:xIn","","hcolz")
 
c1 cd (3)
 
ntuple2 SetMarkerColor (4)
 
ntuple2 Draw ("thetaIn:xIn","","hcolz")
 
c1 cd (4)
 
ntuple2 Draw ("phiIn:yIn","","hcolz")
 

Variables

 c1 = new TCanvas ("c1","",200,10,800,800)
 
TNtuple * ntuple0 = (TNtuple*)f.Get("ntuple0")
 
TNtuple * ntuple2 = (TNtuple*)f.Get("ntuple2")
 

Function Documentation

c1 cd ( )
c1 cd ( )
c1 cd ( )
c1 cd ( )
c1 Divide ( ,
 
)
ntuple0 Draw ( "xIn:yIn:zIn"  ,
""   
)
ntuple2 Draw ( "yIn:xIn"  ,
""  ,
"hcolz"   
)
ntuple2 Draw ( "thetaIn:xIn"  ,
""  ,
"hcolz"   
)
ntuple2 Draw ( "phiIn:yIn"  ,
""  ,
"hcolz"   
)
TFile f ( "nanobeam.root"  )
gPad SetLogz ( )
ntuple0 SetMarkerColor ( )
ntuple2 SetMarkerColor ( )
ntuple0 SetMarkerSize ( 2)
ntuple0 SetMarkerStyle ( 20  )
gStyle SetOptStat ( 1111  )
gStyle SetPalette ( )
gROOT SetStyle ( "Plain"  )
system ( "rm -rf nanobeam.root"  )
system ( "hadd -O nanobeam.root nanobeam_*.root"  )

Variable Documentation

c1 = new TCanvas ("c1","",200,10,800,800)

Definition at line 10 of file plot.C.

View newest version in sPHENIX GitHub at line 10 of file plot.C

ntuple0 = (TNtuple*)f.Get("ntuple0")

Definition at line 18 of file plot.C.

View newest version in sPHENIX GitHub at line 18 of file plot.C

ntuple2 = (TNtuple*)f.Get("ntuple2")

Definition at line 28 of file plot.C.

View newest version in sPHENIX GitHub at line 28 of file plot.C