ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
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()

constexpr 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);};

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:
xAOD::HIEventShape_v2::etaMin
float etaMin() const
eta slice "left" edge
HI::ByEtaRange::eta_min
float eta_min
Definition: HIEventShapeSummaryUtils.h:70
xAOD::HIEventShape_v2::etaMax
float etaMax() const
eta slice "right" edge
HI::ByEtaRange::eta_max
float eta_max
Definition: HIEventShapeSummaryUtils.h:71