Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
J
JZCaPA
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
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
Riccardo Longo
JZCaPA
Commits
60f425a8
Commit
60f425a8
authored
6 years ago
by
clantz
Browse files
Options
Downloads
Patches
Plain Diff
LoadConfigurationFile returns empty vector and has default argument
parent
e909ca42
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Analysis/src/DataReader.cpp
+2
-2
2 additions, 2 deletions
Analysis/src/DataReader.cpp
with
2 additions
and
2 deletions
Analysis/src/DataReader.cpp
+
2
−
2
View file @
60f425a8
...
@@ -103,7 +103,7 @@ void DataReader::ReadListOfFiles( std::string listname ){
...
@@ -103,7 +103,7 @@ void DataReader::ReadListOfFiles( std::string listname ){
m_fListOfFiles
=
listname
;
m_fListOfFiles
=
listname
;
}
}
std
::
vector
<
Channel
>
DataReader
::
LoadConfigurationFile
(
std
::
string
_inFile
){
std
::
vector
<
Channel
>
DataReader
::
LoadConfigurationFile
(
std
::
string
_inFile
"$JCaPA/Utils/ConfigFile2018.xml"
){
//Temporary implementation - objects will be just created within this method and loaded here.
//Temporary implementation - objects will be just created within this method and loaded here.
//TODO: incorporate them in a data-member or better in a ZDC and RPD objects inheriting from a Detector class and return them
//TODO: incorporate them in a data-member or better in a ZDC and RPD objects inheriting from a Detector class and return them
...
@@ -111,7 +111,7 @@ std::vector < Channel > DataReader::LoadConfigurationFile(std::string _inFile){
...
@@ -111,7 +111,7 @@ std::vector < Channel > DataReader::LoadConfigurationFile(std::string _inFile){
if
(
!
m_XMLparser
->
parseFile
(
_inFile
))
{
if
(
!
m_XMLparser
->
parseFile
(
_inFile
))
{
std
::
cerr
<<
" Data Reader could not parse file : "
<<
_inFile
<<
std
::
endl
;
std
::
cerr
<<
" Data Reader could not parse file : "
<<
_inFile
<<
std
::
endl
;
return
;
return
{}
;
}
}
std
::
cout
<<
"Loading .xml Configuration File..."
<<
std
::
endl
;
std
::
cout
<<
"Loading .xml Configuration File..."
<<
std
::
endl
;
...
...
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