Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
athena-main
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
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
Peter Alan Steinberg
athena-main
Commits
a364a68a
Commit
a364a68a
authored
3 months ago
by
Brian Andrew Cole
Browse files
Options
Downloads
Patches
Plain Diff
Cosmetic change to move parameter name setting ahead of limit setting, also update copyrights
parent
1e44d220
No related branches found
No related tags found
No related merge requests found
Pipeline
#8461088
passed
3 months ago
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ForwardDetectors/ZDC/ZdcAnalysis/Root/ZDCFitWrapper.cxx
+11
-8
11 additions, 8 deletions
ForwardDetectors/ZDC/ZdcAnalysis/Root/ZDCFitWrapper.cxx
with
11 additions
and
8 deletions
ForwardDetectors/ZDC/ZdcAnalysis/Root/ZDCFitWrapper.cxx
+
11
−
8
View file @
a364a68a
...
...
@@ -592,15 +592,10 @@ ZDCFitExpFermiLHCfPrePulse::ZDCFitExpFermiLHCfPrePulse(const std::string& tag, f
// Now set up the actual TF1
//
std
::
shared_ptr
<
TF1
>
theTF1
=
ZDCFitWrapper
::
GetWrapperTF1
();
// BAC, parameter 0 limits now is set in DoInitialize
theTF1
->
SetParLimits
(
1
,
tmin
,
tmax
);
theTF1
->
SetParLimits
(
2
,
1.0
,
2
);
theTF1
->
SetParLimits
(
3
,
3.5
,
5.5
);
theTF1
->
SetParLimits
(
4
,
1
,
8196
);
// Increase the upper range to 2 times of ADC range to deal with large exponential tail case of pre-pulse.
theTF1
->
SetParLimits
(
5
,
-
20
,
10
);
std
::
shared_ptr
<
TF1
>
theTF1
=
ZDCFitWrapper
::
GetWrapperTF1
();
// The actual paerameters we fit
//
theTF1
->
SetParName
(
0
,
"Amp"
);
theTF1
->
SetParName
(
1
,
"T0"
);
theTF1
->
SetParName
(
2
,
"tau1"
);
...
...
@@ -608,6 +603,14 @@ ZDCFitExpFermiLHCfPrePulse::ZDCFitExpFermiLHCfPrePulse(const std::string& tag, f
theTF1
->
SetParName
(
4
,
"Amp_{pre}"
);
theTF1
->
SetParName
(
5
,
"T0_{pre}"
);
theTF1
->
SetParName
(
6
,
"C"
);
// BAC, parameter 0 limits now is set in DoInitialize
theTF1
->
SetParLimits
(
1
,
tmin
,
tmax
);
theTF1
->
SetParLimits
(
2
,
1.0
,
2
);
theTF1
->
SetParLimits
(
3
,
3.5
,
5.5
);
theTF1
->
SetParLimits
(
4
,
1
,
8196
);
// Increase the upper range to 2 times of ADC range to deal with large exponential tail case of pre-pulse.
theTF1
->
SetParLimits
(
5
,
-
20
,
10
);
}
void
ZDCFitExpFermiLHCfPrePulse
::
ConstrainFit
()
...
...
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