ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigAlgorithms
TrigEFMissingET
src
PFSumFex.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
/******************************************************************************
6
* @package Trigger/TrigAlgorithms/TrigEFMissingET
7
* @class PFSumFex
8
*
9
* @brief Fex class for the basic PFlow algorithm
10
* @author Jon Burr
11
*****************************************************************************/
12
13
#ifndef TRIGEFMISSINGET_PFSUMFEX_H
14
#define TRIGEFMISSINGET_PFSUMFEX_H
15
16
#include "
FexBase.h
"
17
#include "
xAODBase/IParticleContainer.h
"
18
19
namespace
HLT
{
namespace
MET
{
20
/****************************************************************************
21
* @class PFSumFex
22
*
23
* Class to create output from the PFlow algorithm
24
*
25
* tc calculates the MET with a sum over trigger-level PFOs.
26
***************************************************************************/
27
class
PFSumFex
:
public
FexBase
28
{
29
public
:
31
PFSumFex
(
const
std::string& name, ISvcLocator* pSvcLocator);
32
34
virtual
StatusCode
initialize
()
override
;
35
36
private
:
37
/************************************************************************
38
* Properties
39
***********************************************************************/
41
SG::ReadHandleKey<xAOD::IParticleContainer>
m_neutralPFOKey
{
42
this
,
"NeutralPFOName"
,
"neutralPFOs"
,
"Input neutral PFO collection"
};
43
44
SG::ReadHandleKey<xAOD::IParticleContainer>
m_chargedPFOKey
{
45
this
,
"ChargedPFOName"
,
"chargedPFOs"
,
"Input charged PFO collection"
};
46
47
Gaudi::Property<bool>
m_chargedOnlyFromPV
{
48
this
,
"ChargedOnlyFromPV"
,
true
,
"Only use charged PFOs from the PV"
};
49
50
/************************************************************************
51
* Internal functions
52
***********************************************************************/
59
virtual
StatusCode
fillMET
(
60
xAOD::TrigMissingET
&
met
,
61
const
EventContext& context,
62
MonGroupBuilder
& monitors)
const override
;
63
};
//> end class PFSumFex
64
} }
//> end namespace HLT::MET
65
66
#endif
//> !TRIGEFMISSINGET_PFSUMFEX_H
FexBase.h
HLT::MET::FexBase::FexBase
FexBase(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
FexBase.cxx:43
HLT::MET::MonGroupBuilder
Definition
MonGroupBuilder.h:33
HLT::MET::PFSumFex::initialize
virtual StatusCode initialize() override
Initialize the fex.
Definition
PFSumFex.cxx:23
HLT::MET::PFSumFex::fillMET
virtual StatusCode fillMET(xAOD::TrigMissingET &met, const EventContext &context, MonGroupBuilder &monitors) const override
Calculate and fill the output MET value.
Definition
PFSumFex.cxx:30
HLT::MET::PFSumFex::PFSumFex
PFSumFex(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
PFSumFex.cxx:19
HLT::MET::PFSumFex::m_chargedPFOKey
SG::ReadHandleKey< xAOD::IParticleContainer > m_chargedPFOKey
Input charged PFOs.
Definition
PFSumFex.h:44
HLT::MET::PFSumFex::m_neutralPFOKey
SG::ReadHandleKey< xAOD::IParticleContainer > m_neutralPFOKey
Input neutral PFOs.
Definition
PFSumFex.h:41
HLT::MET::PFSumFex::m_chargedOnlyFromPV
Gaudi::Property< bool > m_chargedOnlyFromPV
Whether to only include charged PFOs that are matched to the PV vertex.
Definition
PFSumFex.h:47
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
HLT::MET
Definition
METComponent.cxx:8
HLT
It used to be useful piece of code for replacing actual SG with other store of similar functionality ...
Definition
HLTResultReader.h:26
met
Definition
IMETSignificance.h:24
xAOD::TrigMissingET
TrigMissingET_v1 TrigMissingET
Define the most recent version of the TrigMissingET class.
Definition
Event/xAOD/xAODTrigMissingET/xAODTrigMissingET/TrigMissingET.h:12
IParticleContainer.h
Generated on
for ATLAS Offline Software by
1.17.0