|
ATLAS Offline Software
|
Go to the documentation of this file.
6 #include "CaloDetDescr/CaloDetDescrElement.h"
8 #include "Identifier/Identifier.h"
37 m_globTobVarMap.insert({
"gMETComponentsNoiseCut", {
"METx_NoiseCut",
"METy_NoiseCut"}});
38 m_globTobVarMap.insert({
"gMETComponentsRms", {
"METx_Rms",
"METy_Rms"}});
39 m_globTobVarMap.insert({
"gScalarENoiseCut", {
"gFexMet_NoiseCut",
"gFexSumEt_NoiseCut"}});
40 m_globTobVarMap.insert({
"gScalarERms", {
"gFexMet_Rms",
"gFexSumEt_Rms"}});
68 if ( !rhoContainer.
isValid() ) {
81 if ( !globalTobContainer.
isValid() ) {
89 return StatusCode::SUCCESS;
95 std::string histNameExt = ptCutValue != -1. ? (std::string(
"_CutPt") +
std::to_string(
int(ptCutValue))) :
"";
120 if(jetPt > ptCutValue){
144 return StatusCode::SUCCESS;
150 gFexRhoeT=gFexRhoRoI->gFexTobEt();
153 return StatusCode::SUCCESS;
158 std::pair<std::string, std::string> varNames;
160 if (handleKey.find(
key) != std::string::npos) {
169 varOne = globRoI->METquantityOne();
170 varTwo = globRoI->METquantityTwo();
173 return StatusCode::SUCCESS;
virtual StatusCode fillHistograms(const EventContext &ctx) const override
adds event to the monitoring histograms
const_pointer_type cptr()
Dereference the pointer.
float eta() const
retrieves the Eta index from the 32-bit word
GfexMonitorAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Scalar eta() const
pseudorapidity method
Class describing properties of a LVL1 gFEX global Trigger Object (TOB) in the xAOD format.
SG::ReadHandleKeyArray< xAOD::gFexJetRoIContainer > m_gFexJetTobKeyList
int16_t gFexTobEt() const
TOB ET (decoded from TOB, stored for convenience)
void renounceArray(SG::VarHandleKeyArray &handlesArray)
remove all handles from I/O resolution
Definition of CaloDetDescrManager.
SG::ReadHandleKeyArray< xAOD::gFexJetRoIContainer > m_gFexRhoTobKeyList
SG::ReadHandleKeyArray< xAOD::gFexGlobalRoIContainer > m_gFexGlobalTobKeyList
Base class for Athena Monitoring Algorithms.
float phi() const
High value of phi corresponding to phi index (using gFex convention, phi in [0, 2pi]).
virtual StatusCode initialize() override
initialize
::StatusCode StatusCode
StatusCode definition for legacy code.
Class describing properties of a LVL1 gFEX jet Trigger Object (TOB) in the xAOD format.
int gFexType() const
retrieves the Saturated info from the 32-bit word
void fill(const ToolHandle< GenericMonitoringTool > &groupHandle, std::vector< std::reference_wrapper< Monitored::IMonitoredVariable >> &&variables) const
Fills a vector of variables to a group by reference.
StatusCode fillRhoHistograms(const std::string &handleKey, const xAOD::gFexJetRoIContainer *container) const
std::map< std::string, std::pair< std::string, std::string > > m_globTobVarMap
StatusCode fillGlobalTobHistograms(const std::string &handleKey, const xAOD::gFexGlobalRoIContainer *container) const
virtual bool isValid() override final
Can the handle be successfully dereferenced?
FloatArrayProperty m_ptCutValues
gFexJetRoI_v1 gFexJetRoI
Define the latest version of the gFexJetRoI class.
std::string to_string(const DetectorType &type)
StatusCode fillJetHistograms(const std::string &handleKey, const xAOD::gFexJetRoIContainer *container, const float &ptCutValue) const
virtual StatusCode initialize() override
initialize
#define ATH_MSG_WARNING(x)
StringProperty m_packageName
FPGAType getFPGAType(const float &eta) const
Declare a monitored scalar variable.