ATLAS Offline Software
Loading...
Searching...
No Matches
ElectronSelectorHelpers.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
5// Dear emacs, this is -*-c++-*-
6
7#ifndef __ELECTRONSELECTORHELPERS__
8#define __ELECTRONSELECTORHELPERS__
9
10// Atlas includes
13#include <cstddef>
14
16
20std::size_t
22
24std::size_t
26
29std::size_t
31
33// (that is, if innermost layer is masked off, look at the next
34// to innermost layer. If both are off, then return true)
35bool
37
40bool
42 const uint16_t criterion);
43
44}
45
46#endif
bool passAmbiguity(xAOD::AmbiguityTool::AmbiguityType type, const uint16_t criterion)
return true if the ambiguity type is one of several that are stored in a bitmask
std::size_t numberOfPixelHitsAndDeadSensors(const xAOD::TrackParticle &tp)
return the number of Pixel hits plus dead sensors in the track particle
std::size_t numberOfSCTHitsAndDeadSensors(const xAOD::TrackParticle &tp)
return the number of SCT hits plus dead sensors in the track particle
bool passBLayerRequirement(const xAOD::TrackParticle &tp)
return true if effective number of BL hits + outliers is at least one
std::size_t numberOfSiliconHitsAndDeadSensors(const xAOD::TrackParticle &tp)
return the number of Silicon hits plus dead sensors in the track particle
TrackParticle_v1 TrackParticle
Reference the current persistent version: