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
SimTracker
SiStripDigitizer
plugins
DigiSimLinkPileUpSignals.cc
Go to the documentation of this file.
1
#include "
DigiSimLinkPileUpSignals.h
"
2
#include "
SimDataFormats/TrackingHit/interface/PSimHit.h
"
3
4
void
DigiSimLinkPileUpSignals::resetLink
() {
5
theMapLink
.clear();
6
theCounterMapLink
.clear();
7
}
8
9
void
DigiSimLinkPileUpSignals::add
(
const
std::vector<float>& locAmpl,
10
const
size_t
& firstChannelWithSignal,
11
const
size_t
& lastChannelWithSignal,
12
const
PSimHit
*
hit
,
13
const
int
&
counter
) {
14
for
(
size_t
iChannel = firstChannelWithSignal; iChannel < lastChannelWithSignal; ++iChannel) {
15
theMapLink
[iChannel].push_back(std::pair<const PSimHit*, Amplitude>(
hit
,
Amplitude
(locAmpl[iChannel])));
16
theCounterMapLink
[iChannel].push_back(std::make_pair(
hit
,
counter
));
17
}
18
}
counter
Definition:
counter.py:1
DigiSimLinkPileUpSignals::theCounterMapLink
HitCounterToDigisMapType theCounterMapLink
Definition:
DigiSimLinkPileUpSignals.h:43
DigiSimLinkPileUpSignals::resetLink
void resetLink()
Definition:
DigiSimLinkPileUpSignals.cc:4
DigiSimLinkPileUpSignals::Amplitude
float Amplitude
Definition:
DigiSimLinkPileUpSignals.h:16
PSimHit.h
DigiSimLinkPileUpSignals::theMapLink
HitToDigisMapType theMapLink
Definition:
DigiSimLinkPileUpSignals.h:42
DigiSimLinkPileUpSignals.h
DigiSimLinkPileUpSignals::add
virtual void add(const std::vector< float > &locAmpl, const size_t &firstChannelWithSignal, const size_t &lastChannelWithSignal, const PSimHit *hit, const int &counter)
Definition:
DigiSimLinkPileUpSignals.cc:9
PSimHit
Definition:
PSimHit.h:15
hit
Definition:
SiStripHitEffFromCalibTree.cc:88
Generated for CMSSW Reference Manual by
1.8.16