Geant4_10
Functions | Variables
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 microelectronics.root")
 
 system ("hadd microelectronics.root microelectronics_*.root")
 
TFile f ("microelectronics.root")
 
c1 cd (1)
 
gStyle SetOptStat (000000)
 
ntuple0 Draw ("flagProcess","","B")
 
ntuple0 SetFillColor (2)
 
ntuple Draw ("flagProcess","flagProcess==11","same")
 
ntuple SetFillColor (3)
 
ntuple SetFillColor (4)
 
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("microelectronics")
 

Function Documentation

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

Variable Documentation

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

Definition at line 12 of file plot.C.

ntuple = (TNtuple*)f->Get("microelectronics")

Definition at line 20 of file plot.C.

Double_t scale

Definition at line 10 of file plot.C.