13#ifndef TRIGEFMISSINGET_FEXBASE_H
14#define TRIGEFMISSINGET_FEXBASE_H 1
18#include "Gaudi/Property.h"
20#include "GaudiKernel/SystemOfUnits.h"
27namespace HLT {
namespace MET {
38 FexBase(
const std::string& name, ISvcLocator* pSvcLocator);
41 virtual StatusCode
execute(
const EventContext& context)
const override;
65 const std::vector<std::string>& componentNames);
80 const EventContext& context,
104 this,
"METContainerKey",
"HLT_MET",
"Name of the output MET object"};
107 this,
"MonTool",
"",
"Monitoring tool"};
109 "MaxComponentMETSumEtRatio", 1.,
110 "The maximum MET/SumEt ratio per component"};
112 "MaxGlobalMETSumEtRatio", 1.,
113 "The maximum MET/SumEt ratio for the total value"};
An algorithm that can be simultaneously executed in multiple threads.
virtual StatusCode flagMET(xAOD::TrigMissingET &met) const
Flag suspicious values in the output MET.
std::vector< std::string > m_componentNames
The names of the output MET components.
bool m_baseInitialised
Whether or not this class has been correctly initialised.
ToolHandle< GenericMonitoringTool > m_monTool
The monitoring tool.
Gaudi::Property< float > m_maxGlobalMETSumEtRatio
FexBase(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
virtual StatusCode fillMET(xAOD::TrigMissingET &met, const EventContext &context, MonGroupBuilder &monitors) const =0
Calculate and fill the output MET value.
virtual StatusCode execute(const EventContext &context) const override
Run the algorithm.
Gaudi::Property< float > m_maxComponentMETSumEtRatio
SG::WriteHandleKey< xAOD::TrigMissingETContainer > m_metContainerKey
The output MET object.
StatusCode initializeBase(const std::vector< std::string > &componentNames)
Initialize the base class.
virtual StatusCode monitor(const xAOD::TrigMissingET &met, MonGroupBuilder &monitors) const
Add monitor variables from an xAOD::TrigMissingET object.
Property holding a SG store/key/clid from which a WriteHandle 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.