Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
athena
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue 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 Sherwood
athena
Commits
eccf1297
Commit
eccf1297
authored
7 years ago
by
Scott Snyder
Committed by
scott snyder
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
TruthIO: Fix clang warning.
clang warning: unused private data member. Former-commit-id:
72ec510b
parent
0668d7cb
No related branches found
No related tags found
Loading
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Generators/TruthIO/TruthIO/ReadHepEvtFromAscii.h
+0
-1
0 additions, 1 deletion
Generators/TruthIO/TruthIO/ReadHepEvtFromAscii.h
Generators/TruthIO/src/ReadHepEvtFromAscii.cxx
+1
-2
1 addition, 2 deletions
Generators/TruthIO/src/ReadHepEvtFromAscii.cxx
with
1 addition
and
3 deletions
Generators/TruthIO/TruthIO/ReadHepEvtFromAscii.h
+
0
−
1
View file @
eccf1297
...
@@ -17,7 +17,6 @@ public:
...
@@ -17,7 +17,6 @@ public:
private:
private:
StoreGateSvc
*
m_sgSvc
;
StoreGateSvc
*
m_sgSvc
;
HepMC
::
IO_GenEvent
*
m_ascii_in
;
// Setable Properties:-
// Setable Properties:-
std
::
string
m_key
;
std
::
string
m_key
;
...
...
This diff is collapsed.
Click to expand it.
Generators/TruthIO/src/ReadHepEvtFromAscii.cxx
+
1
−
2
View file @
eccf1297
...
@@ -23,7 +23,7 @@ extern "C" {
...
@@ -23,7 +23,7 @@ extern "C" {
ReadHepEvtFromAscii
::
ReadHepEvtFromAscii
(
const
std
::
string
&
name
,
ISvcLocator
*
pSvcLocator
)
ReadHepEvtFromAscii
::
ReadHepEvtFromAscii
(
const
std
::
string
&
name
,
ISvcLocator
*
pSvcLocator
)
:
AthAlgorithm
(
name
,
pSvcLocator
),
:
AthAlgorithm
(
name
,
pSvcLocator
),
m_sgSvc
(
0
)
,
m_ascii_in
(
0
)
m_sgSvc
(
0
)
{
{
// Set users' request
// Set users' request
declareProperty
(
"McEventKey"
,
m_key
=
"GEN_EVENT"
);
declareProperty
(
"McEventKey"
,
m_key
=
"GEN_EVENT"
);
...
@@ -46,7 +46,6 @@ StatusCode ReadHepEvtFromAscii::initialize(){
...
@@ -46,7 +46,6 @@ StatusCode ReadHepEvtFromAscii::initialize(){
HepMC
::
HEPEVT_Wrapper
::
set_max_number_entries
(
10000
);
HepMC
::
HEPEVT_Wrapper
::
set_max_number_entries
(
10000
);
// Initialize input file
// Initialize input file
// m_ascii_in = new HepMC::IO_Ascii(m_input_file.c_str(), std::ios::in);
int
ifile
=
5
;
int
ifile
=
5
;
closefile_
(
ifile
);
closefile_
(
ifile
);
openfile_
(
ifile
,
m_input_file
.
c_str
(),
m_input_file
.
size
());
openfile_
(
ifile
,
m_input_file
.
c_str
(),
m_input_file
.
size
());
...
...
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