ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigAlgorithms
TrigEFMissingET
src
TCPufitFex.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 TCPufitFex
8
*
9
* @brief Fex class for the (tc) pufit algorithm
10
* @author Jon Burr
11
*****************************************************************************/
12
13
#ifndef TRIGEFMISSINGET_TCPUFITFEX_H
14
#define TRIGEFMISSINGET_TCPUFITFEX_H
15
16
#include "
FexBase.h
"
17
#include "
xAODCaloEvent/CaloClusterContainer.h
"
18
19
namespace
HLT
{
namespace
MET
{
20
/****************************************************************************
21
* @class TCPufitFex
22
*
23
* Class to calculate MET using the pufit algorithm
24
*
25
* pufit calculates the MET with a sum over trigger-level topoclusters,
26
* applying a fitting procedure to estimate the contribution from pileup.
27
***************************************************************************/
28
class
TCPufitFex
:
public
FexBase
29
{
30
public
:
32
TCPufitFex
(
const
std::string& name, ISvcLocator* pSvcLocator);
33
35
virtual
StatusCode
initialize
()
override
;
36
37
private
:
38
/************************************************************************
39
* Properties
40
***********************************************************************/
42
SG::ReadHandleKey<xAOD::CaloClusterContainer>
m_clusterKey
{
43
this
,
"ClusterName"
,
"clusters"
,
"Input cluster collection"
};
44
45
Gaudi::Property<float>
m_nSigma
{
46
this
,
"NSigma"
, 5,
"Set the threshold at mean + NSigma*variance"
};
47
48
Gaudi::Property<float>
m_maxEta
{
49
this
,
"MaxEta"
, 5,
"The maximum eta range"
};
50
51
Gaudi::Property<std::size_t>
m_nEtaBins
{
52
this
,
"NEtaBins"
, 14,
"The number of eta bins"
};
53
54
Gaudi::Property<std::size_t>
m_nPhiBins
{
55
this
,
"NPhiBins"
, 8,
"The number of phi bins"
};
56
57
Gaudi::Property<float>
m_trimFraction
{
58
this
,
"TrimFraction"
, 0.9,
59
"The fraction of bins to use when calculating the mean and variance"
};
60
61
Gaudi::Property<float>
m_caloNoise
{
62
this
,
"CaloNoise"
, 50,
"The coefficient of the noise term in the "
63
"calorimeter resolution estimate [MeV]"
};
64
65
Gaudi::Property<float>
m_caloStoch
{
66
this
,
"CaloStochastic"
, 15.81,
"The coefficient of the stochastic "
67
"term in the calorimeter resolution estimate [MeV^1/2]"
};
68
69
Gaudi::Property<float>
m_constraintImportance
{
70
this
,
"ConstraintImportance"
, 1,
71
"The relative importance of the two constraints to the fit"
};
72
73
/************************************************************************
74
* Internal functions
75
***********************************************************************/
82
virtual
StatusCode
fillMET
(
83
xAOD::TrigMissingET
&
met
,
84
const
EventContext& context,
85
MonGroupBuilder
& monitors)
const override
;
86
};
//> end class TCPufitFex
87
} }
//> end namespace HLT::MET
88
#endif
//> !TRIGEFMISSINGET_TCPUFITFEX_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::TCPufitFex::m_nSigma
Gaudi::Property< float > m_nSigma
The sigma threshold.
Definition
TCPufitFex.h:45
HLT::MET::TCPufitFex::fillMET
virtual StatusCode fillMET(xAOD::TrigMissingET &met, const EventContext &context, MonGroupBuilder &monitors) const override
Calculate and fill the output MET value.
Definition
TCPufitFex.cxx:32
HLT::MET::TCPufitFex::TCPufitFex
TCPufitFex(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
TCPufitFex.cxx:22
HLT::MET::TCPufitFex::m_caloNoise
Gaudi::Property< float > m_caloNoise
The coefficient of the noise term in the calo resolution estimate.
Definition
TCPufitFex.h:61
HLT::MET::TCPufitFex::m_constraintImportance
Gaudi::Property< float > m_constraintImportance
The relative constraint importance.
Definition
TCPufitFex.h:69
HLT::MET::TCPufitFex::m_nEtaBins
Gaudi::Property< std::size_t > m_nEtaBins
The number of bins in eta.
Definition
TCPufitFex.h:51
HLT::MET::TCPufitFex::m_maxEta
Gaudi::Property< float > m_maxEta
The eta range of the grid.
Definition
TCPufitFex.h:48
HLT::MET::TCPufitFex::m_clusterKey
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_clusterKey
Input clusters.
Definition
TCPufitFex.h:42
HLT::MET::TCPufitFex::m_caloStoch
Gaudi::Property< float > m_caloStoch
The coefficient of the stochastic term in the calo resolution estimate.
Definition
TCPufitFex.h:65
HLT::MET::TCPufitFex::m_trimFraction
Gaudi::Property< float > m_trimFraction
The trimming fraction.
Definition
TCPufitFex.h:57
HLT::MET::TCPufitFex::m_nPhiBins
Gaudi::Property< std::size_t > m_nPhiBins
The number of bins in phi.
Definition
TCPufitFex.h:54
HLT::MET::TCPufitFex::initialize
virtual StatusCode initialize() override
Initialize the fex.
Definition
TCPufitFex.cxx:26
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