ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigAlgorithms
TrigEFMissingET
src
TCFex.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 TCFex
8
*
9
* @brief Fex class for the basic topocluster algorithm
10
* @author Jon Burr
11
*****************************************************************************/
12
13
#ifndef TRIGEFMISSINGET_TCFEX_H
14
#define TRIGEFMISSINGET_TCFEX_H
15
16
#include "
FexBase.h
"
17
#include "
xAODCaloEvent/CaloClusterContainer.h
"
18
19
namespace
HLT
{
namespace
MET
{
20
/****************************************************************************
21
* @class TCFex
22
*
23
* Class to create output from the topocluster algorithm
24
*
25
* tc calculates the MET with a sum over trigger-level topoclusters.
26
***************************************************************************/
27
class
TCFex
:
public
FexBase
28
{
29
public
:
31
TCFex
(
const
std::string& name, ISvcLocator* pSvcLocator);
32
34
virtual
StatusCode
initialize
()
override
;
35
36
private
:
37
/************************************************************************
38
* Properties
39
***********************************************************************/
41
SG::ReadHandleKey<xAOD::CaloClusterContainer>
m_clusterKey
{
42
this
,
"ClusterName"
,
"clusters"
,
"Input cluster collection"
};
43
// TODO - for this next one I'm not sure what the best option is. We could
44
// keep this logic inside the algorithm, *or* we could use the approach
45
// standard within the jet slice, which is to use different cluster
46
// collections to represent the EM and LCW calibrations (therefore the
47
// differences between calibrated and uncalibrated inputs is at the
48
// configuration level).
50
Gaudi::Property<bool>
m_useUncalibrated
{
51
this
,
"UseUncalibrated"
,
false
,
52
"Whether to use the uncalibrated clusters in the calculation"
};
53
54
/************************************************************************
55
* Internal functions
56
***********************************************************************/
63
virtual
StatusCode
fillMET
(
64
xAOD::TrigMissingET
&
met
,
65
const
EventContext& context,
66
MonGroupBuilder
& monitors)
const override
;
67
};
//> end class TCFex
68
} }
//> end namespace HLT::MET
69
70
#endif
//> !TRIGEFMISSINGET_TCFEX_H
CaloClusterContainer.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::TCFex::m_useUncalibrated
Gaudi::Property< bool > m_useUncalibrated
Whether to use the uncalibrated clusters or not.
Definition
TCFex.h:50
HLT::MET::TCFex::TCFex
TCFex(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
TCFex.cxx:25
HLT::MET::TCFex::m_clusterKey
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_clusterKey
Input clusters.
Definition
TCFex.h:41
HLT::MET::TCFex::fillMET
virtual StatusCode fillMET(xAOD::TrigMissingET &met, const EventContext &context, MonGroupBuilder &monitors) const override
Calculate and fill the output MET value.
Definition
TCFex.cxx:35
HLT::MET::TCFex::initialize
virtual StatusCode initialize() override
Initialize the fex.
Definition
TCFex.cxx:29
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
Generated on
for ATLAS Offline Software by
1.17.0