Skip to content

Commit

Permalink
Cast the reference to an HpsParticle.
Browse files Browse the repository at this point in the history
  • Loading branch information
omar-moreno committed Dec 17, 2015
1 parent f9795f4 commit 4a990d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/hps_event/SvtTrack.h
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ class SvtTrack : public TObject {
*
* @return The {@link HpsParticle} associated with this track.
*/
TRef getParticle() const { return fs_particle; };
HpsParticle* getParticle() const { return (HpsParticle*) this->fs_particle.GetObject(); };

/**
* @returns True if the track is in the top SVT volume, false otherwise.
Expand Down

0 comments on commit 4a990d1

Please sign in to comment.