ATLAS Offline Software
Loading...
Searching...
No Matches
EgammaIsGoodOQSelectionTool.h
Go to the documentation of this file.
1// Dear emacs, this is -*- c++ -*-
2//
3// Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
4//
5#ifndef EGAMMAANALYSISALGORITHMS_EGAMMAISGOODOQSELECTIONTOOL_H
6#define EGAMMAANALYSISALGORITHMS_EGAMMAISGOODOQSELECTIONTOOL_H
7
8// Framework include(s):
9#include "AsgTools/AsgTool.h"
14
15// EDM include(s):
16#include "xAODEgamma/Egamma.h"
18
19namespace CP {
20
31 public asg::AsgTool, virtual public IAsgSelectionTool {
32
33 public:
36
37
39
42
44 virtual const asg::AcceptInfo& getAcceptInfo() const override;
45
47 virtual asg::AcceptData
48 accept( const xAOD::IParticle* part ) const override;
49
51
54
56 virtual StatusCode initialize() override;
57
59
60 private:
63
65 Gaudi::Property<int> m_mask {this, "Mask", static_cast<int>(xAOD::EgammaParameters::ALLOQ), "Mask to require passing object quality bits with"};
66
68
72 int m_oqCutIndex{ -1 };
73
75 private:
77
79 private:
81
82
83 }; // class EgammaIsGoodOQSelectionTool
84
85} // namespace CP
86
87#endif // EGAMMAANALYSISALGORITHMS_EGAMMAISGOODOQSELECTIONTOOL_H
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
Tool selecting e/gamma objects based on their object quality flags.
asg::AcceptInfo m_accept
Object handling the e/gamma selection decision.
virtual const asg::AcceptInfo & getAcceptInfo() const override
Get the results for the last object processed.
int m_oqCutIndex
Index of the object quality cut.
asg::AnaToolHandle< IAsgDeadHVCellRemovalTool > m_deadHVTool
The tool that selects on dead HV from the 2016 run, acc. to https://twiki.cern.ch/twiki/bin/view/Atla...
virtual asg::AcceptData accept(const xAOD::IParticle *part) const override
Get the results for a given particle.
Gaudi::Property< int > m_mask
The mask to require good object quality with.
int m_deadHVCutIndex
Index of this quality cut.
virtual StatusCode initialize() override
Function initialising the tool.
a modified tool handle that allows its owner to configure new tools from the C++ side
Base class for the dual-use tool implementation classes.
Definition AsgTool.h:47
AsgTool(const std::string &name)
Constructor specifying the tool instance's name.
Definition AsgTool.cxx:58
Class providing the definition of the 4-vector interface.
Select isolated Photons, Electrons and Muons.
const uint32_t ALLOQ
Definition EgammaDefs.h:133