ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
ElectronPhotonID
ElectronPhotonSelectorTools
ElectronPhotonSelectorTools
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
11
#include "
xAODEgamma/ElectronFwd.h
"
12
#include "
xAODTracking/TrackParticleFwd.h
"
13
#include <cstddef>
14
15
#include "
EgammaAnalysisInterfaces/IEGammaAmbiguityTool.h
"
16
17
namespace
ElectronSelectorHelpers
{
20
std::size_t
21
numberOfPixelHitsAndDeadSensors
(
const
xAOD::TrackParticle
& tp);
22
24
std::size_t
25
numberOfSCTHitsAndDeadSensors
(
const
xAOD::TrackParticle
& tp);
26
29
std::size_t
30
numberOfSiliconHitsAndDeadSensors
(
const
xAOD::TrackParticle
& tp);
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)
35
bool
36
passBLayerRequirement
(
const
xAOD::TrackParticle
& tp);
37
40
bool
41
passAmbiguity
(
xAOD::AmbiguityTool::AmbiguityType
type
,
42
const
uint16_t criterion);
43
44
}
45
46
#endif
ElectronFwd.h
IEGammaAmbiguityTool.h
TrackParticleFwd.h
ElectronSelectorHelpers
Definition
ElectronSelectorHelpers.h:17
ElectronSelectorHelpers::passAmbiguity
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
Definition
ElectronSelectorHelpers.cxx:104
ElectronSelectorHelpers::numberOfPixelHitsAndDeadSensors
std::size_t numberOfPixelHitsAndDeadSensors(const xAOD::TrackParticle &tp)
return the number of Pixel hits plus dead sensors in the track particle
Definition
ElectronSelectorHelpers.cxx:12
ElectronSelectorHelpers::numberOfSCTHitsAndDeadSensors
std::size_t numberOfSCTHitsAndDeadSensors(const xAOD::TrackParticle &tp)
return the number of SCT hits plus dead sensors in the track particle
Definition
ElectronSelectorHelpers.cxx:32
ElectronSelectorHelpers::passBLayerRequirement
bool passBLayerRequirement(const xAOD::TrackParticle &tp)
return true if effective number of BL hits + outliers is at least one
Definition
ElectronSelectorHelpers.cxx:59
ElectronSelectorHelpers::numberOfSiliconHitsAndDeadSensors
std::size_t numberOfSiliconHitsAndDeadSensors(const xAOD::TrackParticle &tp)
return the number of Silicon hits plus dead sensors in the track particle
Definition
ElectronSelectorHelpers.cxx:51
xAOD::AmbiguityTool::AmbiguityType
AmbiguityType
Definition
IEGammaAmbiguityTool.h:33
xAOD::TrackParticle
TrackParticle_v1 TrackParticle
Reference the current persistent version:
Definition
Event/xAOD/xAODTracking/xAODTracking/TrackParticle.h:13
type
Generated on
for ATLAS Offline Software by
1.17.0