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

Definition at line 49 of file HIEventShapeIndex.h.

49 : eta_min(emin), eta_max(emax),index(ii) {};

◆ 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 51 of file HIEventShapeIndex.h.

52  {
53  if (eta > this->eta_min && eta < this->eta_max) return true;
54  if(eta==this->eta_min) return true;
55  return false;
56  };

◆ operator<()

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

Definition at line 57 of file HIEventShapeIndex.h.

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

Member Data Documentation

◆ eta_max

float HIEventShapeIndex::range_index_t::eta_max

Definition at line 46 of file HIEventShapeIndex.h.

◆ eta_min

float HIEventShapeIndex::range_index_t::eta_min

Definition at line 45 of file HIEventShapeIndex.h.

◆ index

unsigned int HIEventShapeIndex::range_index_t::index

Definition at line 47 of file HIEventShapeIndex.h.


The documentation for this struct was generated from the following file:
eta
Scalar eta() const
pseudorapidity method
Definition: AmgMatrixBasePlugin.h:83
HIEventShapeIndex::range_index_t::eta_min
float eta_min
Definition: HIEventShapeIndex.h:45
HIEventShapeIndex::range_index_t::eta_max
float eta_max
Definition: HIEventShapeIndex.h:46
HIEventShapeIndex::range_index_t::index
unsigned int index
Definition: HIEventShapeIndex.h:47