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

Go to the source code of this file.

Functions

TFile f ("./Au3.local.root")
 
h1d SetTitle ("Fluence distribution of 13 MeV e- in Au (93.7 mg/cm2)")
 
h1d GetXaxis () -> SetTitle("r (mm)")
 
h1d GetYaxis () -> SetTitle("Fluence")
 
h1d SetStats (kFALSE)
 
h1d Draw ("HIST")
 
in open ("../data/Au3.13MeV.ascii")
 
 for (int i=0;i< nbdata;i++)
 
in close ()
 
legend AddEntry (h1d,"msc95","l")
 
legend AddEntry (pt,"Faddegon data","P")
 
legend Draw ()
 

Variables

TH1D * h1d = (TH1D*) f.Get("4")
 
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 ( h1d  ,
"msc95"  ,
"l"   
)
legend AddEntry ( pt  ,
"Faddegon data ,
"P"   
)
in close ( )
h1d Draw ( "HIST"  )
legend Draw ( )
TFile f ( "./Au3.local.root"  )
for ( )

Definition at line 26 of file plot.C.

View newest version in sPHENIX GitHub at line 26 of file plot.C

References y.

h1d GetXaxis ( ) -> SetTitle("r (mm)")
h1d GetYaxis ( ) -> SetTitle("Fluence")
in open ( "../data/Au3.13MeV.ascii"  )
h1d SetStats ( kFALSE  )
h1d SetTitle ( "Fluence distribution of 13 MeV e- in Au (93.7 mg/cm2)"  )

Variable Documentation

TH1D* h1d = (TH1D*) f.Get("4")

Definition at line 7 of file plot.C.

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

ifstream in

Definition at line 18 of file plot.C.

View newest version in sPHENIX GitHub at line 18 of file plot.C

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

Definition at line 36 of file plot.C.

View newest version in sPHENIX GitHub at line 36 of file plot.C

in nbdata = 0

Definition at line 24 of file plot.C.

View newest version in sPHENIX GitHub at line 24 of file plot.C

TMarker* pt

Definition at line 21 of file plot.C.

View newest version in sPHENIX GitHub at line 21 of file plot.C

Double_t x

Definition at line 22 of file plot.C.

View newest version in sPHENIX GitHub at line 22 of file plot.C

Double_t y

Definition at line 22 of file plot.C.

View newest version in sPHENIX GitHub at line 22 of file plot.C