ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
plotHisto.C
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file plotHisto.C
1
{
2
gROOT->Reset();
3
4
// Draw histos 1-6 filled by Geant4 simulation with run02.mac
5
//
6
TFile
f0
(
"testem6_0.root"
);
7
TCanvas*
c1
=
new
TCanvas(
"c1"
,
" "
);
8
c1->Divide(2,3);
9
for
(
int
i=1; i < 7; ++i)
10
{
11
c1->cd(i);
12
const
char
* hname = std::string(
"h"
+
std::to_string
(i)).c_str();
// h1, h2, .. h6
13
f0
.Get(hname)->Draw(
"HIST"
);
14
}
15
}
geant4
tree
geant4-10.6-release
examples
extended
electromagnetic
TestEm6
plotHisto.C
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:54
using
1.8.2 with
ECCE GitHub integration