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
Container Registry
Model registry
Operate
Environments
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
jlab
hallc
exp
polhe3
hallc_replay
Commits
e6f32ebc
Commit
e6f32ebc
authored
8 years ago
by
Jure Bericic
Committed by
GitHub
8 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #85 from JureBericic/fixes
Minor fixes.
parents
4b6a3ce9
19adf222
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CALIBRATION/hodo_calib/README.md
+13
-13
13 additions, 13 deletions
CALIBRATION/hodo_calib/README.md
PARAM/SHMS/DC/pdc.pos
+12
-12
12 additions, 12 deletions
PARAM/SHMS/DC/pdc.pos
PARAM/SHMS/DC/pdc_tracking.param
+1
-1
1 addition, 1 deletion
PARAM/SHMS/DC/pdc_tracking.param
with
26 additions
and
26 deletions
CALIBRATION/hodo_calib/README.md
+
13
−
13
View file @
e6f32ebc
...
@@ -30,21 +30,21 @@ Running code
...
@@ -30,21 +30,21 @@ Running code
*
Edit the parameters in tofcal.param into either PARAM/HMS/HODO/hhodo.param or PARAM/SHMS/HODO/phodo.param
*
Edit the parameters in tofcal.param into either PARAM/HMS/HODO/hhodo.param or PARAM/SHMS/HODO/phodo.param
Brief decription of code
Brief decription of code
------------------------
------------------------
*
The code fits tcorr = time - offset - path
*
velocity - adccor / sqrt(ADC)
*
The code fits tcorr = time - offset - path
*
velocity - adccor / sqrt(ADC)
*
Uses paddle 10 positive PMT on plane 1 as the reference PMT ( offset fixed at 0)
*
Uses paddle 10 positive PMT on plane 1 as the reference PMT ( offset fixed at 0)
*
To get data file name. Reads-in the input file: tofcal.inp
*
To get data file name. Reads-in the input file: tofcal.inp
*
Opens data file
*
Opens data file
*
*
"0" line separates events
*
"0" line separates events
*
*
Should have pair of neg and pos PMTs for each paddle
*
Should have pair of neg and pos PMTs for each paddle
*
*
Format is : iside ipl ipad tdcval_uncorr pathl zcor tdcval_corr adcval
*
Format is : iside ipl ipad tdcval_uncorr pathl zcor tdcval_corr adcval
**
*
iside =1,2 for pos and neg PMT
*
iside =
1,2 for pos and neg PMT
**
*
ipl = plane number
*
ipl = plane number
**
*
tdcval_uncorr = raw time in ns. The program uses this in optimization.
*
tdcval_uncorr = raw time in ns. The program uses this in optimization.
**
*
pathl = distance for focal plane to the paddle using the track
*
pathl = distance for focal plane to the paddle using the track
**
*
zcor = time (ns) for the particle to go from focal plane to paddle. Correction subtracted from tdcval_uncrr
*
zcor = time (ns) for the particle to go from focal plane to paddle. Correction subtracted from tdcval_uncrr
**
*
tdcval_corr = the corrected time in ns. Not used by program. Just gives the initial chi2.
*
tdcval_corr = the corrected time in ns. Not used by program. Just gives the initial chi2.
**
*
adcval = ADC value used in fit
*
adcval = ADC value used in fit
*
Loops through data determines the number of hits in each PMT. Will only include PMT if the number of hits > 100.
*
Loops through data determines the number of hits in each PMT. Will only include PMT if the number of hits > 100.
*
Again loops through the data filling array with time difference between all pairs PMTs, pathl and adcval.
*
Again loops through the data filling array with time difference between all pairs PMTs, pathl and adcval.
*
Use the CERNLIB routine deqn to invert the matrix and determine the fit parameters.
*
Use the CERNLIB routine deqn to invert the matrix and determine the fit parameters.
\ No newline at end of file
This diff is collapsed.
Click to expand it.
PARAM/SHMS/DC/pdc.pos
+
12
−
12
View file @
e6f32ebc
...
@@ -35,18 +35,18 @@ pdc_wire_counting = 0, 0, 0, 0, 0, 0
...
@@ -35,18 +35,18 @@ pdc_wire_counting = 0, 0, 0, 0, 0, 0
; z position in cm of each plane measured from focal plane.
; z position in cm of each plane measured from focal plane.
; From technical drawings.
; From technical drawings.
pdc_zpos = pdc_1_zpos - 0.687
5
*cminch
pdc_zpos = pdc_1_zpos - 0.687
01
*cminch
pdc_1_zpos - 0.437
5
*cminch
pdc_1_zpos - 0.437
01
*cminch
pdc_1_zpos - 0.187
5
*cminch
pdc_1_zpos - 0.187
01
*cminch
pdc_1_zpos + 0.187
5
*cminch
pdc_1_zpos + 0.187
01
*cminch
pdc_1_zpos + 0.437
5
*cminch
pdc_1_zpos + 0.437
01
*cminch
pdc_1_zpos + 0.687
5
*cminch
pdc_1_zpos + 0.687
01
*cminch
pdc_2_zpos - 0.687
5
*cminch
pdc_2_zpos - 0.687
01
*cminch
pdc_2_zpos - 0.437
5
*cminch
pdc_2_zpos - 0.437
01
*cminch
pdc_2_zpos - 0.187
5
*cminch
pdc_2_zpos - 0.187
01
*cminch
pdc_2_zpos + 0.187
5
*cminch
pdc_2_zpos + 0.187
01
*cminch
pdc_2_zpos + 0.437
5
*cminch
pdc_2_zpos + 0.437
01
*cminch
pdc_2_zpos + 0.687
5
*cminch
pdc_2_zpos + 0.687
01
*cminch
; Alpha angle of wires for each plane in radians.
; Alpha angle of wires for each plane in radians.
; From technical drawings.
; From technical drawings.
...
...
This diff is collapsed.
Click to expand it.
PARAM/SHMS/DC/pdc_tracking.param
+
1
−
1
View file @
e6f32ebc
...
@@ -14,7 +14,7 @@ pdc_tdc_max_win = 55000, 55000, 55000, 55000, 55000, 55000 ; TODO - wide limits
...
@@ -14,7 +14,7 @@ pdc_tdc_max_win = 55000, 55000, 55000, 55000, 55000, 55000 ; TODO - wide limits
pdc_tdc_time_per_channel = -0.10
pdc_tdc_time_per_channel = -0.10
; Zero time correction for each plane in ns that is added to TDC time.
; Zero time correction for each plane in ns that is added to TDC time.
pdc_plane_time_zero = 1260.0, 1260.0, 1260.0, 1260.0, 1260.0, 1260.0
; TODO - SOS values for now
pdc_plane_time_zero = 1260.0, 1260.0, 1260.0, 1260.0, 1260.0, 1260.0
1260.0, 1260.0, 1260.0, 1260.0, 1260.0, 1260.0
1260.0, 1260.0, 1260.0, 1260.0, 1260.0, 1260.0
; For wire velocity corrections.
; For wire velocity corrections.
...
...
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