Struct holding point-by-point elements used in OptionalOutputs. More...
#include <TrackMaker.h>
Public Member Functions | |
void | setTrackFitHitInfo (recob::TrackFitHitInfo &&aTrackFitHitInfo) |
set the recob::TrackFitHitInfo unique_ptr More... | |
void | setTrackFitHitInfo (const recob::TrackFitHitInfo &aTrackFitHitInfo) |
bool | isTrackFitInfoSet () |
check if the recob::TrackFitHitInfo unique_ptr is set More... | |
recob::TrackFitHitInfo | getTrackFitHitInfo () |
get the recob::TrackFitHitInfo object, and reset the unique_ptr More... | |
void | setSpacePoint (recob::SpacePoint &&aSpacePoint) |
set the recob::SpacePoint unique_ptr More... | |
void | setSpacePoint (const recob::SpacePoint &aSpacePoint) |
bool | isSpacePointSet () |
check if the recob::SpacePoint unique_ptr is set More... | |
recob::SpacePoint | getSpacePoint () |
get the recob::SpacePoint object, and release the unique_ptr More... | |
Private Attributes | |
std::unique_ptr< recob::TrackFitHitInfo > | trackFitHitInfo |
std::unique_ptr< recob::SpacePoint > | spacePoint |
Struct holding point-by-point elements used in OptionalOutputs.
This struct holds the elements of OptionalOutputs that are added for each point (i.e. each hit).
It stores a unique_ptr to each optional output object element. Functions are provided to set the unique_ptr and to check if it set. When the elements are returned, the unique_ptr is reset.
Definition at line 36 of file TrackMaker.h.
|
inline |
get the recob::SpacePoint object, and release the unique_ptr
Definition at line 83 of file TrackMaker.h.
|
inline |
get the recob::TrackFitHitInfo object, and reset the unique_ptr
Definition at line 57 of file TrackMaker.h.
|
inline |
check if the recob::SpacePoint unique_ptr is set
Definition at line 77 of file TrackMaker.h.
|
inline |
check if the recob::TrackFitHitInfo unique_ptr is set
Definition at line 51 of file TrackMaker.h.
|
inline |
set the recob::SpacePoint unique_ptr
Definition at line 66 of file TrackMaker.h.
|
inline |
Definition at line 71 of file TrackMaker.h.
|
inline |
set the recob::TrackFitHitInfo unique_ptr
Definition at line 40 of file TrackMaker.h.
|
inline |
Definition at line 45 of file TrackMaker.h.
|
private |
Definition at line 92 of file TrackMaker.h.
|
private |
Definition at line 91 of file TrackMaker.h.