ATLAS Offline Software
Loading...
Searching...
No Matches
HIEventShapeIndex::range_index_t Struct Reference
Collaboration diagram for HIEventShapeIndex::range_index_t:

Public Member Functions

 range_index_t (float emin, float emax, unsigned int ii)
 range_index_t ()=default
bool operator() (float eta) const
bool operator< (const range_index_t &rhs) const

Public Attributes

float eta_min {}
float eta_max {}
unsigned int index {}

Detailed Description

Definition at line 43 of file HIEventShapeIndex.h.

Constructor & Destructor Documentation

◆ range_index_t() [1/2]

HIEventShapeIndex::range_index_t::range_index_t ( float emin,
float emax,
unsigned int ii )
inline

◆ range_index_t() [2/2]

HIEventShapeIndex::range_index_t::range_index_t ( )
default

Member Function Documentation

◆ operator()()

bool HIEventShapeIndex::range_index_t::operator() ( float eta) const
inline

Definition at line 50 of file HIEventShapeIndex.h.

51 {
52 if (eta > this->eta_min && eta < this->eta_max) return true;
53 if(eta==this->eta_min) return true;
54 return false;
55 };
Scalar eta() const
pseudorapidity method

◆ operator<()

bool HIEventShapeIndex::range_index_t::operator< ( const range_index_t & rhs) const
inline

Definition at line 56 of file HIEventShapeIndex.h.

56{return this->eta_min < rhs.eta_min;};

Member Data Documentation

◆ eta_max

float HIEventShapeIndex::range_index_t::eta_max {}

Definition at line 45 of file HIEventShapeIndex.h.

45{};

◆ eta_min

float HIEventShapeIndex::range_index_t::eta_min {}

Definition at line 44 of file HIEventShapeIndex.h.

44{};

◆ index

unsigned int HIEventShapeIndex::range_index_t::index {}

Definition at line 46 of file HIEventShapeIndex.h.

46{};

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