LDMX Software
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
Functions
Variables
Typedefs
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
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
k
l
m
n
o
p
q
r
s
t
u
v
w
x
~
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
Enumerations
Enumerator
Related Symbols
Files
File List
File Members
All
Functions
Macros
Tracking
src
Tracking
Event
RawSiStripHit.cxx
1
2
#include "Tracking/Event/RawSiStripHit.h"
3
4
namespace
ldmx {
5
6
RawSiStripHit::RawSiStripHit
(std::vector<short> samples,
long
time)
7
: samples_(samples), time_(time) {}
6
RawSiStripHit::RawSiStripHit
(std::vector<short> samples,
long
time) {
…
}
8
9
void
RawSiStripHit::Clear
() {
10
samples_
.clear();
11
time_
= 0;
12
}
9
void
RawSiStripHit::Clear
() {
…
}
13
14
std::ostream &operator<<(std::ostream &output,
const
RawSiStripHit
&hit) {
15
output <<
"[ RawSiStripHit ]: Samples: { "
;
16
for
(
auto
isample{0}; isample < (hit.
samples_
.size() - 1); ++isample)
17
output << hit.
samples_
[isample] <<
", "
;
18
output << hit.
samples_
[hit.
samples_
.size() - 1] <<
" } "
19
<<
"Time: "
<< hit.
time_
<< std::endl;
20
21
return
output;
22
}
14
std::ostream &operator<<(std::ostream &output,
const
RawSiStripHit
&hit) {
…
};
23
24
}
// namespace ldmx
ldmx::RawSiStripHit
Implementation of a raw digitized hit from a silicon strip detector.
Definition
RawSiStripHit.h:26
ldmx::RawSiStripHit::time_
long time_
The hit time stamp in units of ns.
Definition
RawSiStripHit.h:119
ldmx::RawSiStripHit::RawSiStripHit
RawSiStripHit()=default
Default constructor.
ldmx::RawSiStripHit::Clear
void Clear()
Clear the vector of samples and set the timestamp to 0.
Definition
RawSiStripHit.cxx:9
ldmx::RawSiStripHit::samples_
std::vector< short > samples_
16 bit ADC samples associated with this hit.
Definition
RawSiStripHit.h:116
Generated by
1.12.0