ATLAS Offline Software
Event
xAOD
xAODMissingET
xAODMissingET
MissingETAssociationHelper.h
Go to the documentation of this file.
1
// -*- c++ -*-
2
3
/*
4
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
#ifndef XAODMISSINGET_MISSINGETASSOCIATIONHELPER_H
8
#define XAODMISSINGET_MISSINGETASSOCIATIONHELPER_H
9
10
#include "
xAODMissingET/versions/MissingETAssociation_v1.h
"
11
#include "
xAODMissingET/versions/MissingETAssociationMap_v1.h
"
12
13
#include <string>
14
#include <vector>
15
16
#include <iostream>
17
18
namespace
xAOD
19
{
20
21
// Forward declarations, since this class introduces cyclical dependences
22
class
MissingETAssociation_v1;
23
class
MissingETAssociationMap_v1;
24
25
class
MissingETAssociationHelper
26
{
27
public
:
28
30
MissingETAssociationHelper
();
32
MissingETAssociationHelper
(
const
MissingETAssociationMap_v1
*
map
);
34
virtual
~MissingETAssociationHelper
();
35
36
bool
objSelected
(
const
MissingETAssociation_v1
* assoc,
size_t
objIdx)
const
;
37
bool
objSelected
(
const
MissingETAssociation_v1
* assoc,
const
IParticle
* pPart)
const
;
39
MissingETBase::Types::bitmask_t
getObjSelectionFlags
(
const
MissingETAssociation_v1
* assoc)
const
;
41
void
setObjSelectionFlag
(
const
MissingETAssociation_v1
* assoc,
size_t
objIdx,
bool
status
);
42
void
setObjSelectionFlag
(
const
MissingETAssociation_v1
* assoc,
const
IParticle
* pPart,
bool
status
);
44
inline
void
resetObjSelectionFlags
() {
m_useObjectFlags
.clear(); }
45
inline
const
MissingETAssociationMap_v1
*
map
()
const
{
return
m_map
; }
46
47
private
:
48
49
const
MissingETAssociationMap_v1
*
m_map
;
50
51
std::vector<MissingETBase::Types::bitmask_t>
m_useObjectFlags
;
/*< @brief Cache overlap removal decisions */
52
53
54
};
// class xAOD::MissingETAssociationHelper
55
}
// namespace xAOD
56
57
#endif
xAOD::MissingETAssociation_v1
MET association descriptor contains object links and corresponding parameters.
Definition:
MissingETAssociation_v1.h:29
xAOD::MissingETAssociationHelper::m_map
const MissingETAssociationMap_v1 * m_map
Definition:
MissingETAssociationHelper.h:49
xAOD::MissingETAssociationHelper::setObjSelectionFlag
void setObjSelectionFlag(const MissingETAssociation_v1 *assoc, size_t objIdx, bool status)
Flag object as selected for MET calculation.
Definition:
MissingETAssociationHelper.cxx:34
xAOD::MissingETAssociationHelper::map
const MissingETAssociationMap_v1 * map() const
Definition:
MissingETAssociationHelper.h:45
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition:
ICaloAffectedTool.h:24
MissingETAssociation_v1.h
MissingETBase::Types::bitmask_t
uint64_t bitmask_t
Type for status word bit mask.
Definition:
MissingETBase.h:39
xAOD::IParticle
Class providing the definition of the 4-vector interface.
Definition:
Event/xAOD/xAODBase/xAODBase/IParticle.h:41
xAOD::MissingETAssociationMap_v1
Definition:
MissingETAssociationMap_v1.h:29
xAOD::MissingETAssociationHelper::m_useObjectFlags
std::vector< MissingETBase::Types::bitmask_t > m_useObjectFlags
Definition:
MissingETAssociationHelper.h:51
xAOD::MissingETAssociationHelper::~MissingETAssociationHelper
virtual ~MissingETAssociationHelper()
Base class destructor.
Definition:
MissingETAssociationHelper.cxx:31
MissingETAssociationMap_v1.h
xAOD::MissingETAssociationHelper::MissingETAssociationHelper
MissingETAssociationHelper()
Default constructor.
Definition:
MissingETAssociationHelper.cxx:23
xAOD::MissingETAssociationHelper::objSelected
bool objSelected(const MissingETAssociation_v1 *assoc, size_t objIdx) const
Test if object is selected for MET calculation.
Definition:
MissingETAssociationHelper.cxx:49
xAOD::MissingETAssociationHelper
Definition:
MissingETAssociationHelper.h:26
merge.status
status
Definition:
merge.py:17
xAOD::MissingETAssociationHelper::getObjSelectionFlags
MissingETBase::Types::bitmask_t getObjSelectionFlags(const MissingETAssociation_v1 *assoc) const
Return object selection bitmask for the given association.
Definition:
MissingETAssociationHelper.cxx:64
xAOD::MissingETAssociationHelper::resetObjSelectionFlags
void resetObjSelectionFlags()
Definition:
MissingETAssociationHelper.h:44
Generated on Thu Nov 7 2024 21:21:06 for ATLAS Offline Software by
1.8.18