Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Andrew Strong
galplot
Commits
6b100c34
Commit
6b100c34
authored
Jan 18, 2020
by
Andrew Strong
Browse files
SourceModel2: remove if statement for fitType=FIXED for flux100 since not in 4FGL
parent
bbf886a7
Changes
1
Hide whitespace changes
Inline
Side-by-side
source/SourceModel2.cc
View file @
6b100c34
...
...
@@ -42,10 +42,10 @@ SourceModel2::SourceModel2(const Exposure &exposure, const CountsMap &counts, co
//Loop through all the sources and find out their type
//Add their indices to the correct vectors
for
(
int
i
=
0
;
i
<
fsources
.
size
();
++
i
){
for
(
int
i
=
0
;
i
<
fsources
.
size
();
++
i
){
std
::
cout
<<
"SourceModel2: i, fsources[i].fitType, flux100, fluxLim flux1000:"
<<
i
<<
" "
<<
fsources
[
i
].
fitType
<<
" "
<<
fsources
[
i
].
flux100
<<
" "
<<
fluxLim
<<
" "
<<
fsources
[
i
].
flux1000
<<
std
::
endl
;
//AWS20200118
switch
(
fsources
[
i
].
fitType
){
case
Sources
::
FIXED
:
if
(
fsources
[
i
].
flux100
>
fluxLim
&&
(
maxFixedSources
>
fFixedSources
.
size
()
||
maxFixedSources
==
-
1
))
//
if (fsources[i].flux100 > fluxLim && (maxFixedSources > fFixedSources.size() || maxFixedSources == -1))
//AWS20200118
fFixedSources
.
push_back
(
i
);
break
;
case
Sources
::
PREFACTOR
:
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment