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

gStyle SetPalette (1)
 
gROOT SetStyle ("Plain")
 
c1 Divide (2, 1)
 
 system ("rm -rf microdosimetry.root")
 
 system ("hadd -O microdosimetry.root microdosimetry_*.root")
 
TFile f ("microdosimetry.root")
 
c1 cd (1)
 
gStyle SetOptStat (000000)
 
ntuple SetFillStyle (1001)
 
ntuple SetFillColor (2)
 
ntuple Draw ("flagProcess","","B")
 
ntuple SetFillColor (3)
 
ntuple Draw ("flagProcess","flagProcess==12||flagProcess==15||flagProcess==22||flagProcess==32||flagProcess==42||flagProcess==52||flagProcess==62","Bsame")
 
ntuple SetFillColor (4)
 
ntuple SetFillColor (5)
 
ntuple SetFillColor (6)
 
ntuple SetFillColor (7)
 
gPad SetLogy ()
 
c1 cd (2)
 
ntuple SetMarkerColor (2)
 
ntuple Draw ("x:y:z/1000","flagParticle==1","")
 
ntuple SetMarkerColor (4)
 
ntuple SetMarkerSize (4)
 
ntuple SetMarkerColor (3)
 
ntuple SetMarkerSize (3)
 

Variables

Double_t scale
 
 c1 = new TCanvas ("c1","",20,20,1000,500)
 
TNtuple * ntuple = (TNtuple*)f.Get("microdosimetry")
 

Function Documentation

c1 cd ( )
c1 cd ( )
c1 Divide ( ,
 
)
ntuple Draw ( "flagProcess"  ,
""  ,
"B"   
)
ntuple Draw ( "flagProcess"  )
ntuple Draw ( "x:y:z/1000"  )
TFile f ( "microdosimetry.root"  )
ntuple SetFillColor ( )
ntuple SetFillColor ( )
ntuple SetFillColor ( )
ntuple SetFillColor ( )
ntuple SetFillColor ( )
ntuple SetFillColor ( )
ntuple SetFillStyle ( 1001  )
gPad SetLogy ( )
ntuple SetMarkerColor ( )
ntuple SetMarkerColor ( )
ntuple SetMarkerColor ( )
ntuple SetMarkerSize ( )
ntuple SetMarkerSize ( )
gStyle SetOptStat ( 000000  )
gStyle SetPalette ( )
gROOT SetStyle ( "Plain"  )
system ( "rm -rf microdosimetry.root"  )
system ( "hadd -O microdosimetry.root microdosimetry_*.root"  )

Variable Documentation

c1 = new TCanvas ("c1","",20,20,1000,500)

Definition at line 13 of file plot.C.

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

ntuple = (TNtuple*)f.Get("microdosimetry")

Definition at line 21 of file plot.C.

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

Double_t scale

Definition at line 11 of file plot.C.

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