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
1bb7d592
Commit
1bb7d592
authored
8 years ago
by
hallc-online
Browse files
Options
Downloads
Patches
Plain Diff
Add single cluster event selection to the calibration of HMS
calorimeter.
parent
aece1791
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/hms_cal_calib/THcShowerCalib.h
+8
-0
8 additions, 0 deletions
CALIBRATION/hms_cal_calib/THcShowerCalib.h
with
8 additions
and
0 deletions
CALIBRATION/hms_cal_calib/THcShowerCalib.h
+
8
−
0
View file @
1bb7d592
...
...
@@ -106,6 +106,8 @@ class THcShowerCalib {
Double_t
H_cer_npe
[
2
];
Double_t
H_tr_beta
;
Double_t
H_cal_nclust
;
TBranch
*
b_H_cal_1pr_aneg_p
;
TBranch
*
b_H_cal_1pr_apos_p
;
...
...
@@ -130,6 +132,8 @@ class THcShowerCalib {
TBranch
*
b_H_cer_npe
;
TBranch
*
b_H_tr_beta
;
TBranch
*
b_H_cal_nclust
;
// Quantities for calculations of the calibration constants.
Double_t
fe0
;
...
...
@@ -240,6 +244,8 @@ fTree->SetBranchAddress("H.tr.tg_dp", &H_tr_tg_dp,&b_H_tr_tg_dp);
fTree
->
SetBranchAddress
(
"H.cer.npe"
,
H_cer_npe
,
&
b_H_cer_npe
);
fTree
->
SetBranchAddress
(
"H.tr.beta"
,
&
H_tr_beta
,
&
b_H_tr_beta
);
fTree
->
SetBranchAddress
(
"H.cal.nclust"
,
&
H_cal_nclust
,
&
b_H_cal_nclust
);
// Histogram declarations.
hEunc
=
new
TH1F
(
"hEunc"
,
"Edep/P uncalibrated"
,
500
,
0.
,
5.
);
...
...
@@ -413,6 +419,8 @@ TBranch ("H.tr.beta", &H_tr_beta);
if
(
H_tr_n
!=
1
)
return
0
;
if
(
H_cal_nclust
!=
1
)
return
0
;
bool
good_trk
=
H_tr_tg_dp
>
DELTA_MIN
&&
H_tr_tg_dp
<
DELTA_MAX
&&
H_tr_x
+
H_tr_xp
*
D_CALO_FP
>
XMIN
&&
...
...
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