14#ifndef TRIGEFMISSINGET_MHTPUFITFEX_H
15#define TRIGEFMISSINGET_MHTPUFITFEX_H
23#include "Gaudi/Property.h"
24#include "GaudiKernel/SystemOfUnits.h"
40 MHTPufitFex(
const std::string &name, ISvcLocator *pSvcLocator);
51 this,
"InputJetsName",
"",
"The input jet container"};
54 this,
"InputJvtName",
"Jvt",
"The input JVT name"};
57 this,
"InputName",
"",
"The input clusters or PFOs"};
59 this,
"JetCalibIncludesAreaSub",
true,
60 "Whether the calibration applied to the jets includes area subtraction"};
62 this,
"JetEventShapeName",
"",
63 "The name of the event shape container for the area correction"};
66 this,
"NSigma", 5,
"Set the threshold at mean + NSigma*variance"};
69 this,
"MaxEta", 5,
"The maximum eta range"};
72 this,
"NEtaBins", 14,
"The number of eta bins"};
74 this,
"NPhiBins", 8,
"The number of phi bins"};
77 this,
"TrimFraction", 0.9,
78 "The fraction of bins to use when calculating the mean and variance"};
81 this,
"CaloNoise", 50,
82 "The coefficient of the noise term in the calorimeter resolution estimate [MeV]"};
85 this,
"CaloStochastic", 15.81,
86 "The coefficient of the stochastic term in the calorimeter resolution estimate [MeV^1/2]"};
89 this,
"ConstraintImportance", 1,
90 "The relative importance of the two constraints to the fit"};
93 this,
"JvtCut", 0.59,
"The JVT selection in the central region"};
95 this,
"MinPt", 20*Gaudi::Units::GeV,
"The minimum pT (in the central region)"};
97 this,
"MaxPt", 120*Gaudi::Units::GeV,
98 "The maximum pT (in the central region), above which the JVT selection is not applied"};
100 this,
"ForwardPt", 30*Gaudi::Units::GeV,
"The minimum pt in the forward region"};
102 this,
"CentralEta", 2.4,
"The boundary between the central and border regions"};
104 this,
"UseDetectorEta",
true,
"Whether to use the 'DectectorEta' value to select central/forward jets"};
116 const EventContext &context,
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
FexBase(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Gaudi::Property< float > m_minPt
virtual StatusCode initialize() override
Initialize the fex.
Gaudi::Property< bool > m_useDetectorEta
virtual StatusCode fillMET(xAOD::TrigMissingET &met, const EventContext &context, MonGroupBuilder &monitors) const override
Calculate and fill the output MET value.
Gaudi::Property< bool > m_jetCalibIncludesAreaSub
Gaudi::Property< float > m_trimFraction
The trimming fraction.
Gaudi::Property< float > m_nSigma
The sigma threshold.
Gaudi::Property< float > m_caloStoch
The coefficient of the stochastic term in the calo resolution estimate.
Gaudi::Property< float > m_forwardPt
Gaudi::Property< float > m_centralEta
Gaudi::Property< float > m_caloNoise
The coefficient of the noise term in the calo resolution estimate.
Gaudi::Property< float > m_constraintImportance
The relative constraint importance.
SG::ReadDecorHandleKey< xAOD::JetContainer > m_inputJvtKey
The input JVT decoration.
SG::ReadHandleKey< xAOD::EventShape > m_rhoKey
SG::ReadHandleKey< xAOD::IParticleContainer > m_inputKey
The input clusters or PFOs.
Gaudi::Property< float > m_maxEta
The eta range of the grid.
Gaudi::Property< std::size_t > m_nPhiBins
Gaudi::Property< std::size_t > m_nEtaBins
The number of bins in eta.
Gaudi::Property< float > m_jvtCut
double getSigma(const SignedKinematics &kin) const
Calculate the estimate on the variance of a tower.
MHTPufitFex(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
SG::ReadHandleKey< xAOD::JetContainer > m_inputJetsKey
Input objects.
Gaudi::Property< float > m_maxPt
Class to describe the kinematics of an object that can have negative energies.
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Property holding a SG store/key/clid from which a ReadHandle is made.
It used to be useful piece of code for replacing actual SG with other store of similar functionality ...
TrigMissingET_v1 TrigMissingET
Define the most recent version of the TrigMissingET class.