Belle II Software development
|
Class bundling all helper functions for the MC information used in the PXD CKF. More...
#include <PXDMCUtil.h>
Public Member Functions | |
unsigned int | getNumberOfCorrectPXDHits (const RecoTrack *mcRecoTrack, const std::vector< const SpacePoint * > &hits) const |
How many of the given space points are also in the MC track? Runs pxdHitIsCorrect on all of them. | |
bool | allStatesCorrect (const std::vector< TrackFindingCDC::WithWeight< const CKFToPXDState * > > &states) const |
Are all hits related to the same MC track the seed is related to? | |
bool | pxdHitIsCorrect (const RecoTrack *mcRecoTrack, const SpacePoint *spacePoint) const |
Returns true, of the space point is related to the mc track and if it is on the first half. | |
unsigned int | getNumberOfCorrectHits (const RecoTrack *mcRecoTrack, const std::vector< const SpacePoint * > &hits) const |
How many of the given space points are also in the MC track? Runs hitIsCorrect on all of them. | |
bool | allStatesCorrect (const std::vector< TrackFindingCDC::WithWeight< const CKFToSVDState * > > &states) const |
Are all hits related to the same MC track the seed is related to? | |
bool | hitIsCorrect (const RecoTrack *mcRecoTrack, const SpacePoint *spacePoint) const |
Returns true, of the space point is related to the mc track and if it is on the first half. | |
Class bundling all helper functions for the MC information used in the PXD CKF.
Class bundling all helper functions for the MC information used in the SVD CKF.
Definition at line 23 of file PXDMCUtil.h.
bool allStatesCorrect | ( | const std::vector< TrackFindingCDC::WithWeight< const CKFToPXDState * > > & | states | ) | const |
Are all hits related to the same MC track the seed is related to?
Definition at line 75 of file PXDMCUtil.cc.
bool allStatesCorrect | ( | const std::vector< TrackFindingCDC::WithWeight< const CKFToSVDState * > > & | states | ) | const |
Are all hits related to the same MC track the seed is related to?
Definition at line 76 of file SVDMCUtil.cc.
unsigned int getNumberOfCorrectHits | ( | const RecoTrack * | mcRecoTrack, |
const std::vector< const SpacePoint * > & | hits | ||
) | const |
How many of the given space points are also in the MC track? Runs hitIsCorrect on all of them.
Definition at line 65 of file SVDMCUtil.cc.
unsigned int getNumberOfCorrectPXDHits | ( | const RecoTrack * | mcRecoTrack, |
const std::vector< const SpacePoint * > & | hits | ||
) | const |
How many of the given space points are also in the MC track? Runs pxdHitIsCorrect on all of them.
Definition at line 64 of file PXDMCUtil.cc.
bool hitIsCorrect | ( | const RecoTrack * | mcRecoTrack, |
const SpacePoint * | spacePoint | ||
) | const |
Returns true, of the space point is related to the mc track and if it is on the first half.
Definition at line 20 of file SVDMCUtil.cc.
bool pxdHitIsCorrect | ( | const RecoTrack * | mcRecoTrack, |
const SpacePoint * | spacePoint | ||
) | const |
Returns true, of the space point is related to the mc track and if it is on the first half.
Definition at line 19 of file PXDMCUtil.cc.