Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
hcana
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
analyzer_software
hcana
Commits
7f90f66e
Commit
7f90f66e
authored
7 years ago
by
Vardan Tadevosyan
Committed by
Stephen A. Wood
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Add SHMS calorimeter's total energy deposition divided by momentum of
the best track.
parent
6e984807
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/THcShower.cxx
+3
-0
3 additions, 0 deletions
src/THcShower.cxx
src/THcShower.h
+4
-3
4 additions, 3 deletions
src/THcShower.h
with
7 additions
and
3 deletions
src/THcShower.cxx
+
3
−
0
View file @
7f90f66e
...
...
@@ -518,6 +518,7 @@ Int_t THcShower::DefineVariables( EMode mode )
{
"etracknorm"
,
"Total energy divided by track momentum"
,
"fEtrackNorm"
},
{
"eprtrack"
,
"Track Preshower energy"
,
"fEPRtrack"
},
{
"eprtracknorm"
,
"Preshower energy divided by track momentum"
,
"fEPRtrackNorm"
},
{
"etottracknorm"
,
"Total energy divided by track momentum"
,
"fETotTrackNorm"
},
{
"ntracks"
,
"Number of shower tracks"
,
"fNtracks"
},
{
0
}
};
...
...
@@ -601,6 +602,7 @@ void THcShower::Clear(Option_t* opt)
fEtrackNorm
=
0.
;
fEPRtrack
=
0.
;
fEPRtrackNorm
=
0.
;
fETotTrackNorm
=
0.
;
fSizeClustArray
=
0
;
fNblockHighEnergy
=
0.
;
...
...
@@ -1142,6 +1144,7 @@ Int_t THcShower::FineProcess( TClonesArray& tracks )
fEtrackNorm
=
fEtrack
/
theTrack
->
GetP
();
fEPRtrack
=
GetShEnergy
(
theTrack
,
1
);
fEPRtrackNorm
=
fEPRtrack
/
theTrack
->
GetP
();
fETotTrackNorm
=
fEtot
/
theTrack
->
GetP
();
Xtr
=
-
100.
;
Ytr
=
-
100.
;
fNclustTrack
=
MatchCluster
(
theTrack
,
Xtr
,
Ytr
);
...
...
This diff is collapsed.
Click to expand it.
src/THcShower.h
+
4
−
3
View file @
7f90f66e
...
...
@@ -163,9 +163,10 @@ protected:
Double_t
fEtot
;
// Total energy
Double_t
fEtotNorm
;
// Total energy divided by spec central momentum
Double_t
fEtrack
;
// Cluster energy associated to the best track
Double_t
fEtrackNorm
;
// Normalized to momentum cluster energy associated to the best track
Double_t
fEPRtrack
;
// Cluster's Preshower energy of the best track
Double_t
fEPRtrackNorm
;
// Normalized to momentum cluster's Preshower energy of the best track
Double_t
fEtrackNorm
;
// Cluster energy divided by momentum for the best track
Double_t
fEPRtrack
;
// Preshower part of cluster energy of the best track
Double_t
fEPRtrackNorm
;
// Preshower part of cluster energy divided by momentum for the best track
Double_t
fETotTrackNorm
;
// Total energy divided by momentum of the best track
THcShowerClusterList
*
fClusterList
;
// List of hit clusters
...
...
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