Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DD4hep
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cepc
externals
mirroring
DD4hep
Commits
0606ea99
Commit
0606ea99
authored
9 years ago
by
Frank Gaede
Browse files
Options
Downloads
Patches
Plain Diff
- fixed unused variable warnings
parent
98d80280
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
DDG4/lcio/LCIOFileReader.cpp
+1
-1
1 addition, 1 deletion
DDG4/lcio/LCIOFileReader.cpp
DDG4/lcio/LCIOStdHepReader.cpp
+1
-1
1 addition, 1 deletion
DDG4/lcio/LCIOStdHepReader.cpp
with
2 additions
and
2 deletions
DDG4/lcio/LCIOFileReader.cpp
+
1
−
1
View file @
0606ea99
...
@@ -97,7 +97,7 @@ DD4hep::Simulation::LCIOFileReader::moveToEvent(int event_number) {
...
@@ -97,7 +97,7 @@ DD4hep::Simulation::LCIOFileReader::moveToEvent(int event_number) {
/// Read an event and fill a vector of MCParticles.
/// Read an event and fill a vector of MCParticles.
Geant4EventReader
::
EventReaderStatus
Geant4EventReader
::
EventReaderStatus
DD4hep
::
Simulation
::
LCIOFileReader
::
readParticleCollection
(
int
event_number
,
EVENT
::
LCCollection
**
particles
)
{
DD4hep
::
Simulation
::
LCIOFileReader
::
readParticleCollection
(
int
/*
event_number
*/
,
EVENT
::
LCCollection
**
particles
)
{
::
lcio
::
LCEvent
*
evt
=
m_reader
->
readNextEvent
();
// simply read the events sequentially
::
lcio
::
LCEvent
*
evt
=
m_reader
->
readNextEvent
();
// simply read the events sequentially
++
m_currEvent
;
++
m_currEvent
;
...
...
This diff is collapsed.
Click to expand it.
DDG4/lcio/LCIOStdHepReader.cpp
+
1
−
1
View file @
0606ea99
...
@@ -104,7 +104,7 @@ LCIOStdHepReader::moveToEvent(int event_number) {
...
@@ -104,7 +104,7 @@ LCIOStdHepReader::moveToEvent(int event_number) {
/// Read an event and fill a vector of MCParticles.
/// Read an event and fill a vector of MCParticles.
Geant4EventReader
::
EventReaderStatus
Geant4EventReader
::
EventReaderStatus
LCIOStdHepReader
::
readParticleCollection
(
int
event_number
,
EVENT
::
LCCollection
**
particles
)
{
LCIOStdHepReader
::
readParticleCollection
(
int
/*
event_number
*/
,
EVENT
::
LCCollection
**
particles
)
{
*
particles
=
m_reader
->
readEvent
();
*
particles
=
m_reader
->
readEvent
();
++
m_currEvent
;
++
m_currEvent
;
...
...
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