ATLAS Offline Software
PhysicsAnalysis
ElectronPhotonID
ElectronPhotonSelectorTools
ElectronPhotonSelectorTools
ElectronSelectorHelpers.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 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
struct
ROOT6_NamespaceAutoloadHook
45
{};
46
}
47
48
#endif
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::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::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
ParticleTest.tp
tp
Definition:
ParticleTest.py:25
ElectronSelectorHelpers
Definition:
ElectronSelectorHelpers.h:17
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
IEGammaAmbiguityTool.h
xAOD::uint16_t
setWord1 uint16_t
Definition:
eFexEMRoI_v1.cxx:93
ElectronFwd.h
xAOD::AmbiguityTool::AmbiguityType
AmbiguityType
Definition:
IEGammaAmbiguityTool.h:33
ElectronSelectorHelpers::ROOT6_NamespaceAutoloadHook
Definition:
ElectronSelectorHelpers.h:45
python.CaloScaleNoiseConfig.type
type
Definition:
CaloScaleNoiseConfig.py:78
TrackParticleFwd.h
xAOD::TrackParticle_v1
Class describing a TrackParticle.
Definition:
TrackParticle_v1.h:43
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
Generated on Sun Dec 22 2024 21:09:54 for ATLAS Offline Software by
1.8.18