ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Calorimeter
CaloIdentifier
src
LArHEC_region.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef LARHEC_REGION_H
6
#define LARHEC_REGION_H
7
8
9
#include <vector>
10
11
enum
{
NOT_VALID_HEC_REGION
= 63 };
12
19
20
class
LArHEC_region
21
{
22
public
:
23
24
LArHEC_region
(
void
);
25
26
LArHEC_region
(
unsigned
int
& minHash,
short
int
& nbEtaBins,
short
int
& nPhi,
27
float
minEta,
float
granulEta,
float
minPhi,
float
granulPhi,
bool
fullSym,
28
short
int
& prevEtaReg,
short
int
& nextEtaReg,
29
std::vector<short int>& prevEtaSamp, std::vector<short int>& nextEtaSamp);
30
31
~LArHEC_region
(
void
);
32
34
short
int
numberOfEta
()
const
;
35
37
short
int
phiN
()
const
;
38
40
float
etaGranularity
()
const
;
41
43
float
phiGranularity
()
const
;
44
46
bool
fullTwoPi
()
const
;
47
49
float
etaMin
()
const
;
50
52
float
etaMax
()
const
;
53
55
float
phiMin
()
const
;
56
58
float
phiMax
()
const
;
59
61
unsigned
int
hashMin
()
const
;
62
64
unsigned
int
hashMax
()
const
;
65
67
short
int
prevEtaRegion
()
const
;
68
70
short
int
nextEtaRegion
()
const
;
71
73
bool
isEtaMin
(
const
unsigned
int
&
index
)
const
;
74
76
bool
isEtaMax
(
const
unsigned
int
&
index
)
const
;
77
79
bool
isPhiMin
(
const
unsigned
int
&
index
)
const
;
80
82
bool
isPhiMax
(
const
unsigned
int
&
index
)
const
;
83
85
const
std::vector<short int>&
prevSamplingRegion
()
const
;
86
88
const
std::vector<short int>&
nextSamplingRegion
()
const
;
89
90
91
private
:
92
93
unsigned
int
m_hashMin
;
94
short
int
m_nbEtaBins
;
95
short
int
m_nPhi
;
96
float
m_minEta
;
97
float
m_granulEta
;
98
float
m_minPhi
;
99
float
m_granulPhi
;
100
bool
m_fullSym
;
101
102
short
int
m_prevEtaReg
;
103
short
int
m_nextEtaReg
;
104
std::vector<short int>
m_prevSampReg
;
105
std::vector<short int>
m_nextSampReg
;
106
107
};
108
109
#endif
// LARHEC_REGION_H
NOT_VALID_HEC_REGION
@ NOT_VALID_HEC_REGION
Definition
LArHEC_region.h:11
LArHEC_region::isEtaMax
bool isEtaMax(const unsigned int &index) const
is the considered cell in the last eta bin of the region ?
Definition
LArHEC_region.cxx:121
LArHEC_region::etaGranularity
float etaGranularity() const
eta granularity
Definition
LArHEC_region.cxx:59
LArHEC_region::isPhiMax
bool isPhiMax(const unsigned int &index) const
is the considered cell in the last phi bin of the region ?
Definition
LArHEC_region.cxx:135
LArHEC_region::prevSamplingRegion
const std::vector< short int > & prevSamplingRegion() const
region number of the prev region in sampling
Definition
LArHEC_region.cxx:147
LArHEC_region::m_nbEtaBins
short int m_nbEtaBins
Definition
LArHEC_region.h:94
LArHEC_region::m_prevEtaReg
short int m_prevEtaReg
Definition
LArHEC_region.h:102
LArHEC_region::etaMax
float etaMax() const
end eta
Definition
LArHEC_region.cxx:79
LArHEC_region::nextSamplingRegion
const std::vector< short int > & nextSamplingRegion() const
region number of the next region in sampling
Definition
LArHEC_region.cxx:142
LArHEC_region::nextEtaRegion
short int nextEtaRegion() const
region number of the next region in eta
Definition
LArHEC_region.cxx:109
LArHEC_region::m_nextEtaReg
short int m_nextEtaReg
Definition
LArHEC_region.h:103
LArHEC_region::hashMax
unsigned int hashMax() const
hash Id of the last cell of the region +1
Definition
LArHEC_region.cxx:99
LArHEC_region::m_prevSampReg
std::vector< short int > m_prevSampReg
Definition
LArHEC_region.h:104
LArHEC_region::LArHEC_region
LArHEC_region(void)
Definition
LArHEC_region.cxx:11
LArHEC_region::m_fullSym
bool m_fullSym
Definition
LArHEC_region.h:100
LArHEC_region::~LArHEC_region
~LArHEC_region(void)
LArHEC_region::m_nextSampReg
std::vector< short int > m_nextSampReg
Definition
LArHEC_region.h:105
LArHEC_region::hashMin
unsigned int hashMin() const
hash Id of the first cell of the region
Definition
LArHEC_region.cxx:94
LArHEC_region::phiMax
float phiMax() const
end phi
Definition
LArHEC_region.cxx:89
LArHEC_region::numberOfEta
short int numberOfEta() const
number of eta bins in the whole region
Definition
LArHEC_region.cxx:49
LArHEC_region::m_granulPhi
float m_granulPhi
Definition
LArHEC_region.h:99
LArHEC_region::phiMin
float phiMin() const
starting phi
Definition
LArHEC_region.cxx:84
LArHEC_region::prevEtaRegion
short int prevEtaRegion() const
region number of the previous region in eta
Definition
LArHEC_region.cxx:104
LArHEC_region::phiGranularity
float phiGranularity() const
phi granularity
Definition
LArHEC_region.cxx:64
LArHEC_region::phiN
short int phiN() const
number of phi bins
Definition
LArHEC_region.cxx:54
LArHEC_region::m_hashMin
unsigned int m_hashMin
Definition
LArHEC_region.h:93
LArHEC_region::m_nPhi
short int m_nPhi
Definition
LArHEC_region.h:95
LArHEC_region::etaMin
float etaMin() const
starting eta
Definition
LArHEC_region.cxx:74
LArHEC_region::m_minEta
float m_minEta
Definition
LArHEC_region.h:96
LArHEC_region::isPhiMin
bool isPhiMin(const unsigned int &index) const
is the considered cell in the first phi bin of the region ?
Definition
LArHEC_region.cxx:128
LArHEC_region::m_minPhi
float m_minPhi
Definition
LArHEC_region.h:98
LArHEC_region::isEtaMin
bool isEtaMin(const unsigned int &index) const
is the considered cell in the first eta bin of the region ?
Definition
LArHEC_region.cxx:114
LArHEC_region::m_granulEta
float m_granulEta
Definition
LArHEC_region.h:97
LArHEC_region::fullTwoPi
bool fullTwoPi() const
true if detector covers full 2pi (== wraparound option in dictionary)
Definition
LArHEC_region.cxx:69
index
Definition
index.py:1
Generated on
for ATLAS Offline Software by
1.17.0