Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
LHCbPR2HD
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
LHCb Core Software
LHCbPR2HD
Commits
90e3d976
Commit
90e3d976
authored
7 years ago
by
Ryan Calladine
Browse files
Options
Downloads
Plain Diff
Merge branch 'muontest' into 'master'
Handles Profile histograms See merge request
!66
parents
513fa984
c3e9258a
No related branches found
Branches containing commit
No related tags found
1 merge request
!66
Handles Profile histograms
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
handlers/MuonMoniPLHandler.py
+20
-0
20 additions, 0 deletions
handlers/MuonMoniPLHandler.py
with
20 additions
and
0 deletions
handlers/MuonMoniPLHandler.py
+
20
−
0
View file @
90e3d976
...
@@ -46,6 +46,26 @@ def getHist(in_file, directory,out_file, phys_list):
...
@@ -46,6 +46,26 @@ def getHist(in_file, directory,out_file, phys_list):
labelHist
(
infile
.
Get
(
'
MuonMultipleScatteringChecker/MuonMultipleScatteringTest/pdTy_MF{}
'
.
format
(
i
)),
'
Angular Deviation [mRad]
'
,
'
Particle Momentum [GeV/c]
'
,
phys_list
)
labelHist
(
infile
.
Get
(
'
MuonMultipleScatteringChecker/MuonMultipleScatteringTest/pdTy_MF{}
'
.
format
(
i
)),
'
Angular Deviation [mRad]
'
,
'
Particle Momentum [GeV/c]
'
,
phys_list
)
hist_MuSct
.
append
(
infile
.
Get
(
'
MuonMultipleScatteringChecker/MuonMultipleScatteringTest/pdTy_MF{}
'
.
format
(
i
)))
hist_MuSct
.
append
(
infile
.
Get
(
'
MuonMultipleScatteringChecker/MuonMultipleScatteringTest/pdTy_MF{}
'
.
format
(
i
)))
if
infile
.
Get
(
'
MuonMultipleScatteringChecker/MuonMultipleScatteringTest/dxdTx_MF1_prof
'
)
is
True
:
for
i
in
range
(
1
,
5
):
labelHist
(
infile
.
Get
(
'
MuonMultipleScatteringChecker/MuonMultipleScatteringTest/dxdTx_MF{}_prof
'
.
format
(
i
)),
'
Angular Deviation [mRad]
'
,
'
Displacement [mm]
'
,
phys_list
)
hist_MuSct
.
append
(
infile
.
Get
(
'
MuonMultipleScatteringChecker/MuonMultipleScatteringTest/dxdTx_MF{}_prof
'
.
format
(
i
)))
labelHist
(
infile
.
Get
(
'
MuonMultipleScatteringChecker/MuonMultipleScatteringTest/dydTy_MF{}_prof
'
.
format
(
i
)),
'
Angular Deviation [mRad]
'
,
'
Displacement [mm]
'
,
phys_list
)
hist_MuSct
.
append
(
infile
.
Get
(
'
MuonMultipleScatteringChecker/MuonMultipleScatteringTest/dydTy_MF{}_prof
'
.
format
(
i
)))
labelHist
(
infile
.
Get
(
'
MuonMultipleScatteringChecker/MuonMultipleScatteringTest/pdx_MF{}_prof
'
.
format
(
i
)),
'
Displacement [mm]
'
,
'
Particle Momentum [GeV/c]
'
,
phys_list
)
hist_MuSct
.
append
(
infile
.
Get
(
'
MuonMultipleScatteringChecker/MuonMultipleScatteringTest/pdx_MF{}_prof
'
.
format
(
i
)))
labelHist
(
infile
.
Get
(
'
MuonMultipleScatteringChecker/MuonMultipleScatteringTest/pdy_MF{}_prof
'
.
format
(
i
)),
'
Displacement [mm]
'
,
'
Particle Momentum [GeV/c]
'
,
phys_list
)
hist_MuSct
.
append
(
infile
.
Get
(
'
MuonMultipleScatteringChecker/MuonMultipleScatteringTest/pdy_MF{}_prof
'
.
format
(
i
)))
labelHist
(
infile
.
Get
(
'
MuonMultipleScatteringChecker/MuonMultipleScatteringTest/pdTx_MF{}_prof
'
.
format
(
i
)),
'
Angular Deviation [mRad]
'
,
'
Particle Momentum [GeV/c]
'
,
phys_list
)
hist_MuSct
.
append
(
infile
.
Get
(
'
MuonMultipleScatteringChecker/MuonMultipleScatteringTest/pdTx_MF{}_prof
'
.
format
(
i
)))
labelHist
(
infile
.
Get
(
'
MuonMultipleScatteringChecker/MuonMultipleScatteringTest/pdTy_MF{}_prof
'
.
format
(
i
)),
'
Angular Deviation [mRad]
'
,
'
Particle Momentum [GeV/c]
'
,
phys_list
)
hist_MuSct
.
append
(
infile
.
Get
(
'
MuonMultipleScatteringChecker/MuonMultipleScatteringTest/pdTy_MF{}_prof
'
.
format
(
i
)))
for
histogram
in
hist_MuSct
:
for
histogram
in
hist_MuSct
:
old_name
=
histogram
.
GetName
()
old_name
=
histogram
.
GetName
()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment