 |
ATLAS Offline Software
|
Go to the documentation of this file.
43 return StatusCode::SUCCESS;
68 muons.push_back(
muon);
95 return StatusCode::FAILURE;
106 if (conts.insert(
c).second) {
116 return StatusCode::SUCCESS;
119 template <
class CONT_TYPE>
131 return StatusCode::SUCCESS;
145 return StatusCode::SUCCESS;
154 return StatusCode::SUCCESS;
161 return StatusCode::SUCCESS;
167 return StatusCode::SUCCESS;
181 return StatusCode::SUCCESS;
189 return StatusCode::SUCCESS;
196 return StatusCode::SUCCESS;
200 ATH_MSG_VERBOSE(
"applySelection: " << elec->
type() <<
", " << elec->
pt() <<
", " << elec->
eta() <<
", " << elec->
phi() <<
", " << (
int)isOK(*elec));
202 return StatusCode::SUCCESS;
216 return StatusCode::SUCCESS;
225 return StatusCode::SUCCESS;
233 return StatusCode::SUCCESS;
238 ATH_MSG_VERBOSE(
"applySelection: " << phot->
type() <<
", " << phot->
pt() <<
", " << phot->
eta() <<
", " << phot->
phi() <<
", " << (
int)isOK(*phot));
240 return StatusCode::SUCCESS;
virtual Type::ObjectType type() const override final
The type of the object as a simple enumeration.
ToolHandle< CP::IMuonSelectionTool > m_muonSelTool
tools for selection of incoming particles
Gaudi::Property< float > m_minMuonPt
constexpr ParticleHypothesis particle[PARTICLEHYPOTHESES]
the array of masses
Gaudi::Property< std::string > m_quality_name
Electron_v1 Electron
Definition of the current "egamma version".
@ VIEW_ELEMENTS
this data object is a view, it does not own its elmts
virtual Type::ObjectType type() const override final
The type of the object as a simple enumeration.
SG::ReadHandleKeyArray< xAOD::IParticleContainer > m_contKeys
Input containers to retrieve from the storegate.
SG::ReadDecorHandleKey< xAOD::MuonContainer > m_muonSelKey
For lepton/photon selection, normally one uses either a decorator xxxSelKey, or a tool xxxSelTool,...
Gaudi::Property< float > m_minElecPt
Kinematic cuts - if needed.
void lockDecoration(SG::auxid_t auxid)
Explicitly lock a decoration.
StatusCode selectLeptonsAndPhotons(const EventContext &ctx, CONT_TYPE particles, const SG::Decorator< char > &isOK) const
#define ATH_MSG_VERBOSE(x)
Property holding a SG store/key/clid from which a ReadHandle is made.
SG::auxid_t auxid() const
Return the aux id for this variable.
Class providing the definition of the 4-vector interface.
ToolHandle< IAsgPhotonIsEMSelector > m_photSelTool
Select isolated Photons, Electrons and Muons.
IsoCloseByCorrectionAlg(const std::string &name, ISvcLocator *svcLoc)
An algorithm that can be simultaneously executed in multiple threads.
SG::ReadDecorHandleKey< xAOD::PhotonContainer > m_photSelKey
@ Error
Some error happened during the object correction.
Handle class for reading a decoration on an object.
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual double phi() const override final
The azimuthal angle ( ) of the particle.
StatusCode execute(const EventContext &ctx) const override
StatusCode initialize() override
StatusCode applySelection(const EventContext &ctx, const xAOD::Electron *elec, const SG::Decorator< char > &isOK) const
Gaudi::Property< float > m_minPhotPt
Photon_v1 Photon
Definition of the current "egamma version".
struct TBPatternUnitContext Muon
DataVector adapter that acts like it holds const pointers.
std::unordered_set< const SG::AuxVectorData * > UnorderedContainerSet
ToolHandle< CP::IIsolationCloseByCorrectionTool > m_closeByCorrTool
The closeBy isolation correction tool.
virtual double pt() const override final
The transverse momentum ( ) of the particle.
Handle class for reading a decoration on an object.
virtual double eta() const override final
The pseudorapidity ( ) of the particle.
Manage lookup of vectors of auxiliary data.
#define ATLAS_THREAD_SAFE
Handle class for reading from StoreGate.
ToolHandle< IAsgElectronLikelihoodTool > m_elecSelTool
Define macros for attributes used to control the static checker.
SG::ReadDecorHandleKey< xAOD::ElectronContainer > m_elecSelKey