This class provides an interface to deal with regions in the neighbours finding.
More...
#include <LArHEC_region.h>
|
| | 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
|
This class provides an interface to deal with regions in the neighbours finding.
Definition at line 20 of file LArHEC_region.h.
◆ LArHEC_region() [1/2]
| LArHEC_region::LArHEC_region |
( |
void | | ) |
|
◆ LArHEC_region() [2/2]
| 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.
41{
42
43
44}
std::vector< short int > m_prevSampReg
std::vector< short int > m_nextSampReg
◆ ~LArHEC_region()
| LArHEC_region::~LArHEC_region |
( |
void | | ) |
|
|
default |
◆ etaGranularity()
| float LArHEC_region::etaGranularity |
( |
| ) |
const |
◆ etaMax()
| float LArHEC_region::etaMax |
( |
| ) |
const |
◆ etaMin()
| float LArHEC_region::etaMin |
( |
| ) |
const |
◆ fullTwoPi()
| bool LArHEC_region::fullTwoPi |
( |
| ) |
const |
true if detector covers full 2pi (== wraparound option in dictionary)
Definition at line 69 of file LArHEC_region.cxx.
◆ hashMax()
| unsigned int LArHEC_region::hashMax |
( |
| ) |
const |
◆ hashMin()
| unsigned int LArHEC_region::hashMin |
( |
| ) |
const |
◆ isEtaMax()
| 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.
122{
126}
unsigned int hashMax() const
hash Id of the last cell of the region +1
◆ isEtaMin()
| bool LArHEC_region::isEtaMin |
( |
const unsigned int & | index | ) |
const |
is the considered cell in the first eta bin of the region ?
Definition at line 114 of file LArHEC_region.cxx.
◆ isPhiMax()
| bool LArHEC_region::isPhiMax |
( |
const unsigned int & | index | ) |
const |
is the considered cell in the last phi bin of the region ?
Definition at line 135 of file LArHEC_region.cxx.
◆ isPhiMin()
| bool LArHEC_region::isPhiMin |
( |
const unsigned int & | index | ) |
const |
is the considered cell in the first phi bin of the region ?
Definition at line 128 of file LArHEC_region.cxx.
◆ nextEtaRegion()
| short int LArHEC_region::nextEtaRegion |
( |
| ) |
const |
◆ nextSamplingRegion()
| const std::vector< short int > & LArHEC_region::nextSamplingRegion |
( |
| ) |
const |
◆ numberOfEta()
| short int LArHEC_region::numberOfEta |
( |
| ) |
const |
◆ phiGranularity()
| float LArHEC_region::phiGranularity |
( |
| ) |
const |
◆ phiMax()
| float LArHEC_region::phiMax |
( |
| ) |
const |
◆ phiMin()
| float LArHEC_region::phiMin |
( |
| ) |
const |
◆ phiN()
| short int LArHEC_region::phiN |
( |
| ) |
const |
◆ prevEtaRegion()
| short int LArHEC_region::prevEtaRegion |
( |
| ) |
const |
◆ prevSamplingRegion()
| const std::vector< short int > & LArHEC_region::prevSamplingRegion |
( |
| ) |
const |
◆ m_fullSym
| bool LArHEC_region::m_fullSym |
|
private |
◆ m_granulEta
| float LArHEC_region::m_granulEta |
|
private |
◆ m_granulPhi
| float LArHEC_region::m_granulPhi |
|
private |
◆ m_hashMin
| unsigned int LArHEC_region::m_hashMin |
|
private |
◆ m_minEta
| float LArHEC_region::m_minEta |
|
private |
◆ m_minPhi
| float LArHEC_region::m_minPhi |
|
private |
◆ m_nbEtaBins
| short int LArHEC_region::m_nbEtaBins |
|
private |
◆ m_nextEtaReg
| short int LArHEC_region::m_nextEtaReg |
|
private |
◆ m_nextSampReg
| std::vector<short int> LArHEC_region::m_nextSampReg |
|
private |
◆ m_nPhi
| short int LArHEC_region::m_nPhi |
|
private |
◆ m_prevEtaReg
| short int LArHEC_region::m_prevEtaReg |
|
private |
◆ m_prevSampReg
| std::vector<short int> LArHEC_region::m_prevSampReg |
|
private |
The documentation for this class was generated from the following files: