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
ECCE @ EIC Software
Deprecated List
Modules
Namespaces
Classes
Files
File List
acts
analysis
coresoftware
Doxygen_Assist
ecce-detectors
fun4all_eicdetectors
geant4
tree
geant4-10.6-release
config
environments
examples
advanced
basic
extended
analysis
biasing
common
electromagnetic
TestEm0
TestEm1
TestEm10
TestEm11
TestEm12
TestEm13
TestEm14
TestEm15
TestEm16
TestEm17
TestEm18
TestEm2
TestEm3
TestEm4
TestEm5
TestEm6
include
src
plot_hist.C
plotHisto.C
TestEm6.cc
TestEm7
TestEm8
TestEm9
errorpropagation
eventgenerator
exoticphysics
field
g3tog4
geometry
hadronic
medical
optical
parallel
parameterisations
persistency
physicslists
polarisation
radioactivedecay
runAndEvent
visualization
source
macros
online_distribution
tutorials
doxygen_mainpage.h
File Members
External Links
•
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