ATLAS Offline Software
Loading...
Searching...
No Matches
HI::ByEtaRange Struct Reference

#include <HIEventShapeSummaryUtils.h>

Collaboration diagram for HI::ByEtaRange:

Public Member Functions

constexpr ByEtaRange (float eta_min_i, float eta_max_i)
bool operator() (const xAOD::HIEventShape *in_slice)

Public Attributes

float eta_min
float eta_max

Detailed Description

Definition at line 68 of file HIEventShapeSummaryUtils.h.

Constructor & Destructor Documentation

◆ ByEtaRange()

HI::ByEtaRange::ByEtaRange ( float eta_min_i,
float eta_max_i )
inlineconstexpr

Definition at line 72 of file HIEventShapeSummaryUtils.h.

72: eta_min(eta_min_i), eta_max(eta_max_i){};

Member Function Documentation

◆ operator()()

bool HI::ByEtaRange::operator() ( const xAOD::HIEventShape * in_slice)
inline

Definition at line 73 of file HIEventShapeSummaryUtils.h.

73{return (in_slice->etaMin() > eta_min && in_slice->etaMax() < eta_max);};
float etaMax() const
eta slice "right" edge
float etaMin() const
eta slice "left" edge

Member Data Documentation

◆ eta_max

float HI::ByEtaRange::eta_max

Definition at line 71 of file HIEventShapeSummaryUtils.h.

◆ eta_min

float HI::ByEtaRange::eta_min

Definition at line 70 of file HIEventShapeSummaryUtils.h.


The documentation for this struct was generated from the following file: