ATLAS Offline Software
Loading...
Searching...
No Matches
MissingETAssociationHelper.h
Go to the documentation of this file.
1// -*- c++ -*-
2
3/*
4 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
5*/
6
7#ifndef XAODMISSINGET_MISSINGETASSOCIATIONHELPER_H
8#define XAODMISSINGET_MISSINGETASSOCIATIONHELPER_H
9
11#include <vector>
12
13namespace xAOD
14{
15
16 // Forward declarations, since this class introduces cyclical dependences
19 class IParticle;
20
22 {
23 public:
24
33
34 bool objSelected(const MissingETAssociation_v1* assoc, size_t objIdx) const;
35 bool objSelected(const MissingETAssociation_v1* assoc, const IParticle* pPart) const;
36
38
39 void setObjSelectionFlag(const MissingETAssociation_v1* assoc, size_t objIdx, bool status);
40 void setObjSelectionFlag(const MissingETAssociation_v1* assoc, const IParticle* pPart, bool status);
41
42 inline void resetObjSelectionFlags() { m_useObjectFlags.clear(); }
43 inline const MissingETAssociationMap_v1* map() const { return m_map; }
44
45 private:
46
48
49 std::vector<MissingETBase::Types::bitmask_t> m_useObjectFlags; /*< @brief Cache overlap removal decisions */
50
51
52 }; // class xAOD::MissingETAssociationHelper
53} // namespace xAOD
54
55#endif
Header file for AthHistogramAlgorithm.
Class providing the definition of the 4-vector interface.
MissingETBase::Types::bitmask_t getObjSelectionFlags(const MissingETAssociation_v1 *assoc) const
Return object selection bitmask for the given association.
std::vector< MissingETBase::Types::bitmask_t > m_useObjectFlags
const MissingETAssociationMap_v1 * m_map
bool objSelected(const MissingETAssociation_v1 *assoc, size_t objIdx) const
Test if object is selected for MET calculation.
virtual ~MissingETAssociationHelper()
Base class destructor.
const MissingETAssociationMap_v1 * map() const
MissingETAssociationHelper(const MissingETAssociationHelper &h)=default
Copy constructor.
void setObjSelectionFlag(const MissingETAssociation_v1 *assoc, size_t objIdx, bool status)
Flag object as selected for MET calculation.
MET association descriptor contains object links and corresponding parameters.
uint64_t bitmask_t
Type for status word bit mask.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.