Main Page
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
o
p
q
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
_
a
d
e
f
l
m
o
p
s
t
u
v
Related Functions
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Package Documentation
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
DataFormats
ForwardDetId
src
HFNoseDetIdToModule.cc
Go to the documentation of this file.
1
#include "
DataFormats/ForwardDetId/interface/HFNoseDetIdToModule.h
"
2
3
HFNoseDetIdToModule::HFNoseDetIdToModule
() {}
4
5
std::vector<HFNoseDetId>
HFNoseDetIdToModule::getDetIds
(
HFNoseDetId
const
&
id
)
const
{
6
std::vector<HFNoseDetId> ids;
7
int
nCells
= (
id
.type() == 0) ?
HFNoseDetId::HFNoseFineN
:
HFNoseDetId::HFNoseCoarseN
;
8
for
(
int
u = 0; u < 2 *
nCells
; ++u) {
9
for
(
int
v
= 0;
v
< 2 *
nCells
; ++
v
) {
10
if
(((
v
- u) <
nCells
) && (u -
v
) <=
nCells
) {
11
HFNoseDetId
newId(
id
.
zside
(),
id
.
type
(),
id
.
layer
(),
id
.
waferU
(),
id
.
waferV
(), u,
v
);
12
ids.emplace_back(newId);
13
}
14
}
15
}
16
return
ids;
17
}
18
19
std::vector<HFNoseTriggerDetId>
HFNoseDetIdToModule::getTriggerDetIds
(
HFNoseDetId
const
&
id
)
const
{
20
std::vector<HFNoseTriggerDetId> ids;
21
int
nCells
=
HFNoseDetId::HFNoseFineN
/
HFNoseDetId::HFNoseFineTrigger
;
22
for
(
int
u = 0; u < 2 *
nCells
; ++u) {
23
for
(
int
v
= 0;
v
< 2 *
nCells
; ++
v
) {
24
if
(((
v
- u) <
nCells
) && (u -
v
) <=
nCells
) {
25
HFNoseTriggerDetId
newId(
HFNoseTrigger
,
id
.
zside
(),
id
.
type
(),
id
.
layer
(),
id
.
waferU
(),
id
.
waferV
(), u,
v
);
26
ids.emplace_back(newId);
27
}
28
}
29
}
30
return
ids;
31
}
ecaldqm::zside
int zside(DetId const &)
Definition:
EcalDQMCommonUtils.cc:189
HGCalWaferIndex::waferU
int32_t waferU(const int32_t index)
Definition:
HGCalWaferIndex.cc:27
HFNoseDetIdToModule.h
findQualityFiles.v
v
Definition:
findQualityFiles.py:179
nCells
const caConstants::TupleMultiplicity const CAHitNtupletGeneratorKernelsGPU::HitToTuple cms::cuda::AtomicPairCounter const GPUCACell *__restrict__ const uint32_t *__restrict__ nCells
Definition:
CAHitNtupletGeneratorKernelsImpl.h:43
HFNoseDetId
Definition:
HFNoseDetId.h:22
HFNoseTriggerDetId
Definition:
HFNoseTriggerDetId.h:26
HFNoseDetIdToModule::getDetIds
std::vector< HFNoseDetId > getDetIds(HFNoseDetId const &id) const
Definition:
HFNoseDetIdToModule.cc:5
HFNoseDetId::HFNoseFineN
static const int HFNoseFineN
Definition:
HFNoseDetId.h:25
HGCalWaferIndex::waferV
int32_t waferV(const int32_t index)
Definition:
HGCalWaferIndex.cc:32
HFNoseDetId::HFNoseFineTrigger
static const int HFNoseFineTrigger
Definition:
HFNoseDetId.h:27
phase1PixelTopology::layer
constexpr std::array< uint8_t, layerIndexSize > layer
Definition:
phase1PixelTopology.h:99
gainCalibHelper::gainCalibPI::type
type
Definition:
SiPixelGainCalibHelper.h:40
HFNoseTrigger
Definition:
ForwardSubdetector.h:14
HFNoseDetIdToModule::HFNoseDetIdToModule
HFNoseDetIdToModule()
Definition:
HFNoseDetIdToModule.cc:3
HFNoseDetIdToModule::getTriggerDetIds
std::vector< HFNoseTriggerDetId > getTriggerDetIds(HFNoseDetId const &id) const
Definition:
HFNoseDetIdToModule.cc:19
HFNoseDetId::HFNoseCoarseN
static const int HFNoseCoarseN
Definition:
HFNoseDetId.h:26
Generated for CMSSW Reference Manual by
1.8.16