 |
Belle II Software
release-05-02-19
|
13 #include <framework/datastore/StoreArray.h>
14 #include <framework/datastore/RelationsObject.h>
15 #include <framework/core/FrameworkExceptions.h>
17 #include <genfit/Track.h>
19 #include <tracking/dataobjects/RecoHitInformation.h>
21 #include <boost/optional.hpp>
37 class RecoTrackGenfitAccess;
39 BELLE2_DEFINE_EXCEPTION(NoTrackFitResult,
"No track fit result available for this hit (e.g. DAF has removed it).")
127 static void registerRequiredRelations(
129 std::string
const& pxdHitsStoreArrayName =
"",
130 std::string
const& svdHitsStoreArrayName =
"",
131 std::string
const& cdcHitsStoreArrayName =
"",
132 std::string
const& bklmHitsStoreArrayName =
"",
133 std::string
const& eklmHitsStoreArrayName =
"",
134 std::string
const& recoHitInformationStoreArrayName =
"");
152 RecoTrack(
const TVector3& seedPosition,
const TVector3& seedMomentum,
const short int seedCharge,
153 const std::string& storeArrayNameOfCDCHits =
"",
154 const std::string& storeArrayNameOfSVDHits =
"",
155 const std::string& storeArrayNameOfPXDHits =
"",
156 const std::string& storeArrayNameOfBKLMHits =
"",
157 const std::string& storeArrayNameOfEKLMHits =
"",
158 const std::string& storeArrayNameOfRecoHitInformation =
"");
181 const std::string& storeArrayNameOfRecoTracks =
"",
182 const std::string& storeArrayNameOfCDCHits =
"",
183 const std::string& storeArrayNameOfSVDHits =
"",
184 const std::string& storeArrayNameOfPXDHits =
"",
185 const std::string& storeArrayNameOfBKLMHits =
"",
186 const std::string& storeArrayNameOfEKLMHits =
"",
187 const std::string& storeArrayNameOfRecoHitInformation =
"",
188 const bool recreateSortingParameters =
false
201 const TVector3& momentum,
short charge,
202 const TMatrixDSym& covariance,
double timeSeed)
const;
228 size_t addHitsFromRecoTrack(
const RecoTrack* recoTrack,
unsigned int sortingParameterOffset = 0,
229 bool reversed =
false, boost::optional<double> optionalMinimalWeight = boost::none);
241 RightLeftInformation rightLeftInformation = RightLeftInformation::c_undefinedRightLeftInformation,
242 OriginTrackFinder foundByTrackFinder = OriginTrackFinder::c_undefinedTrackFinder)
244 return addHit(cdcHit, rightLeftInformation, foundByTrackFinder, sortingParameter);
256 OriginTrackFinder foundByTrackFinder = OriginTrackFinder::c_undefinedTrackFinder)
258 return addHit(pxdHit, foundByTrackFinder, sortingParameter);
270 OriginTrackFinder foundByTrackFinder = OriginTrackFinder::c_undefinedTrackFinder)
272 return addHit(svdHit, foundByTrackFinder, sortingParameter);
284 OriginTrackFinder foundByTrackFinder = OriginTrackFinder::c_undefinedTrackFinder)
286 return addHit(bklmHit, foundByTrackFinder, sortingParameter);
298 OriginTrackFinder foundByTrackFinder = OriginTrackFinder::c_undefinedTrackFinder)
300 return addHit(eklmHit, foundByTrackFinder, sortingParameter);
308 template<
class HitType>
312 (m_storeArrayNameOfRecoHitInformation);
316 if (recoHitInformation.getRelatedFrom<
RecoTrack>(this->getArrayName()) ==
this) {
317 return &recoHitInformation;
326 template <
class HitType>
334 template <
class HitType>
342 template <
class HitType>
350 template <
class HitType>
358 template <
class HitType>
367 template <
class HitType>
375 template <
class HitType>
391 bool hasCDCHits()
const {
return getRelatedFrom<UsedCDCHit>(m_storeArrayNameOfCDCHits) !=
nullptr; }
394 bool hasSVDHits()
const {
return getRelatedFrom<UsedSVDHit>(m_storeArrayNameOfSVDHits) !=
nullptr; }
397 bool hasPXDHits()
const {
return getRelatedFrom<UsedPXDHit>(m_storeArrayNameOfPXDHits) !=
nullptr; }
400 bool hasBKLMHits()
const {
return getRelatedFrom<UsedBKLMHit>(m_storeArrayNameOfBKLMHits) !=
nullptr; }
403 bool hasEKLMHits()
const {
return getRelatedFrom<UsedEKLMHit>(m_storeArrayNameOfEKLMHits) !=
nullptr; }
406 template <
class HitType>
410 return std::find_if(relatedTracksToHit.
begin(), relatedTracksToHit.
end(), [
this](
const RecoTrack & recoTrack) {
411 return &recoTrack == this;
412 }) != relatedTracksToHit.
end();
417 unsigned int getNumberOfCDCHits()
const {
return getNumberOfHitsOfGivenType<UsedCDCHit>(m_storeArrayNameOfCDCHits); }
420 unsigned int getNumberOfSVDHits()
const {
return getNumberOfHitsOfGivenType<UsedSVDHit>(m_storeArrayNameOfSVDHits); }
423 unsigned int getNumberOfPXDHits()
const {
return getNumberOfHitsOfGivenType<UsedPXDHit>(m_storeArrayNameOfPXDHits); }
426 unsigned int getNumberOfBKLMHits()
const {
return getNumberOfHitsOfGivenType<UsedBKLMHit>(m_storeArrayNameOfBKLMHits); }
429 unsigned int getNumberOfEKLMHits()
const {
return getNumberOfHitsOfGivenType<UsedEKLMHit>(m_storeArrayNameOfEKLMHits); }
434 return getNumberOfCDCHits() + getNumberOfPXDHits() +
435 getNumberOfSVDHits() + getNumberOfBKLMHits() + getNumberOfEKLMHits();
441 return getNumberOfCDCHits() + getNumberOfPXDHits() +
442 getNumberOfSVDHits();
446 std::vector<Belle2::RecoTrack::UsedCDCHit*>
getCDCHitList()
const {
return getHitList<UsedCDCHit>(m_storeArrayNameOfCDCHits); }
449 std::vector<Belle2::RecoTrack::UsedSVDHit*>
getSVDHitList()
const {
return getHitList<UsedSVDHit>(m_storeArrayNameOfSVDHits); }
452 std::vector<Belle2::RecoTrack::UsedPXDHit*>
getPXDHitList()
const {
return getHitList<UsedPXDHit>(m_storeArrayNameOfPXDHits); }
455 std::vector<Belle2::RecoTrack::UsedBKLMHit*>
getBKLMHitList()
const {
return getHitList<UsedBKLMHit>(m_storeArrayNameOfBKLMHits); }
458 std::vector<Belle2::RecoTrack::UsedEKLMHit*>
getEKLMHitList()
const {
return getHitList<UsedEKLMHit>(m_storeArrayNameOfEKLMHits); }
461 std::vector<Belle2::RecoTrack::UsedCDCHit*>
getSortedCDCHitList()
const {
return getSortedHitList<UsedCDCHit>(m_storeArrayNameOfCDCHits); }
464 std::vector<Belle2::RecoTrack::UsedSVDHit*>
getSortedSVDHitList()
const {
return getSortedHitList<UsedSVDHit>(m_storeArrayNameOfSVDHits); }
467 std::vector<Belle2::RecoTrack::UsedPXDHit*>
getSortedPXDHitList()
const {
return getSortedHitList<UsedPXDHit>(m_storeArrayNameOfPXDHits); }
470 std::vector<Belle2::RecoTrack::UsedBKLMHit*>
getSortedBKLMHitList()
const {
return getSortedHitList<UsedBKLMHit>(m_storeArrayNameOfBKLMHits); }
473 std::vector<Belle2::RecoTrack::UsedEKLMHit*>
getSortedEKLMHitList()
const {
return getSortedHitList<UsedEKLMHit>(m_storeArrayNameOfEKLMHits); }
479 const TVectorD& seed = m_genfitTrack.getStateSeed();
480 return TVector3(seed(0), seed(1), seed(2));
486 const TVectorD& seed = m_genfitTrack.getStateSeed();
487 return TVector3(seed(3), seed(4), seed(5));
493 return m_genfitTrack.getStateSeed();
500 double getTimeSeed()
const {
return m_genfitTrack.getTimeSeed(); }
503 std::tuple<TVector3, TVector3, short> extractTrackState()
const;
508 m_genfitTrack.setStateSeed(positionSeed, momentumSeed);
509 deleteFittedInformation();
515 m_charge = chargeSeed;
516 deleteFittedInformation();
522 m_genfitTrack.setTimeSeed(timeSeed);
523 deleteFittedInformation();
530 void setSeedCovariance(
const TMatrixDSym& seedCovariance) { m_genfitTrack.setCovSeed(seedCovariance); }
540 return m_genfitTrack.getFitStatus(representation);
550 return m_genfitTrack.getCardinalRep();
557 return m_genfitTrack.getTrackReps();
574 std::vector<RecoHitInformation*> getRecoHitInformations(
bool getSorted =
false)
const;
610 return m_genfitTrack.getPointsWithMeasurement();
623 m_dirtyFlag = dirtyFlag;
625 deleteFittedInformation();
654 template<
class HitType>
660 (m_storeArrayNameOfRecoHitInformation);
663 HitType*
const hit = hitInformation.getRelatedTo<HitType>(storeArrayNameOfHits);
664 if (hit !=
nullptr && pickFunction(hitInformation, hit)) {
665 mapFunction(hitInformation, hit);
676 template<
class HitType>
679 std::function<
bool(
const RecoHitInformation&,
const HitType*)>
const& pickFunction)
const
682 (m_storeArrayNameOfRecoHitInformation);
685 const HitType*
const hit = hitInformation.getRelatedTo<HitType>(storeArrayNameOfHits);
686 if (hit !=
nullptr && pickFunction(hitInformation, hit)) {
687 mapFunction(hitInformation, hit);
697 template<
class HitType>
701 mapOnHits<HitType>(storeArrayNameOfHits, mapFunction, [](
const RecoHitInformation&,
const HitType*) ->
bool {
return true; });
709 template<
class HitType>
711 std::function<
void(
const RecoHitInformation&,
const HitType*)>
const& mapFunction)
const
713 mapOnHits<HitType>(storeArrayNameOfHits, mapFunction, [](
const RecoHitInformation&,
const HitType*) ->
bool {
return true; });
720 return m_matchingStatus;
726 m_matchingStatus = matchingStatus;
732 return m_qualityIndicator;
738 m_qualityIndicator = qualityIndicator;
748 void deleteFittedInformation();
760 virtual std::string getInfoHTML()
const;
766 short int m_charge = 1;
768 std::string m_storeArrayNameOfCDCHits =
"";
770 std::string m_storeArrayNameOfSVDHits =
"";
772 std::string m_storeArrayNameOfPXDHits =
"";
774 std::string m_storeArrayNameOfBKLMHits =
"";
776 std::string m_storeArrayNameOfEKLMHits =
"";
778 std::string m_storeArrayNameOfRecoHitInformation =
"";
781 bool m_dirtyFlag =
true;
785 float m_qualityIndicator = NAN;
793 template<
class HitType,
class ...Args>
794 bool addHit(
const HitType* hit, Args&& ... params)
803 addHitWithHitInformation(hit, newRecoHitInformation);
813 template <
class HitType>
816 hit->addRelationTo(
this);
817 addRelationTo(recoHitInformation);
823 template <
class HitType>
827 if (recoHitInformation ==
nullptr) {
828 B2FATAL(
"Queried hit is not in the reco track! Did you prune it?");
830 return recoHitInformation;
838 template <
class HitType>
841 return getRelationsFrom<HitType>(storeArrayNameOfHits).size();
848 template<
class HitType>
852 (m_storeArrayNameOfRecoHitInformation);
854 std::vector<const RecoHitInformation*> relatedHitInformationAsVector;
855 relatedHitInformationAsVector.reserve(relatedHitInformation.
size());
858 relatedHitInformationAsVector.push_back(&hitInformation);
860 std::sort(relatedHitInformationAsVector.begin(), relatedHitInformationAsVector.end(), [](
const RecoHitInformation * a,
862 return a->getSortingParameter() < b->getSortingParameter();
865 std::vector<HitType*> hitList;
866 hitList.reserve(relatedHitInformationAsVector.size());
868 HitType* relatedHit = hitInformation->getRelatedTo<HitType>(storeArrayNameOfHits);
869 if (relatedHit !=
nullptr) {
870 hitList.push_back(relatedHit);
881 template<
class HitType>
882 std::vector<HitType*>
getHitList(
const std::string& storeArrayNameOfHits)
const
885 std::vector<HitType*> hitList;
886 hitList.reserve(relatedHits.
size());
887 for (HitType& hit : relatedHits) {
889 hitList.push_back(&hit);
899 B2DEBUG(100,
"Dirty flag is set. The result may not be in sync with the latest changes. Refit the track to be sure.");
unsigned int getNumberOfPXDHits() const
Return the number of pxd hits.
size_t size() const
Get number of relations.
T * appendNew()
Construct a new T object at the end of the array.
Object containing AbsMeasurement and AbsFitterInfo objects.
void setChargeSeed(const short int chargeSeed)
Set the charge seed stored in the reco track. ATTENTION: This is not the fitted charge.
std::vector< Belle2::RecoTrack::UsedEKLMHit * > getSortedEKLMHitList() const
Return a sorted list of eklm hits. Sorted by the sortingParameter.
const genfit::FitStatus * getTrackFitStatus(const genfit::AbsTrackRep *representation=nullptr) const
Return the track fit status for the given representation or for the cardinal one. You are not allowed...
unsigned int getNumberOfBKLMHits() const
Return the number of bklm hits.
RecoHitInformation::UsedEKLMHit UsedEKLMHit
Copy the definitions from the RecoHitInformation to this class.
float getQualityIndicator() const
Get the quality index attached to this RecoTrack given by one of the reconstruction algorithms....
void setTimeSeed(const double timeSeed)
Set the time seed. ATTENTION: This is not the fitted time.
genfit::AbsTrackRep * getCardinalRepresentation() const
Get a pointer to the cardinal track representation. You are not allowed to modify or delete it!
std::vector< Belle2::RecoTrack::UsedPXDHit * > getSortedPXDHitList() const
Return a sorted list of pxd hits. Sorted by the sortingParameter.
#StateOnPlane with additional covariance matrix.
Track candidate – seed values and indices.
static genfit::Track & getGenfitTrack(RecoTrack &recoTrack)
Give access to the RecoTrack's genfit::Track.
void setSeedCovariance(const TMatrixDSym &seedCovariance)
Set the covariance of the seed. ATTENTION: This is not the fitted covariance.
std::vector< HitType * > getSortedHitList(const std::string &storeArrayNameOfHits) const
Return a sorted list of hits of the given type in the store array that are related to this track.
std::vector< Belle2::RecoTrack::UsedSVDHit * > getSVDHitList() const
Return an unsorted list of svd hits.
Class containing the result of the unpacker in raw data and the result of the digitizer in simulation...
std::vector< Belle2::RecoTrack::UsedCDCHit * > getCDCHitList() const
Return an unsorted list of cdc hits.
void mapOnHits(const std::string &storeArrayNameOfHits, std::function< void(const RecoHitInformation &, const HitType *)> const &mapFunction) const
Call a function on all hits of the given type in the store array, that are related to this track.
unsigned int getNumberOfSVDHits() const
Return the number of svd hits.
void setDirtyFlag(const bool &dirtyFlag=true)
Set to true, if you want to rebuild the measurements and do the fit independent on changes of the hit...
void setFoundByTrackFinder(const HitType *hit, OriginTrackFinder originTrackFinder)
Set the found by track finder flag or throws an exception of the hit is not related to the track.
Defines for I/O streams used for error and debug printing.
Collection of TrackPoint objects, AbsTrackRep objects and FitStatus objects.
unsigned int getSortingParameter(const HitType *hit) const
Return the sorting parameter for a given hit (every type) or throws an exception of the hit is not re...
std::vector< Belle2::RecoTrack::UsedBKLMHit * > getBKLMHitList() const
Return an unsorted list of bklm hits.
RecoHitInformation::UsedBKLMHit UsedBKLMHit
Copy the definitions from the RecoHitInformation to this class.
Abstract base class for a track representation.
bool hasSVDHits() const
Returns true if the track has svd hits.
RecoHitInformation::OriginTrackFinder OriginTrackFinder
Copy the definitions from the RecoHitInformation to this class.
void setQualityIndicator(const float qualityIndicator)
Set the quality index attached to this RecoTrack. 0 means likely fake.
const std::string & getStoreArrayNameOfPXDHits() const
Name of the store array of the pxd hits.
void setSortingParameter(const HitType *hit, unsigned int sortingParameter)
Set the sorting parameter or throws an exception of the hit is not related to the track....
const std::vector< genfit::AbsTrackRep * > & getRepresentations() const
Return a list of track representations. You are not allowed to modify or delete them!
unsigned int getNumberOfHitsOfGivenType(const std::string &storeArrayNameOfHits) const
Get the number of hits for the given hit type in the store array that are related to this track.
MatchingStatus getMatchingStatus() const
Return the matching status set by the TrackMatcher module.
This dataobject is used only for EKLM alignment.
RecoHitInformation::UsedCDCHit UsedCDCHit
Copy the definitions from the RecoHitInformation to this class.
unsigned int getNumberOfTrackingHits() const
Return the number of cdc + svd + pxd hits.
RecoHitInformation::UsedPXDHit UsedPXDHit
Copy the definitions from the RecoHitInformation to this class.
genfit::Track m_genfitTrack
Internal storage for the genfit track.
std::vector< Belle2::RecoTrack::UsedBKLMHit * > getSortedBKLMHitList() const
Return a sorted list of bklm hits. Sorted by the sortingParameter.
RecoTrack()
Empty constructor for ROOT. Do not use!
bool addCDCHit(const UsedCDCHit *cdcHit, const unsigned int sortingParameter, RightLeftInformation rightLeftInformation=RightLeftInformation::c_undefinedRightLeftInformation, OriginTrackFinder foundByTrackFinder=OriginTrackFinder::c_undefinedTrackFinder)
Adds a cdc hit with the given information to the reco track.
const std::vector< genfit::TrackPoint * > & getHitPointsWithMeasurement() const
Return a list of measurements and track points, which can be used e.g. to extrapolate....
TrackingDetector getTrackingDetector(const HitType *hit) const
Return the tracking detector of a given hit (every type) or throws an exception of the hit is not rel...
RecoHitInformation::UsedSVDHit UsedSVDHit
Copy the definitions from the RecoHitInformation to this class.
bool addEKLMHit(const UsedEKLMHit *eklmHit, const unsigned int sortingParameter, OriginTrackFinder foundByTrackFinder=OriginTrackFinder::c_undefinedTrackFinder)
Adds an eklm hit with the given information to the reco track.
bool hasHit(const HitType *hit) const
Returns true if the given hit is in the track.
double getTimeSeed() const
Return the time seed stored in the reco track. ATTENTION: This is not the fitted time.
This is the Reconstruction Event-Data Model Track.
This class allows access to the genfit::Track of the RecoTrack.
TVector3 getPositionSeed() const
Return the position seed stored in the reco track. ATTENTION: This is not the fitted position.
Class for type safe access to objects that are referred to in relations.
const std::string & getStoreArrayNameOfCDCHits() const
Name of the store array of the cdc hits.
bool hasEKLMHits() const
Returns true if the track has eklm hits.
iterator begin()
Return iterator to first entry.
void mapOnHits(const std::string &storeArrayNameOfHits, std::function< void(RecoHitInformation &, HitType *)> const &mapFunction, std::function< bool(const RecoHitInformation &, const HitType *)> const &pickFunction)
Call a function on all hits of the given type in the store array, that are related to this track.
void mapOnHits(const std::string &storeArrayNameOfHits, std::function< void(RecoHitInformation &, HitType *)> const &mapFunction)
Call a function on all hits of the given type in the store array, that are related to this track.
RecoHitInformation * getRecoHitInformation(HitType *hit) const
Return the reco hit information for a generic hit from the storeArray.
bool addSVDHit(const UsedSVDHit *svdHit, const unsigned int sortingParameter, OriginTrackFinder foundByTrackFinder=OriginTrackFinder::c_undefinedTrackFinder)
Adds a svd hit with the given information to the reco track.
std::vector< Belle2::RecoTrack::UsedSVDHit * > getSortedSVDHitList() const
Return a sorted list of svd hits. Sorted by the sortingParameter.
Abstract base class for different kinds of events.
void setMatchingStatus(MatchingStatus matchingStatus)
Set the matching status (used by the TrackMatcher module)
bool addBKLMHit(const UsedBKLMHit *bklmHit, const unsigned int sortingParameter, OriginTrackFinder foundByTrackFinder=OriginTrackFinder::c_undefinedTrackFinder)
Adds a bklm hit with the given information to the reco track.
bool addHit(const HitType *hit, Args &&... params)
Add a generic hit with the given parameters for the reco hit information.
std::vector< Belle2::RecoTrack::UsedCDCHit * > getSortedCDCHitList() const
Return a sorted list of cdc hits. Sorted by the sortingParameter.
bool hasCDCHits() const
Returns true if the track has cdc hits.
void addHitWithHitInformation(const HitType *hit, RecoHitInformation *recoHitInformation)
Add the needed relations for adding a generic hit with the given hit information.
RecoHitInformation::RecoHitDetector TrackingDetector
Copy the definitions from the RecoHitInformation to this class.
The PXD Cluster class This class stores all information about reconstructed PXD clusters The position...
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...
unsigned int getNumberOfCDCHits() const
Return the number of cdc hits.
The SVD Cluster class This class stores all information about reconstructed SVD clusters.
TVector3 getMomentumSeed() const
Return the momentum seed stored in the reco track. ATTENTION: This is not the fitted momentum.
std::vector< Belle2::RecoTrack::UsedEKLMHit * > getEKLMHitList() const
Return an unsorted list of eklm hits.
RecoHitInformation::RightLeftInformation RightLeftInformation
Copy the definitions from the RecoHitInformation to this class.
unsigned int getNumberOfTotalHits() const
Return the number of cdc + svd + pxd + bklm + eklm hits.
std::vector< HitType * > getHitList(const std::string &storeArrayNameOfHits) const
Return an unsorted list of hits of the given type in the store array that are related to this track.
bool getDirtyFlag() const
This returns true, if a hit was added after the last fit and measurement creation and a refit should ...
RecoHitInformation * getRecoHitInformationSafely(HitType *hit) const
Returns the reco hit information for a given hit or throws an exception if the hit is not related to ...
iterator end()
Return iterator to last entry +1.
short int getChargeSeed() const
Return the charge seed stored in the reco track. ATTENTION: This is not the fitted charge.
Accessor to arrays stored in the data store.
bool hasPXDHits() const
Returns true if the track has pxd hits.
#define BELLE2_DEFINE_EXCEPTION(ClassName, Message)
Macro that defines an exception with the given message template.
const std::string & getStoreArrayNameOfRecoHitInformation() const
Name of the store array of the reco hit informations.
unsigned int getNumberOfEKLMHits() const
Return the number of eklm hits.
const std::string & getStoreArrayNameOfEKLMHits() const
Name of the store array of the eklm hits.
void setPositionAndMomentum(const TVector3 &positionSeed, const TVector3 &momentumSeed)
Set the position and momentum seed of the reco track. ATTENTION: This is not the fitted position or m...
Class where important numbers and properties of a fit can be stored.
void mapOnHits(const std::string &storeArrayNameOfHits, std::function< void(const RecoHitInformation &, const HitType *)> const &mapFunction, std::function< bool(const RecoHitInformation &, const HitType *)> const &pickFunction) const
Call a function on all hits of the given type in the store array, that are related to this track.
MatchingStatus
Enum for the matching status of this reco track (set by the matching modules in the tracking package)...
Defines interface for accessing relations of objects in StoreArray.
Store one BKLM strip hit as a ROOT object.
bool addPXDHit(const UsedPXDHit *pxdHit, const unsigned int sortingParameter, OriginTrackFinder foundByTrackFinder=OriginTrackFinder::c_undefinedTrackFinder)
Adds a pxd hit with the given information to the reco track.
void checkDirtyFlag() const
Helper: Check the dirty flag and produce a warning, whenever a fit result is accessed.
const std::string & getStoreArrayNameOfBKLMHits() const
Name of the store array of the bklm hits.
const TVectorD & getStateSeed() const
Return the state seed in the form posX, posY, posZ, momX, momY, momZ. ATTENTION: This is not the fitt...
void setRightLeftInformation(const HitType *hit, RightLeftInformation rightLeftInformation)
Set the right left information or throws an exception of the hit is not related to the track....
bool hasBKLMHits() const
Returns true if the track has bklm hits.
const TMatrixDSym & getSeedCovariance() const
Return the covariance matrix of the seed. ATTENTION: This is not the fitted covariance.
RightLeftInformation getRightLeftInformation(const HitType *hit) const
Return the right left information of a given hit (every type) or throws an exception of the hit is no...
OriginTrackFinder getFoundByTrackFinder(const HitType *hit) const
Return the found by track finder flag for the given hit (every type) or throws an exception of the hi...
const std::string & getStoreArrayNameOfSVDHits() const
Name of the store array of the svd hits.
std::vector< Belle2::RecoTrack::UsedPXDHit * > getPXDHitList() const
Return an unsorted list of pxd hits.