Project
Loading...
Searching...
No Matches
o2::emcal::EnergyIntervals Class Reference

#include <EMCALChannelScaleFactors.h>

Public Member Functions

 EnergyIntervals ()=default
 
 EnergyIntervals (float min, float max)
 
 ~EnergyIntervals ()=default
 
void setEnergy (float min, float max)
 
bool isInInterval (float E) const
 
bool operator== (const EnergyIntervals &other) const
 declare operator ==, !=, <, >
 
bool operator!= (const EnergyIntervals &other) const
 
bool operator< (const EnergyIntervals &other) const
 
bool operator> (const EnergyIntervals &other) const
 

Detailed Description

Definition at line 56 of file EMCALChannelScaleFactors.h.

Constructor & Destructor Documentation

◆ EnergyIntervals() [1/2]

o2::emcal::EnergyIntervals::EnergyIntervals ( )
default

◆ EnergyIntervals() [2/2]

o2::emcal::EnergyIntervals::EnergyIntervals ( float  min,
float  max 
)
inline

Definition at line 60 of file EMCALChannelScaleFactors.h.

◆ ~EnergyIntervals()

o2::emcal::EnergyIntervals::~EnergyIntervals ( )
default

Member Function Documentation

◆ isInInterval()

bool o2::emcal::EnergyIntervals::isInInterval ( float  E) const
inline

Check if the energy is in the energy interval

Parameters
energyThe energy to check
Returns
True if the energy is in the energy interval

Definition at line 78 of file EMCALChannelScaleFactors.h.

◆ operator!=()

bool o2::emcal::EnergyIntervals::operator!= ( const EnergyIntervals other) const
inline

Definition at line 97 of file EMCALChannelScaleFactors.h.

◆ operator<()

bool o2::emcal::EnergyIntervals::operator< ( const EnergyIntervals other) const
inline

Definition at line 105 of file EMCALChannelScaleFactors.h.

◆ operator==()

bool o2::emcal::EnergyIntervals::operator== ( const EnergyIntervals other) const
inline

declare operator ==, !=, <, >

Definition at line 89 of file EMCALChannelScaleFactors.h.

◆ operator>()

bool o2::emcal::EnergyIntervals::operator> ( const EnergyIntervals other) const
inline

Definition at line 113 of file EMCALChannelScaleFactors.h.

◆ setEnergy()

void o2::emcal::EnergyIntervals::setEnergy ( float  min,
float  max 
)
inline

Set the energy interval

Parameters
minThe lower bound of the energy interval
maxThe upper bound of the energy interval

Definition at line 70 of file EMCALChannelScaleFactors.h.


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