20 kSegmentCompatibility,
25 kLayersWithMeasurement,
49 if (!(
muon.innerTrack().isNonnull() and
muon.outerTrack().isNonnull() and
muon.globalTrack().isNonnull())) {
59 var[kChi2LocalMomentum] =
muon.combinedQuality().chi2LocalMomentum;
60 var[kChi2LocalPosition] =
muon.combinedQuality().chi2LocalPosition;
61 var[kGlbTrackProbability] =
muon.combinedQuality().glbTrackProbability;
62 var[kTrkRelChi2] =
muon.combinedQuality().trkRelChi2;
64 var[kTrkKink] =
muon.combinedQuality().trkKink;
65 var[kLog2PlusGlbKink] = TMath::Log(2 +
muon.combinedQuality().glbKink);
66 var[kSegmentCompatibility] =
muon.segmentCompatibility();
68 var[kTimeAtIpInOutErr] =
muon.time().timeAtIpInOutErr;
72 var[kIValidFraction] = iTrack->validFraction();
73 var[kInnerChi2] = iTrack->normalizedChi2();
74 var[kLayersWithMeasurement] = iTrack->hitPattern().trackerLayersWithMeasurement();
76 var[kOuterChi2] = oTrack->normalizedChi2();
78 var[kQProd] = iTrack->charge() * oTrack->charge();
84 std::vector<int> fvDThits{0, 0, 0, 0};
85 std::vector<int> fvRPChits{0, 0, 0, 0};
86 std::vector<int> fvCSChits{0, 0, 0, 0};
88 var[kVMuonHitComb] = 0;
96 if (muStation0 >= 0 && muStation0 < 4) {
98 fvDThits[muStation0]++;
100 fvRPChits[muStation0]++;
102 fvCSChits[muStation0]++;
107 var[kVMuonHitComb] += (fvDThits[
station]) / 2.;
111 var[kVMuonHitComb] += 6;
117 if (
var[kChi2LocalMomentum] < 5000 and
var[kChi2LocalPosition] < 2000 and
var[kGlbTrackProbability] < 5000 and
118 var[kTrkKink] < 900 and
var[kLog2PlusGlbKink] < 50 and
var[kTimeAtIpInOutErr] < 4 and
var[kOuterChi2] < 1000 and
119 var[kInnerChi2] < 10 and
var[kTrkRelChi2] < 3) {