Geant4  10.02.p03
Hadr00/scripts/PlotSingle.C File Reference

Go to the source code of this file.

Functions

hh [ixsGetYaxis () -> SetTitle(axtit[1])
 
gPad SetLogy ()
 
 if (ixs==0||ixs==2)
 
cout<< "Loop is completed ixs= "<< ixs<< endl;leg[ixs]-> Draw ("SAME")
 
cout<< "Legend is done "<< endl;c1-> Update ()
 
c1 Print ("a"+filp[ipart]+fil0[ixs]+".gif")
 

Variables

 gtit = hed[ixs] + " Cross Section for " + part[ipart]
 
 hh [ixs] = gPad->DrawFrame(x1[ixs], y1[ixs], x2[ixs], y2[ixs], gtit)
 

Function Documentation

◆ Draw()

cout<< "Loop is completed ixs= " << ixs << endl;leg[ixs]-> Draw ( "SAME"  )

◆ GetYaxis()

hh [ixs] GetYaxis ( ) -> SetTitle(axtit[1])

◆ if()

if ( ixs  = =0 || ixs==2)

Definition at line 9 of file Hadr00/scripts/PlotSingle.C.

14  {
15 gROOT->ProcessLine(".x $G4INSTALL/examples/extended/hadronic/Hadr00/scripts/AddMC.C");
16 cout << "Target# " << itarg << " max# " << ntarg << endl;
17 }
Int_t ntarg
Int_t itarg

◆ Print()

c1 Print ( "a"+filp+fil0+".gif"  [ipart][ixs])

◆ SetLogy()

gPad SetLogy ( )

◆ Update()

cout<< "Legend is done " << endl;c1-> Update ( )

Variable Documentation

◆ gtit

gtit = hed[ixs] + " Cross Section for " + part[ipart]

Definition at line 5 of file Hadr00/scripts/PlotSingle.C.

◆ hh

hh[ixs] = gPad->DrawFrame(x1[ixs], y1[ixs], x2[ixs], y2[ixs], gtit)

Definition at line 6 of file Hadr00/scripts/PlotSingle.C.