ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
sandia.C File Reference

Go to the source code of this file.

Functions

TFile f1 ("./Ta_1000keV_opt3.root")
 
h1 SetTitle ("Depth dose distribution of 1000 keV e- in Ta")
 
h1 GetXaxis () -> SetTitle("Edep (Mev.cm2/g) along x/r0 x/r0")
 
h1 GetYaxis () -> SetTitle("MeV*cm2/g")
 
h1 SetStats (kFALSE)
 
h1 SetLineColor (4)
 
h1 Draw ("HIST")
 
in open ("./data/Ta_1000keV.ascii")
 
 for (int i=0;i< nbdata;i++)
 
in close ()
 
legend AddEntry (h1,"ref10-opt3 ","l")
 
legend AddEntry (pt,"Sandia data","P")
 
legend Draw ()
 

Variables

TH1D * h1 = (TH1D*) f1.Get("8")
 
ifstream in
 
TMarker * pt
 
Double_t x
 
Double_t y
 
int nbdata = 0
 
TLegend * legend = new TLegend(0.6,0.55,0.8,0.68)
 

Function Documentation

legend AddEntry ( h1  ,
"ref10-opt3 "  ,
"l"   
)
legend AddEntry ( pt  ,
"Sandia data ,
"P"   
)
in close ( )
h1 Draw ( "HIST"  )
legend Draw ( )
TFile f1 ( "./Ta_1000keV_opt3.root"  )
for ( )

Definition at line 35 of file sandia.C.

View newest version in sPHENIX GitHub at line 35 of file sandia.C

References y.

h1 GetXaxis ( ) -> SetTitle("Edep (Mev.cm2/g) along x/r0 x/r0")
h1 GetYaxis ( ) -> SetTitle("MeV*cm2/g")
in open ( "./data/Ta_1000keV.ascii"  )
h1 SetLineColor ( )
h1 SetStats ( kFALSE  )
h1 SetTitle ( "Depth dose distribution of 1000 keV e- in Ta"  )

Variable Documentation

TH1D* h1 = (TH1D*) f1.Get("8")

Definition at line 7 of file sandia.C.

View newest version in sPHENIX GitHub at line 7 of file sandia.C

ifstream in

Definition at line 27 of file sandia.C.

View newest version in sPHENIX GitHub at line 27 of file sandia.C

TLegend* legend = new TLegend(0.6,0.55,0.8,0.68)

Definition at line 45 of file sandia.C.

View newest version in sPHENIX GitHub at line 45 of file sandia.C

in nbdata = 0

Definition at line 33 of file sandia.C.

View newest version in sPHENIX GitHub at line 33 of file sandia.C

TMarker* pt

Definition at line 30 of file sandia.C.

View newest version in sPHENIX GitHub at line 30 of file sandia.C

Double_t x

Definition at line 31 of file sandia.C.

View newest version in sPHENIX GitHub at line 31 of file sandia.C

Double_t y

Definition at line 31 of file sandia.C.

View newest version in sPHENIX GitHub at line 31 of file sandia.C