![]() |
ATLAS Offline Software
|
This class provides an interface to deal with regions in the neighbours finding. More...
#include <LArFCAL_region.h>
Public Member Functions | |
| LArFCAL_region (void) | |
| LArFCAL_region (unsigned int &minHash, short int &nbEtaBins, short int &nPhi, float minEta, float granulEta, float minPhi, float granulPhi, bool fullSym, short int &prevEtaSamp, short int &nextEtaSamp) | |
| ~LArFCAL_region (void)=default | |
| short int | numberOfEta () const |
| number of eta bins in the whole region | |
| short int | phiN () const |
| number of phi bins | |
| float | etaGranularity () const |
| eta granularity | |
| float | phiGranularity () const |
| phi granularity | |
| bool | fullTwoPi () const |
| true if detector covers full 2pi (== wraparound option in dictionary) | |
| float | etaMin () const |
| starting eta | |
| float | etaMax () const |
| end eta | |
| float | phiMin () const |
| starting phi | |
| float | phiMax () const |
| end phi | |
| unsigned int | hashMin () const |
| hash Id of the first cell of the region | |
| unsigned int | hashMax () const |
| hash Id of the last cell of the region +1 | |
| bool | isEtaMin (const unsigned int &index) const |
| is the considered cell in the first eta bin of the region ? | |
| bool | isEtaMax (const unsigned int &index) const |
| is the considered cell in the last eta bin of the region ? | |
| bool | isPhiMin (const unsigned int &index) const |
| is the considered cell in the first phi bin of the region ? | |
| bool | isPhiMax (const unsigned int &index) const |
| is the considered cell in the last phi bin of the region ? | |
| short int | prevSamplingRegion () const |
| region number of the prev region in sampling | |
| short int | nextSamplingRegion () const |
| region number of the next region in sampling | |
Private Attributes | |
| unsigned int | m_hashMin |
| short int | m_nbEtaBins |
| short int | m_nPhi |
| float | m_minEta |
| float | m_granulEta |
| float | m_minPhi |
| float | m_granulPhi |
| bool | m_fullSym |
| short int | m_prevSampReg |
| short int | m_nextSampReg |
This class provides an interface to deal with regions in the neighbours finding.
Definition at line 19 of file LArFCAL_region.h.
| LArFCAL_region::LArFCAL_region | ( | void | ) |
Definition at line 12 of file LArFCAL_region.cxx.
| LArFCAL_region::LArFCAL_region | ( | unsigned int & | minHash, |
| short int & | nbEtaBins, | ||
| short int & | nPhi, | ||
| float | minEta, | ||
| float | granulEta, | ||
| float | minPhi, | ||
| float | granulPhi, | ||
| bool | fullSym, | ||
| short int & | prevEtaSamp, | ||
| short int & | nextEtaSamp ) |
Definition at line 26 of file LArFCAL_region.cxx.
|
default |
| float LArFCAL_region::etaGranularity | ( | ) | const |
| float LArFCAL_region::etaMax | ( | ) | const |
end eta
Definition at line 76 of file LArFCAL_region.cxx.
| float LArFCAL_region::etaMin | ( | ) | const |
| bool LArFCAL_region::fullTwoPi | ( | ) | const |
true if detector covers full 2pi (== wraparound option in dictionary)
Definition at line 66 of file LArFCAL_region.cxx.
| unsigned int LArFCAL_region::hashMax | ( | ) | const |
hash Id of the last cell of the region +1
Definition at line 96 of file LArFCAL_region.cxx.
| unsigned int LArFCAL_region::hashMin | ( | ) | const |
hash Id of the first cell of the region
Definition at line 91 of file LArFCAL_region.cxx.
| bool LArFCAL_region::isEtaMax | ( | const unsigned int & | index | ) | const |
is the considered cell in the last eta bin of the region ?
Definition at line 108 of file LArFCAL_region.cxx.
| bool LArFCAL_region::isEtaMin | ( | const unsigned int & | index | ) | const |
| bool LArFCAL_region::isPhiMax | ( | const unsigned int & | index | ) | const |
| bool LArFCAL_region::isPhiMin | ( | const unsigned int & | index | ) | const |
| short int LArFCAL_region::nextSamplingRegion | ( | ) | const |
region number of the next region in sampling
Definition at line 129 of file LArFCAL_region.cxx.
| short int LArFCAL_region::numberOfEta | ( | ) | const |
number of eta bins in the whole region
Definition at line 46 of file LArFCAL_region.cxx.
| float LArFCAL_region::phiGranularity | ( | ) | const |
| float LArFCAL_region::phiMax | ( | ) | const |
end phi
Definition at line 86 of file LArFCAL_region.cxx.
| float LArFCAL_region::phiMin | ( | ) | const |
| short int LArFCAL_region::phiN | ( | ) | const |
| short int LArFCAL_region::prevSamplingRegion | ( | ) | const |
region number of the prev region in sampling
Definition at line 134 of file LArFCAL_region.cxx.
|
private |
Definition at line 92 of file LArFCAL_region.h.
|
private |
Definition at line 89 of file LArFCAL_region.h.
|
private |
Definition at line 91 of file LArFCAL_region.h.
|
private |
Definition at line 85 of file LArFCAL_region.h.
|
private |
Definition at line 88 of file LArFCAL_region.h.
|
private |
Definition at line 90 of file LArFCAL_region.h.
|
private |
Definition at line 86 of file LArFCAL_region.h.
|
private |
Definition at line 95 of file LArFCAL_region.h.
|
private |
Definition at line 87 of file LArFCAL_region.h.
|
private |
Definition at line 94 of file LArFCAL_region.h.