ATLAS Offline Software
Loading...
Searching...
No Matches
TrigComboHypoTool.cxx File Reference
#include "TrigComboHypoTool.h"
#include "GaudiKernel/SystemOfUnits.h"
#include "TrigCompositeUtils/Combinators.h"
#include "TrigCompositeUtils/TrigCompositeUtils.h"
#include <Math/Vector4D.h>
#include <Math/Vector4Dfwd.h>
#include <Math/Vector2D.h>
#include <Math/Vector2Dfwd.h>
#include "xAODTrigMissingET/TrigMissingETContainer.h"
#include "FourMomUtils/xAODP4Helpers.h"
#include <algorithm>
#include <cmath>

Go to the source code of this file.

Functions

bool testLegId (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, TrigComboHypoTool::ComboHypoVarsVarMap

Function Documentation

◆ testLegId()

bool testLegId ( 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 385 of file TrigComboHypoTool.cxx.

385 {
386 auto combId = HLT::Identifier(d.first);
387 if(!TrigCompositeUtils::isLegId(combId)) return false;
388 return combId.numeric() == targetleg;
389}
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 21 of file TrigComboHypoTool.cxx.

◆ VarMap