Geant4  10.02.p03
advanced/microelectronics/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)
 
ntuple Draw ("flagProcess","","B")
 
ntuple 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

◆ cd() [1/2]

c1 cd ( )

◆ cd() [2/2]

c1 cd ( )

◆ Divide()

c1 Divide ( ,
 
)

◆ Draw() [1/3]

ntuple Draw ( "flagProcess"  ,
""  ,
"B"   
)

◆ Draw() [2/3]

ntuple Draw ( "flagProcess"  )

◆ Draw() [3/3]

ntuple Draw ( "x:y:z/1000"  )

◆ f()

TFile f ( "microelectronics.root"  )

◆ SetFillColor() [1/3]

ntuple SetFillColor ( )

◆ SetFillColor() [2/3]

ntuple SetFillColor ( )

◆ SetFillColor() [3/3]

ntuple SetFillColor ( )

◆ SetLogy()

gPad SetLogy ( )
Here is the caller graph for this function:

◆ SetMarkerColor() [1/3]

ntuple SetMarkerColor ( )

◆ SetMarkerColor() [2/3]

ntuple2 SetMarkerColor ( )

◆ SetMarkerColor() [3/3]

ntuple SetMarkerColor ( )

◆ SetMarkerSize() [1/2]

ntuple SetMarkerSize ( )

◆ SetMarkerSize() [2/2]

ntuple SetMarkerSize ( )

◆ SetOptStat()

gStyle SetOptStat ( 000000  )

◆ SetPalette()

gStyle SetPalette ( )

◆ SetStyle()

gROOT SetStyle ( "Plain"  )

◆ system() [1/2]

system ( "rm -rf microelectronics.root"  )

◆ system() [2/2]

system ( "hadd microelectronics.root microelectronics_*.root"  )

Variable Documentation

◆ c1

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

Definition at line 12 of file advanced/microelectronics/plot.C.

◆ ntuple

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

Definition at line 20 of file advanced/microelectronics/plot.C.

◆ scale

Double_t scale

Definition at line 10 of file advanced/microelectronics/plot.C.