ATLAS Offline Software
|
class to implement a L1 threshold cut that varies with eta More...
#include <L1ThresholdBase.h>
Classes | |
class | RangeValue |
Public Types | |
typedef std::vector< RangeValue >::const_iterator | const_iterator |
Public Member Functions | |
ValueWithEtaDependence (const std::string &name) | |
const std::string & | name () const |
bool | empty () const |
size_t | size () const |
const T & | at (int eta) const |
std::optional< std::reference_wrapper< const T > > | outsideRangeValue () const |
const_iterator | begin () const noexcept |
const_iterator | end () const noexcept |
void | addRangeValue (const T &value, int etaMin, int etaMax, unsigned int priority, bool symmetric=true) |
void | setOutsideRangeValue (const T &value) |
Private Attributes | |
const std::string | m_name {""} |
std::vector< RangeValue > | m_rangeValues {} |
std::optional< T > | m_outsideRangeValue {std::nullopt} |
class to implement a L1 threshold cut that varies with eta
A vector of RangeValue objects describes this eta dependence. Each entry has an eta-range and a corresponding cut value. Overlapping ranges are resolved by looking at the priority (larger wins)
Use case: for instance the L1 EM thresholds change as a function of eta.
Definition at line 35 of file L1ThresholdBase.h.
typedef std::vector<RangeValue>::const_iterator TrigConf::ValueWithEtaDependence< T >::const_iterator |
Definition at line 52 of file L1ThresholdBase.h.
|
inline |
Definition at line 53 of file L1ThresholdBase.h.
void TrigConf::ValueWithEtaDependence< T >::addRangeValue | ( | const T & | value, |
int | etaMin, | ||
int | etaMax, | ||
unsigned int | priority, | ||
bool | symmetric = true |
||
) |
const T& TrigConf::ValueWithEtaDependence< T >::at | ( | int | eta | ) | const |
|
noexcept |
bool TrigConf::ValueWithEtaDependence< T >::empty | ( | ) | const |
|
noexcept |
|
inline |
Definition at line 54 of file L1ThresholdBase.h.
std::optional<std::reference_wrapper<const T> > TrigConf::ValueWithEtaDependence< T >::outsideRangeValue | ( | ) | const |
void TrigConf::ValueWithEtaDependence< T >::setOutsideRangeValue | ( | const T & | value | ) |
size_t TrigConf::ValueWithEtaDependence< T >::size | ( | ) | const |
|
private |
Definition at line 64 of file L1ThresholdBase.h.
|
private |
Definition at line 66 of file L1ThresholdBase.h.
|
private |
Definition at line 65 of file L1ThresholdBase.h.