Geant4  10.02.p03
extended/medical/dna/dnaphysics/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 dna.root")
 
 system ("hadd dna.root dna_*.root")
 
TFile f ("dna.root")
 
c1 cd (1)
 
gStyle SetOptStat (000000)
 
ntuple Draw ("flagProcess","","B")
 
ntuple SetFillStyle (1001)
 
ntuple SetFillColor (2)
 
ntuple Draw ("flagProcess","flagProcess==12||flagProcess==15||flagProcess==16||flagProcess==19||flagProcess==22||flagProcess==25||flagProcess==29","Bsame")
 
ntuple SetFillColor (3)
 
ntuple SetFillColor (4)
 
ntuple SetFillColor (5)
 
gPad SetLogy ()
 
c1 cd (2)
 
ntuple SetMarkerColor (2)
 
ntuple Draw ("x:y:z/1000","flagParticle==1")
 

Variables

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

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 ( "dna.root"  )

◆ SetFillColor() [1/4]

ntuple SetFillColor ( )

◆ SetFillColor() [2/4]

ntuple SetFillColor ( )

◆ SetFillColor() [3/4]

ntuple SetFillColor ( )

◆ SetFillColor() [4/4]

ntuple SetFillColor ( )

◆ SetFillStyle()

ntuple SetFillStyle ( 1001  )

◆ SetLogy()

gPad SetLogy ( )

◆ SetMarkerColor()

ntuple SetMarkerColor ( )

◆ SetOptStat()

gStyle SetOptStat ( 000000  )

◆ SetPalette()

gStyle SetPalette ( )

◆ SetStyle()

gROOT SetStyle ( "Plain"  )

◆ system() [1/2]

system ( "rm -rf dna.root"  )

◆ system() [2/2]

system ( "hadd dna.root dna_*.root"  )

Variable Documentation

◆ c1

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

Definition at line 15 of file extended/medical/dna/dnaphysics/plot.C.

◆ ntuple

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

Definition at line 23 of file extended/medical/dna/dnaphysics/plot.C.