ATLAS Offline Software
Loading...
Searching...
No Matches
Trig3VarComboHypoTool.cxx File Reference
#include "Trig3VarComboHypoTool.h"
#include "GaudiKernel/SystemOfUnits.h"
#include "TrigCompositeUtils/Combinators.h"
#include "TrigCompositeUtils/TrigCompositeUtils.h"
#include <Math/Vector4Dfwd.h>
#include <Math/Vector2D.h>
#include "xAODTrigMissingET/TrigMissingETContainer.h"
#include "FourMomUtils/xAODP4Helpers.h"
#include "AthenaMonitoringKernel/Monitored.h"
#include <algorithm>
#include <cmath>
#include <map>
#include <stdexcept>

Go to the source code of this file.

Functions

bool testLegId3varcombo (const Combo::LegDecision &d, uint32_t targetleg)
 Test function to compare decision ID with the legs to be used in var computation.

Variables

constexpr float invGeV = 1. / Gaudi::Units::GeV
const std::map< std::string, Trig3VarComboHypoTool::ComboHypoVarsVarMap

Function Documentation

◆ testLegId3varcombo()

bool testLegId3varcombo ( const Combo::LegDecision & d,
uint32_t targetleg )

Test function to compare decision ID with the legs to be used in var computation.

Definition at line 399 of file Trig3VarComboHypoTool.cxx.

399 {
400 auto combId = HLT::Identifier(d.first);
401 if(!TrigCompositeUtils::isLegId(combId)) return false;
402 return combId.numeric() == targetleg;
403}
bool isLegId(const HLT::Identifier &legIdentifier)
Recognise whether the chain ID is a leg ID.

Variable Documentation

◆ invGeV

float invGeV = 1. / Gaudi::Units::GeV
constexpr

Definition at line 22 of file Trig3VarComboHypoTool.cxx.

◆ VarMap

const std::map<std::string, Trig3VarComboHypoTool::ComboHypoVars> VarMap