Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix some obscure code in TrackingTruthAccumulator (still functionally identical) #7318

Merged
merged 1 commit into from Jan 23, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -650,9 +650,7 @@ namespace // Unnamed namespace for things only used in this file

bool isInVolume=this->vectorIsInsideVolume( simVertex.position() );

// TODO - Still need to set the truth ID properly. I'm not sure what to set
// the second parameter of the EncodedTruthId constructor to.
TrackingVertex returnValue( simVertex.position(), isInVolume, EncodedTruthId( simVertex.eventId(), 0 ) );
TrackingVertex returnValue( simVertex.position(), isInVolume, simVertex.eventId() );

// add the SimVertex to the TrackingVertex
returnValue.addG4Vertex(simVertex);
Expand Down