18 declareInterface<IMuonSegmentSelectionTool>(
this);
28 return StatusCode::SUCCESS;
66 if (hitCounts.
ncscHits() < 4 && useEta && usePhi)
return -1;
103 const uint8_t nPrecHits = hitCounts.
nnswHits();
108 const uint8_t nMM_Hits = hitCounts.
nmmHits();
109 const uint8_t nSTGC_Hits = hitCounts.
nstgcHits();
113 if (nPrecEtaHits < 2)
return -1;
119 if (std::max(nMM_Hits, nSTGC_Hits) < 4)
return 0;
132 if (nPrecHits < 12 || nPrecPhiHits < 4)
152 if (hitCounts.
nmdtHits() < 3)
return -1;
155 unsigned int nholes = !ignoreHoles ? hitCounts.
nmdtHoles : 0;
158 double holeFraction = (double)nholes / (
double)hitCounts.
nmdtHits();
164 << hitCounts.
print() <<
" Hole frac " << holeFraction);
170 if (holeFraction > 1.1)
return -1;
200 if (triggerHitRegion && hitCounts.
nphiTrigHitLayers == 0 && holeFraction > 0.5)
return 1;
242 if (!twoMultiLayerSegment) {
264 return quality(seg, ignoreHoles, useEta, usePhi) >= qualityLevel;
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_WARNING(x)
bool is_valid() const
Check if id is in a valid state.
This is the common class for 3D segments used in the muon spectrometer.
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.