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
453fc33d
Commit
453fc33d
authored
10 years ago
by
Andre Sailer
Browse files
Options
Downloads
Patches
Plain Diff
LCIOEventReader: simplify redundant code
parent
cf356d03
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
DDG4/lcio/LCIOEventReader.cpp
+1
-6
1 addition, 6 deletions
DDG4/lcio/LCIOEventReader.cpp
with
1 addition
and
6 deletions
DDG4/lcio/LCIOEventReader.cpp
+
1
−
6
View file @
453fc33d
...
@@ -60,12 +60,7 @@ LCIOEventReader::readParticles(int event_number, vector<Particle*>& particles)
...
@@ -60,12 +60,7 @@ LCIOEventReader::readParticles(int event_number, vector<Particle*>& particles)
vector
<
EVENT
::
MCParticle
*>
mcpcoll
;
vector
<
EVENT
::
MCParticle
*>
mcpcoll
;
EventReaderStatus
ret
=
EVENT_READER_OK
;
EventReaderStatus
ret
=
EVENT_READER_OK
;
if
(
hasDirectAccess
()
)
ret
=
readParticleCollection
(
event_number
,
&
primaries
);
ret
=
readParticleCollection
(
event_number
,
&
primaries
);
else
if
(
m_numEvent
==
event_number
)
ret
=
readParticleCollection
(
event_number
,
&
primaries
);
else
ret
=
readParticleCollection
(
event_number
,
&
primaries
);
//ret = EVENT_READER_NO_DIRECT;
//ret = EVENT_READER_NO_DIRECT;
++
m_numEvent
;
++
m_numEvent
;
...
...
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