Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cbmroot
Manage
Activity
Members
Labels
Plan
Wiki
Redmine
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Computing
cbmroot
Merge requests
!177
remove pl_trk_walk.C
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
remove pl_trk_walk.C
n.herrmann/cbmroot:fix_duplicate_file
into
master
Overview
0
Commits
1
Pipelines
1
Changes
1
Merged
Norbert Herrmann
requested to merge
n.herrmann/cbmroot:fix_duplicate_file
into
master
4 years ago
Overview
0
Commits
1
Pipelines
1
Changes
1
Expand
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
55b769bf
1 commit,
4 years ago
1 file
+
0
−
38
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
macro/beamtime/pl_trk_walk.C deleted
100644 → 0
+
0
−
38
Options
void
pl_trk_walk
(
Int_t
iType
=
0
,
Int_t
iSm
=
0
,
Int_t
iRpc
=
0
,
Int_t
iSide
=
0
)
{
// TCanvas *can = new TCanvas("can22","can22");
// can->Divide(2,2);
TCanvas
*
can
=
new
TCanvas
(
"can"
,
"can"
,
50
,
0
,
800
,
800
);
can
->
Divide
(
4
,
8
);
gPad
->
SetFillColor
(
0
);
gStyle
->
SetPalette
(
1
);
gStyle
->
SetOptStat
(
kTRUE
);
gROOT
->
cd
();
gROOT
->
SetDirLevel
(
1
);
TH1
*
h
;
TH1
*
h1
;
TH2
*
h2
;
Int_t
iCan
=
1
;
for
(
Int_t
iCh
=
0
;
iCh
<
32
;
iCh
++
)
{
if
(
iCan
==
36
)
iCan
=
1
;
can
->
cd
(
iCan
++
);
gROOT
->
cd
();
TString
hname
=
Form
(
"cal_SmT%d_sm%03d_rpc%03d_Ch%03d_S%d_Walk"
,
iType
,
iSm
,
iRpc
,
iCh
,
iSide
);
h2
=
(
TH2
*
)
gROOT
->
FindObjectAny
(
hname
);
if
(
h2
!=
NULL
)
{
h2
->
Draw
(
"colz"
);
gPad
->
SetLogz
();
// gPad->SetGridx();
// gPad->SetGridy();
}
else
{
cout
<<
hname
<<
" not found"
<<
endl
;
}
}
can
->
SaveAs
(
Form
(
"pl_trk_walk_%d%d%d_%d.pdf"
,
iType
,
iSm
,
iRpc
,
iSide
));
}
Loading