![]() |
ATLAS Offline Software
|
This class provides an interface to deal with regions in the neighbours finding. More...
#include <LArHEC_region.h>
Public Member Functions | |
| LArHEC_region (void) | |
| LArHEC_region (unsigned int &minHash, short int &nbEtaBins, short int &nPhi, float minEta, float granulEta, float minPhi, float granulPhi, bool fullSym, short int &prevEtaReg, short int &nextEtaReg, std::vector< short int > &prevEtaSamp, std::vector< short int > &nextEtaSamp) | |
| ~LArHEC_region (void) | |
| 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 | |
| short int | prevEtaRegion () const |
| region number of the previous region in eta | |
| short int | nextEtaRegion () const |
| region number of the next region in eta | |
| 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 ? | |
| const std::vector< short int > & | prevSamplingRegion () const |
| region number of the prev region in sampling | |
| const std::vector< 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_prevEtaReg |
| short int | m_nextEtaReg |
| std::vector< short int > | m_prevSampReg |
| std::vector< short int > | m_nextSampReg |
This class provides an interface to deal with regions in the neighbours finding.
Definition at line 20 of file LArHEC_region.h.
| LArHEC_region::LArHEC_region | ( | void | ) |
Definition at line 11 of file LArHEC_region.cxx.
| LArHEC_region::LArHEC_region | ( | unsigned int & | minHash, |
| short int & | nbEtaBins, | ||
| short int & | nPhi, | ||
| float | minEta, | ||
| float | granulEta, | ||
| float | minPhi, | ||
| float | granulPhi, | ||
| bool | fullSym, | ||
| short int & | prevEtaReg, | ||
| short int & | nextEtaReg, | ||
| std::vector< short int > & | prevEtaSamp, | ||
| std::vector< short int > & | nextEtaSamp ) |
Definition at line 25 of file LArHEC_region.cxx.
|
default |
| float LArHEC_region::etaGranularity | ( | ) | const |
| float LArHEC_region::etaMax | ( | ) | const |
end eta
Definition at line 79 of file LArHEC_region.cxx.
| float LArHEC_region::etaMin | ( | ) | const |
| bool LArHEC_region::fullTwoPi | ( | ) | const |
true if detector covers full 2pi (== wraparound option in dictionary)
Definition at line 69 of file LArHEC_region.cxx.
| unsigned int LArHEC_region::hashMax | ( | ) | const |
hash Id of the last cell of the region +1
Definition at line 99 of file LArHEC_region.cxx.
| unsigned int LArHEC_region::hashMin | ( | ) | const |
hash Id of the first cell of the region
Definition at line 94 of file LArHEC_region.cxx.
| bool LArHEC_region::isEtaMax | ( | const unsigned int & | index | ) | const |
is the considered cell in the last eta bin of the region ?
Definition at line 121 of file LArHEC_region.cxx.
| bool LArHEC_region::isEtaMin | ( | const unsigned int & | index | ) | const |
| bool LArHEC_region::isPhiMax | ( | const unsigned int & | index | ) | const |
| bool LArHEC_region::isPhiMin | ( | const unsigned int & | index | ) | const |
| short int LArHEC_region::nextEtaRegion | ( | ) | const |
region number of the next region in eta
Definition at line 109 of file LArHEC_region.cxx.
| const std::vector< short int > & LArHEC_region::nextSamplingRegion | ( | ) | const |
region number of the next region in sampling
Definition at line 142 of file LArHEC_region.cxx.
| short int LArHEC_region::numberOfEta | ( | ) | const |
number of eta bins in the whole region
Definition at line 49 of file LArHEC_region.cxx.
| float LArHEC_region::phiGranularity | ( | ) | const |
| float LArHEC_region::phiMax | ( | ) | const |
end phi
Definition at line 89 of file LArHEC_region.cxx.
| float LArHEC_region::phiMin | ( | ) | const |
| short int LArHEC_region::phiN | ( | ) | const |
| short int LArHEC_region::prevEtaRegion | ( | ) | const |
region number of the previous region in eta
Definition at line 104 of file LArHEC_region.cxx.
| const std::vector< short int > & LArHEC_region::prevSamplingRegion | ( | ) | const |
region number of the prev region in sampling
Definition at line 147 of file LArHEC_region.cxx.
|
private |
Definition at line 100 of file LArHEC_region.h.
|
private |
Definition at line 97 of file LArHEC_region.h.
|
private |
Definition at line 99 of file LArHEC_region.h.
|
private |
Definition at line 93 of file LArHEC_region.h.
|
private |
Definition at line 96 of file LArHEC_region.h.
|
private |
Definition at line 98 of file LArHEC_region.h.
|
private |
Definition at line 94 of file LArHEC_region.h.
|
private |
Definition at line 103 of file LArHEC_region.h.
|
private |
Definition at line 105 of file LArHEC_region.h.
|
private |
Definition at line 95 of file LArHEC_region.h.
|
private |
Definition at line 102 of file LArHEC_region.h.
|
private |
Definition at line 104 of file LArHEC_region.h.