Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
CLASS
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
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
Admin message
Gitlab has been updated. More info
here
and
there
.
Show more breadcrumbs
BaM
CLASS
Commits
0947cb61
Commit
0947cb61
authored
7 years ago
by
Ernoult
Committed by
BaM
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Remove unused uninitialized vector in XSM
parent
4246a69a
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
source/Model/XS/XSM_SFR.cxx
+2
-3
2 additions, 3 deletions
source/Model/XS/XSM_SFR.cxx
source/Model/XS/XSM_SFR.hxx
+0
-1
0 additions, 1 deletion
source/Model/XS/XSM_SFR.hxx
with
2 additions
and
4 deletions
source/Model/XS/XSM_SFR.cxx
+
2
−
3
View file @
0947cb61
...
@@ -100,7 +100,6 @@ void XSM_SFR::SetFixedVariablesValues(map<string, double> FixedParameters) {
...
@@ -100,7 +100,6 @@ void XSM_SFR::SetFixedVariablesValues(map<string, double> FixedParameters) {
for
(
unsigned
int
i
=
0
;
i
<
fTMVAVariableNames
.
size
();
i
++
)
{
for
(
unsigned
int
i
=
0
;
i
<
fTMVAVariableNames
.
size
();
i
++
)
{
if
(
FixedParameters
.
find
(
fTMVAVariableNames
[
i
])
!=
FixedParameters
.
end
())
{
if
(
FixedParameters
.
find
(
fTMVAVariableNames
[
i
])
!=
FixedParameters
.
end
())
{
fTMVAFixedVariableValues
[
i
]
=
FixedParameters
[
fTMVAVariableNames
[
i
]];
fTMVAFixedVariableValues
[
i
]
=
FixedParameters
[
fTMVAVariableNames
[
i
]];
fTMVAFixedVariable
[
i
]
=
true
;
}
}
}
}
}
}
...
@@ -206,14 +205,14 @@ void XSM_SFR::BookTMVAReader() {
...
@@ -206,14 +205,14 @@ void XSM_SFR::BookTMVAReader() {
map
<
ZAI
,
string
>::
iterator
it
;
map
<
ZAI
,
string
>::
iterator
it
;
for
(
it
=
fMapOfTMVAVariableNames
.
begin
();
it
!=
fMapOfTMVAVariableNames
.
end
();
it
++
){
for
(
it
=
fMapOfTMVAVariableNames
.
begin
();
it
!=
fMapOfTMVAVariableNames
.
end
();
it
++
){
std
::
cout
<<
it
->
second
<<
std
::
endl
;
//
std::cout<< it->second << std::endl;
fReader
[
i
]
->
AddVariable
(
it
->
second
.
c_str
());
fReader
[
i
]
->
AddVariable
(
it
->
second
.
c_str
());
}
}
DBGL
DBGL
// Time as to be the last one !!!
// Time as to be the last one !!!
fReader
[
i
]
->
AddVariable
(
"Time"
);
fReader
[
i
]
->
AddVariable
(
"Time"
);
DBGL
DBGL
std
::
cout
<<
dir
+
fWeightFiles
[
i
]
<<
std
::
endl
;
//
std::cout << dir + fWeightFiles[i] << std::endl;
fReader
[
i
]
->
BookMVA
(
"MLP method"
,
dir
+
fWeightFiles
[
i
]);
fReader
[
i
]
->
BookMVA
(
"MLP method"
,
dir
+
fWeightFiles
[
i
]);
DBGL
DBGL
}
}
...
...
This diff is collapsed.
Click to expand it.
source/Model/XS/XSM_SFR.hxx
+
0
−
1
View file @
0947cb61
...
@@ -125,7 +125,6 @@ class XSM_SFR : public XSM_MLP
...
@@ -125,7 +125,6 @@ class XSM_SFR : public XSM_MLP
string
fTMVAWeightFolder
;
//!< folder containing all the weight file
string
fTMVAWeightFolder
;
//!< folder containing all the weight file
bool
fIsStepTime
;
//!< true if one TMVA weihgt per step time is requiered otherwise it assumes time is part of the MLP inputs
bool
fIsStepTime
;
//!< true if one TMVA weihgt per step time is requiered otherwise it assumes time is part of the MLP inputs
vector
<
string
>
fTMVAVariableNames
;
//!< List of TMVA input variable names (read from fMLPInformationFile ) , name depends on the training step
vector
<
string
>
fTMVAVariableNames
;
//!< List of TMVA input variable names (read from fMLPInformationFile ) , name depends on the training step
vector
<
bool
>
fTMVAFixedVariable
;
//!< List of value for TMVA that have to be used for all
vector
<
double
>
fTMVAFixedVariableValues
;
//!< List of value for TMVA that have to be used for all
vector
<
double
>
fTMVAFixedVariableValues
;
//!< List of value for TMVA that have to be used for all
#ifndef __CINT__
#ifndef __CINT__
...
...
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