8#include <tracking/ckf/cdc/filters/states/MCTruthCDCStateFilter.h>
10#include <tracking/ckf/cdc/entities/CDCCKFState.h>
16 const auto& path = *(pair.first);
17 const auto& state = *(pair.second);
19 const auto& seed = path.front();
20 const auto* seedMCRecoTrack = seed.getMCRecoTrack();
22 if (not seedMCRecoTrack) {
26 const auto* wireHit = state.getWireHit();
27 const auto* cdcHit = wireHit->getHit();
29 const auto* hitMCRecoTrack = cdcHit->getRelated<
RecoTrack>(
"MCRecoTracks");
31 if (seedMCRecoTrack != hitMCRecoTrack) {
TrackFindingCDC::Weight operator()(const BaseCDCStateFilter::Object &pair) final
return 1 if matched truth hit belongs to matched truth track, NAN otherwise
This is the Reconstruction Event-Data Model Track.
AObject Object
Type of the object to be analysed.
Abstract base class for different kinds of events.