Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
hallc_replay
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
Melanie Cardona
hallc_replay
Commits
673bd92d
Commit
673bd92d
authored
8 years ago
by
hallc-online
Browse files
Options
Downloads
Patches
Plain Diff
Add a short description of how to calibrate SHMS calorimeter.
parent
8748009f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CALIBRATION/shms_cal_calib/howto.txt
+31
-0
31 additions, 0 deletions
CALIBRATION/shms_cal_calib/howto.txt
with
31 additions
and
0 deletions
CALIBRATION/shms_cal_calib/howto.txt
0 → 100644
+
31
−
0
View file @
673bd92d
How to calibrate SHMS calorimeter with real electrons.
The calibration scripts reside in
hallc_replay/CALIBRATION/shms_cal_calib directory. They consist of 3
header files called THcPShHit.h,THcPShTrack.h, THcPShowerCalib.h, and
a steering script pcal_calib.cpp.
The scripts work on root files from hcana analysis and make use of
quantities pertained to tracking, heavy gas Cherenkov, and TOF from
hodoscopes. Hence it is convenient to calibrate on root files from
full SHMS analysis. The root files are assumed in a linked ROOTfiles
directory, under names shms_replay_<run_number>.root.
Once your hcana, hallc_replay and Root are set up, you can compile and
run pcal_calib under hcana, by issuing command
.x pcal_calib.cpp+("run number").
For instance, for calibration on shms_replay_464_50000.root file in
ROOTfiles, the correct commad would be
.x pcal_calib.cpp+("464_50000") .
Upon calibration, a canvas with representative plots will pop up. The
calibration constants will be written in output file
pcal.param.<run_number>, in a format suitable for plugging them into
your pcal.param file for subsequent use.
If you want to modify selection cuts used in calibration (cuts on
delta, beta, gas Cherenkov signals), you can find them at the
beginning of THcPShowerCalib.h file, in the #define directives.
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