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

Go to the source code of this file.

Functions

c1 SetLogy (0)
 
c1 cd ()
 
c1 Update ()
 
hist6 Draw ("HIST")
 

Variables

TFile f = TFile("rdecay02.root")
 
TCanvas * c1 = new TCanvas("c1", " ")
 
TH1D * hist6 = (TH1D*)f.Get("H16")
 

Function Documentation

c1 cd ( )
hist6 Draw ( "HIST"  )
c1 SetLogy ( )
c1 Update ( )

Variable Documentation

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

Definition at line 7 of file plotHisto.C.

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

TFile f = TFile("rdecay02.root")

Definition at line 6 of file plotHisto.C.

View newest version in sPHENIX GitHub at line 6 of file plotHisto.C

TH1D* hist6 = (TH1D*)f.Get("H16")

TH1D* hist1 = (TH1D*)f.Get("H11"); hist1->SetLineColor(kRed); hist1->Draw("HIST"); TH1D* hist2 = (TH1D*)f.Get("H12"); hist2->Draw("HIST"); TH1D* hist3 = (TH1D*)f.Get("H13"); hist3->SetLineColor(kRed); hist3->Draw("HIST"); TH1D* hist4 = (TH1D*)f.Get("H14"); hist4->Draw("HIST"); TH1D* hist5 = (TH1D*)f.Get("H15"); hist5->Draw("HIST");

Definition at line 30 of file plotHisto.C.

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