2#include "Tracking/Event/RawSiStripHit.h"
10 :
SiStripHit(samples, time), channel_(channel) {}
25std::ostream& operator<<(std::ostream& output,
const RawSiStripHit& hit) {
26 output <<
"[ RawSiStripHit ]: Samples: { ";
27 for (
auto isample{0}; isample < (hit.
samples_.size() - 1); ++isample)
28 output << hit.
samples_[isample] <<
", ";
30 <<
"Time: " << hit.
time_ <<
" Ch: " <<
static_cast<int>(hit.channel_)
31 <<
" APV: " <<
static_cast<int>(hit.apv_id_)
32 <<
" Hybrid: " <<
static_cast<int>(hit.hybrid_id_)
33 <<
" FEB: " <<
static_cast<int>(hit.feb_id_)
34 <<
" Trig: " << hit.apv_trigger_
35 <<
" Err: " <<
static_cast<int>(hit.read_error_) << std::endl;
Implementation of a raw digitized hit from a silicon strip detector.
RawSiStripHit()=default
Default constructor.
void clear() override
Clear the samples, time stamp and electronics/quality fields.
Abstract base class for a silicon strip detector hit.
long time_
The hit time stamp in units of ns.
void clearBase()
Clear the fields owned by the base class.
std::vector< short > samples_
16 bit ADC samples associated with this hit.