|
ATLAS Offline Software
|
Go to the documentation of this file.
7 #ifndef __ASGFORWARDELECTRONISEMSELECTOR__
8 #define __ASGFORWARDELECTRONISEMSELECTOR__
72 const EventContext& ctx,
85 const EventContext& ctx,
93 unsigned int& isEM)
const override final;
101 unsigned int iflag)
const;
121 "primaryVertexContainer",
123 "The primary vertex container name"
virtual ASG_TOOL_CLASS3(AsgForwardElectronIsEMSelector, IAsgForwardElectronIsEMSelector, IAsgEGammaIsEMSelector, IAsgSelectionTool) public ~AsgForwardElectronIsEMSelector()
Standard constructor.
virtual StatusCode execute(const EventContext &ctx, const xAOD::Egamma *eg, unsigned int &isEM) const override final
==========================================================================================//
Interface to tool to select photons.
Root::TForwardElectronIsEMSelector * m_rootForwardTool
Pointer to the underlying ROOT based tool.
SG::ReadHandleKey< xAOD::VertexContainer > m_primVtxContKey
read handle key to primary vertex container
Interface to tool to select electrons.
std::string m_configFile
Config File.
std::string m_WorkingPoint
Working Point.
Property holding a SG store/key/clid from which a ReadHandle is made.
virtual StatusCode initialize() override final
Gaudi Service Interface method implementations.
Class providing the definition of the 4-vector interface.
Example tool to select objects in pure ROOT.
::StatusCode StatusCode
StatusCode definition for legacy code.
unsigned int getNPrimVertices(const EventContext &ctx) const
( This is horrible! We don't want to iterate over all vertices in the event for each electron!...
virtual std::string getOperatingPointName() const override final
Method to get the operating point.
bool m_usePVCont
Whether to use the PV (not available for trigger)
unsigned int m_nPVdefault
virtual const asg::AcceptInfo & getAcceptInfo() const override final
Method to get the plain AcceptInfo.
unsigned int calocuts_electrons(const xAOD::Egamma *eg, float eta2, float nvtx, unsigned int iflag) const
virtual asg::AcceptData accept(const xAOD::IParticle *part) const override final
Accept with generic interface.