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

Go to the source code of this file.

Functions

gStyle SetOptStat ("em")
 
c1 SetFillColor (0)
 
pad1 Draw ()
 
TFile f ("pdb4dna_output.root")
 
pad1 cd ()
 
hist1 Draw ("HIST")
 
c1 Modified ()
 
c1 Update ()
 
hist1 GetStats (pdbStats)
 

Variables

TCanvas * c1 = new TCanvas("c1","PDB DNA outputs",200,10,700,780)
 
TPad * pad1 = new TPad("pad1","pad1",0.02,0.52,0.98,0.98,21)
 
TPad * pad2 = new TPad("pad2","pad2",0.02,0.02,0.48,0.48,21)
 
TPad * pad3 = new TPad("pad3","pad3",0.52,0.02,0.98,0.48,21)
 
TH1D * hist1 = (TH1D*)f.Get("1")
 
TH1D * hist2 = (TH1D*)f.Get("2")
 
TH1D * hist3 = (TH1D*)f.Get("3")
 
double * pdbStats =new double[4]
 
cout<< "-> Edep in the target
 
cout<< "-> Number of SSB
 
cout<< "-> Number of DSB
 

Function Documentation

pad1 cd ( )
pad1 Draw ( )
hist1 Draw ( "HIST"  )
TFile f ( "pdb4dna_output.root"  )
hist3 GetStats ( pdbStats  )
c1 Modified ( )
c1 SetFillColor ( )
gStyle SetOptStat ( "em"  )
c1 Update ( )

Variable Documentation

c1 = new TCanvas("c1","PDB DNA outputs",200,10,700,780)

Definition at line 11 of file analysis.C.

View newest version in sPHENIX GitHub at line 11 of file analysis.C

cout<< "-> Number of DSB

Definition at line 59 of file analysis.C.

View newest version in sPHENIX GitHub at line 59 of file analysis.C

TH1D* hist1 = (TH1D*)f.Get("1")

Definition at line 32 of file analysis.C.

View newest version in sPHENIX GitHub at line 32 of file analysis.C

TH1D* hist2 = (TH1D*)f.Get("2")

Definition at line 36 of file analysis.C.

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

TH1D* hist3 = (TH1D*)f.Get("3")

Definition at line 40 of file analysis.C.

View newest version in sPHENIX GitHub at line 40 of file analysis.C

pad1 = new TPad("pad1","pad1",0.02,0.52,0.98,0.98,21)

Definition at line 12 of file analysis.C.

View newest version in sPHENIX GitHub at line 12 of file analysis.C

Referenced by Draw_ratio().

pad2 = new TPad("pad2","pad2",0.02,0.02,0.48,0.48,21)

Definition at line 12 of file analysis.C.

View newest version in sPHENIX GitHub at line 12 of file analysis.C

Referenced by Draw_ratio().

pad3 = new TPad("pad3","pad3",0.52,0.02,0.98,0.48,21)

Definition at line 12 of file analysis.C.

View newest version in sPHENIX GitHub at line 12 of file analysis.C

double* pdbStats =new double[4]

Definition at line 50 of file analysis.C.

View newest version in sPHENIX GitHub at line 50 of file analysis.C

cout<< "-> Number of SSB

Definition at line 56 of file analysis.C.

View newest version in sPHENIX GitHub at line 56 of file analysis.C

cout<< "-> Edep in the target

Definition at line 53 of file analysis.C.

View newest version in sPHENIX GitHub at line 53 of file analysis.C