Geant4  10.02.p03
brachytherapy/macro.C File Reference

Go to the source code of this file.

Functions

TFile f ("brachytherapy.root")
 
ntuple Print ()
 
ntuple GetBranch ("xx") -> SetAddress(&xx)
 
ntuple GetBranch ("yy") -> SetAddress(&yy)
 
ntuple GetBranch ("zz") -> SetAddress(&zz)
 
ntuple GetBranch ("edep") -> SetAddress(&edep)
 
gStyle SetPalette (1)
 
ntuple Draw ("xx:yy:zz:edep>>h30", "", "colz")
 

Variables

Int_t index
 
Double_t xx
 
Double_t yy
 
Double_t zz
 
Double_t edep
 
TCanvas * c1 = new TCanvas("c1", " ")
 
TH3F * edepDDistribution3D
 

Function Documentation

◆ Draw()

ntuple Draw ( "xx:yy:zz:edep>>h30"  ,
""  ,
"colz"   
)

◆ f()

TFile f ( "brachytherapy.root"  )

◆ GetBranch() [1/4]

ntuple GetBranch ( "xx"  ) -> SetAddress(&xx)

◆ GetBranch() [2/4]

ntuple GetBranch ( "yy"  ) -> SetAddress(&yy)

◆ GetBranch() [3/4]

ntuple GetBranch ( "zz"  ) -> SetAddress(&zz)

◆ GetBranch() [4/4]

ntuple GetBranch ( "edep"  ) -> SetAddress(&edep)

◆ Print()

ntuple Print ( )

◆ SetPalette()

gStyle SetPalette ( )

Variable Documentation

◆ c1

TCanvas* c1 = new TCanvas("c1", " ")

Definition at line 31 of file brachytherapy/macro.C.

◆ edep

Double_t edep

Definition at line 11 of file brachytherapy/macro.C.

◆ edepDDistribution3D

TH3F* edepDDistribution3D
Initial value:
= new TH3F("h30", "3Dedepxyz",
300, -150, 150,
300, -150, 150,
300, -150, 150)

Definition at line 33 of file brachytherapy/macro.C.

◆ index

Int_t index

Definition at line 7 of file brachytherapy/macro.C.

◆ xx

Double_t xx

Definition at line 8 of file brachytherapy/macro.C.

◆ yy

Double_t yy

Definition at line 9 of file brachytherapy/macro.C.

◆ zz

Double_t zz

Definition at line 10 of file brachytherapy/macro.C.