ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigAlgorithms
TrigEFMissingET
src
MHTFex.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
/******************************************************************************
6
* @package Trigger/TrigAlgorithms/TrigEFMissingET
7
* @class MHTFex
8
*
9
* @brief Fex class for the basic mht algorithm
10
* @author Jon Burr
11
*****************************************************************************/
12
13
#ifndef TRIGEFMISSINGET_MHTFEX_H
14
#define TRIGEFMISSINGET_MHTFEX_H
15
16
#include "
FexBase.h
"
17
#include "
xAODJet/JetContainer.h
"
18
19
namespace
HLT
{
namespace
MET
{
20
/****************************************************************************
21
* @class MHTFex
22
*
23
* Class to create output from the mht algorithm
24
*
25
* mht calculates the MET with a sum over trigger-level jets.
26
***************************************************************************/
27
class
MHTFex
:
public
FexBase
28
{
29
public
:
31
MHTFex
(
const
std::string& name, ISvcLocator* pSvcLocator);
32
34
virtual
StatusCode
initialize
()
override
;
35
36
private
:
37
/************************************************************************
38
* Properties
39
***********************************************************************/
41
SG::ReadHandleKey<xAOD::JetContainer>
m_jetKey
{
42
this
,
"JetName"
,
"jets"
,
"Input jet colleciton"
};
43
44
Gaudi::Property<float>
m_etaSeparation
{
45
this
,
"EtaSeparation"
, 2.4,
46
"Selection on |eta| to separate the central and forward regions"
};
47
48
Gaudi::Property<float>
m_centralPtCut
{
49
this
,
"CentralPtCut"
, 0,
"pT cut for central jets"
};
50
51
Gaudi::Property<float>
m_forwardPtCut
{
52
this
,
"ForwardPtCut"
, 0,
"pT cut for forward jets"
};
53
54
/************************************************************************
55
* Internal functions
56
***********************************************************************/
63
virtual
StatusCode
fillMET
(
64
xAOD::TrigMissingET
&
met
,
65
const
EventContext& context,
66
MonGroupBuilder
& monitors)
const override
;
67
69
inline
bool
isCentral
(
const
xAOD::Jet
* ijet)
const
70
{
return
std::abs(ijet->
eta
() ) <
m_etaSeparation
; }
71
};
//> end class MHTFex
72
} }
//> end namespace HLT::MET
73
74
#endif
//> !TRIGEFMISSINGET_MHTFEX_H
FexBase.h
JetContainer.h
HLT::MET::FexBase::FexBase
FexBase(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
FexBase.cxx:43
HLT::MET::MHTFex::m_jetKey
SG::ReadHandleKey< xAOD::JetContainer > m_jetKey
Input jets.
Definition
MHTFex.h:41
HLT::MET::MHTFex::MHTFex
MHTFex(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
MHTFex.cxx:18
HLT::MET::MHTFex::fillMET
virtual StatusCode fillMET(xAOD::TrigMissingET &met, const EventContext &context, MonGroupBuilder &monitors) const override
Calculate and fill the output MET value.
Definition
MHTFex.cxx:28
HLT::MET::MHTFex::m_forwardPtCut
Gaudi::Property< float > m_forwardPtCut
Forward pT cut.
Definition
MHTFex.h:51
HLT::MET::MHTFex::isCentral
bool isCentral(const xAOD::Jet *ijet) const
Is a jet central or forward.
Definition
MHTFex.h:69
HLT::MET::MHTFex::m_etaSeparation
Gaudi::Property< float > m_etaSeparation
Eta separation.
Definition
MHTFex.h:44
HLT::MET::MHTFex::initialize
virtual StatusCode initialize() override
Initialize the fex.
Definition
MHTFex.cxx:22
HLT::MET::MHTFex::m_centralPtCut
Gaudi::Property< float > m_centralPtCut
Central pT cut.
Definition
MHTFex.h:48
HLT::MET::MonGroupBuilder
Definition
MonGroupBuilder.h:33
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
xAOD::Jet_v1::eta
virtual double eta() const
The pseudorapidity ( ) of the particle.
Definition
Jet_v1.cxx:49
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::Jet
Jet_v1 Jet
Definition of the current "jet version".
Definition
Event/xAOD/xAODJet/xAODJet/Jet.h:17
xAOD::TrigMissingET
TrigMissingET_v1 TrigMissingET
Define the most recent version of the TrigMissingET class.
Definition
Event/xAOD/xAODTrigMissingET/xAODTrigMissingET/TrigMissingET.h:12
Generated on
for ATLAS Offline Software by
1.17.0