This class provides an interface to deal with regions in the neighbours finding.
More...
#include <LArFCAL_region.h>
|
| | 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
|
This class provides an interface to deal with regions in the neighbours finding.
Definition at line 19 of file LArFCAL_region.h.
◆ LArFCAL_region() [1/2]
| LArFCAL_region::LArFCAL_region |
( |
void | | ) |
|
◆ LArFCAL_region() [2/2]
| 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.
29{
30
41
42}
constexpr int nPhi
Default bin number of phi for vertex map.
◆ ~LArFCAL_region()
| LArFCAL_region::~LArFCAL_region |
( |
void | | ) |
|
|
default |
◆ etaGranularity()
| float LArFCAL_region::etaGranularity |
( |
| ) |
const |
◆ etaMax()
| float LArFCAL_region::etaMax |
( |
| ) |
const |
◆ etaMin()
| float LArFCAL_region::etaMin |
( |
| ) |
const |
◆ fullTwoPi()
| bool LArFCAL_region::fullTwoPi |
( |
| ) |
const |
true if detector covers full 2pi (== wraparound option in dictionary)
Definition at line 66 of file LArFCAL_region.cxx.
◆ hashMax()
| unsigned int LArFCAL_region::hashMax |
( |
| ) |
const |
◆ hashMin()
| unsigned int LArFCAL_region::hashMin |
( |
| ) |
const |
◆ isEtaMax()
| 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.
109{
113}
unsigned int hashMax() const
hash Id of the last cell of the region +1
◆ isEtaMin()
| bool LArFCAL_region::isEtaMin |
( |
const unsigned int & | index | ) |
const |
is the considered cell in the first eta bin of the region ?
Definition at line 101 of file LArFCAL_region.cxx.
◆ isPhiMax()
| bool LArFCAL_region::isPhiMax |
( |
const unsigned int & | index | ) |
const |
is the considered cell in the last phi bin of the region ?
Definition at line 122 of file LArFCAL_region.cxx.
◆ isPhiMin()
| bool LArFCAL_region::isPhiMin |
( |
const unsigned int & | index | ) |
const |
is the considered cell in the first phi bin of the region ?
Definition at line 115 of file LArFCAL_region.cxx.
◆ nextSamplingRegion()
| short int LArFCAL_region::nextSamplingRegion |
( |
| ) |
const |
◆ numberOfEta()
| short int LArFCAL_region::numberOfEta |
( |
| ) |
const |
◆ phiGranularity()
| float LArFCAL_region::phiGranularity |
( |
| ) |
const |
◆ phiMax()
| float LArFCAL_region::phiMax |
( |
| ) |
const |
◆ phiMin()
| float LArFCAL_region::phiMin |
( |
| ) |
const |
◆ phiN()
| short int LArFCAL_region::phiN |
( |
| ) |
const |
◆ prevSamplingRegion()
| short int LArFCAL_region::prevSamplingRegion |
( |
| ) |
const |
◆ m_fullSym
| bool LArFCAL_region::m_fullSym |
|
private |
◆ m_granulEta
| float LArFCAL_region::m_granulEta |
|
private |
◆ m_granulPhi
| float LArFCAL_region::m_granulPhi |
|
private |
◆ m_hashMin
| unsigned int LArFCAL_region::m_hashMin |
|
private |
◆ m_minEta
| float LArFCAL_region::m_minEta |
|
private |
◆ m_minPhi
| float LArFCAL_region::m_minPhi |
|
private |
◆ m_nbEtaBins
| short int LArFCAL_region::m_nbEtaBins |
|
private |
◆ m_nextSampReg
| short int LArFCAL_region::m_nextSampReg |
|
private |
◆ m_nPhi
| short int LArFCAL_region::m_nPhi |
|
private |
◆ m_prevSampReg
| short int LArFCAL_region::m_prevSampReg |
|
private |
The documentation for this class was generated from the following files: