Geant4
v4-10.4-release
메인 페이지
관련된 페이지
모듈
네임스페이스
클래스
파일들
파일 목록
파일 멤버
•
모두
클래스
네임스페이스들
파일들
함수
변수
타입정의
열거형 타입
열거형 멤버
Friends
매크로
그룹들
페이지들
examples
extended
electromagnetic
TestEm3
extended/electromagnetic/TestEm3/plotHisto.C
이 파일의 문서화 페이지로 가기
1
{
2
gROOT->Reset();
3
4
// Draw histos filled by Geant4 simulation
5
//
7
TFile
f
(
"run01.root"
);
8
TCanvas*
c1
=
new
TCanvas(
"c1"
,
" "
);
9
10
TH1D*
hist1
= (TH1D*)
f
.Get(
"1"
);
11
hist1->Draw(
"HIST"
);
12
13
TH1D*
hist2
= (TH1D*)
f
.Get(
"2"
);
14
hist2->Draw(
"HIST"
);
15
16
TH1D*
hist3
= (TH1D*)
f
.Get(
"11"
);
17
c1->SetLogy(1);
18
c1->cd();
19
c1->Update();
20
hist3->Draw(
"HIST"
);
21
22
TH1D*
hist4
= (TH1D*)
f
.Get(
"12"
);
23
hist4->Draw(
"HIST"
);
24
25
TH1D*
hist5
= (TH1D*)
f
.Get(
"21"
);
26
hist5->Draw(
"HIST"
);
27
28
TH1D*
hist6
= (TH1D*)
f
.Get(
"22"
);
29
hist6->Draw(
"HIST"
);
30
31
}
hist2
TH1D * hist2
Definition:
advanced/amsEcal/showers/plotHisto.C:12
hist3
TH1D * hist3
Definition:
advanced/amsEcal/showers/plotHisto.C:15
hist6
TH1D * hist6
Definition:
extended/electromagnetic/TestEm1/plotHisto.C:27
f
TFile f
Definition:
advanced/amsEcal/showers/plotHisto.C:6
hist4
TH1D * hist4
Definition:
advanced/amsEcal/showers/plotHisto.C:18
c1
TCanvas * c1
Definition:
advanced/amsEcal/showers/plotHisto.C:7
hist5
TH1D * hist5
Definition:
advanced/amsEcal/showers/plotHisto.C:21
hist1
TH1D * hist1
Definition:
advanced/amsEcal/showers/plotHisto.C:9
다음에 의해 생성됨 :
1.8.5