Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
nptool
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
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
np
nptool
Commits
447212f9
Commit
447212f9
authored
7 years ago
by
Greg Christian
Browse files
Options
Downloads
Patches
Plain Diff
Fixed error message w/ trying to calculate energy loss for negative values
parent
e8ccf3e0
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Projects/T40/Analysis.cxx
+5
-3
5 additions, 3 deletions
Projects/T40/Analysis.cxx
Projects/T40/configs/ConfigTiaraHyball.dat
+3
-3
3 additions, 3 deletions
Projects/T40/configs/ConfigTiaraHyball.dat
with
8 additions
and
6 deletions
Projects/T40/Analysis.cxx
+
5
−
3
View file @
447212f9
...
...
@@ -324,10 +324,12 @@ void Analysis::TreatEvent(){
Si_E_TH
=
TH
->
Strip_E
[
countTiaraHyball
];
Energy
=
Si_E_TH
;
// calibration for hyball is in MeV
// Correct for energy loss using the thickness of the target and the dead layer
ELab
=
LightSi
.
EvaluateInitialEnergy
(
Energy
,
0.61
*
micrometer
,
ThetaTHSurface
);
// equivalent to 0.1 um of Aluminum
if
(
Energy
>
0
){
ELab
=
LightSi
.
EvaluateInitialEnergy
(
Energy
,
0.61
*
micrometer
,
ThetaTHSurface
);
// equivalent to 0.1 um of Aluminum
//by Shuya 170530
//if(ThetaNormalTarget < halfpi) ELab = LightCBacking.EvaluateInitialEnergy( ELab ,0.044*micrometer , ThetaNormalTarget); //10 ug/cm2 carbon
ELab
=
LightTarget
.
EvaluateInitialEnergy
(
ELab
,
TargetThickness
/
2.
,
ThetaNormalTarget
);
//if(ThetaNormalTarget < halfpi) ELab = LightCBacking.EvaluateInitialEnergy( ELab ,0.044*micrometer , ThetaNormalTarget); //10 ug/cm2 carbon
ELab
=
LightTarget
.
EvaluateInitialEnergy
(
ELab
,
TargetThickness
/
2.
,
ThetaNormalTarget
);
}
/////////////////////////////
// Part 3 : Excitation Energy Calculation
...
...
This diff is collapsed.
Click to expand it.
Projects/T40/configs/ConfigTiaraHyball.dat
+
3
−
3
View file @
447212f9
...
...
@@ -6,9 +6,9 @@ ConfigTiaraHyball
STRIP_ENERGY_MATCHING_NUMBER_OF_SIGMA 5
%If you want to use Ring signal instead of Ring-Sector average, comment this out
%To get weighted averaged energy, you need to input these below (default; RingE 18 keV, SectorE=22 keV)
TAKE_E_RING_SECTOR_Average
SIGMA_RING_E 0.018
SIGMA_SECTOR_E 0.022
%
TAKE_E_RING_SECTOR_Average
%
SIGMA_RING_E 0.018
%
SIGMA_SECTOR_E 0.022
TAKE_E_RING
%TAKE_E_SECTOR
%TAKE_T_RING
...
...
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