![]() |
Belle II Software
release-06-01-15
|
This class allows access to the genfit::Track of the RecoTrack. More...
#include <RecoTrack.h>
Static Public Member Functions | |
static genfit::Track & | getGenfitTrack (RecoTrack &recoTrack) |
Give access to the RecoTrack's genfit::Track. More... | |
static genfit::AbsTrackRep * | createOrReturnRKTrackRep (RecoTrack &recoTrack, int PDGcode) |
Checks if a TrackRap for the PDG id of the RecoTrack (and its charge conjugate) does already exit and returns it if available. More... | |
This class allows access to the genfit::Track of the RecoTrack.
This class allows direct access to the most holy part of the RecoTrack. The design of the RecoTrack is such, that this should not be required. However, some interfaces require a genfit::Track, e.g. the genfit rave interface, and the access to the genfit::Track member is required. This should only be used when no other solution works.
Definition at line 912 of file RecoTrack.h.
|
static |
Checks if a TrackRap for the PDG id of the RecoTrack (and its charge conjugate) does already exit and returns it if available.
If no TrackRep is available, a new RKTrackRep is added to the genfit::Track. This ensures that a TrackRep with the same PDG id (and its charge conjugate) is not available two times in the genfit::Track.
By convention, only one TrackRep for one particle type can exist inside of a RecoTrack, no matter the charge. So there can only be a electron or positron TrackRep, but not both.
recoTrack | Track to add TrackRep to |
PDGcode | : code of the hypothesis which is negative or positive, depending on the charge of the hypothesis particle. |
Definition at line 401 of file RecoTrack.cc.
|
static |
Give access to the RecoTrack's genfit::Track.
recoTrack | Track to unpack |
Definition at line 396 of file RecoTrack.cc.