Go to the documentation of this file.
17 : calibration_(
calibration), mergeTimePeaks_(mergeTimePeaks), calibrationFunction_(calibration_.
formula()) {}
23 if (offsetOfSamples == 0)
36 float firstCellTimeInstant =
60 if (offsetOfSamples == 0)
79 for (
unsigned int i = 0;
i <
time.size(); ++
i)
88 std::vector<float>
data;
103 <<
"Invalid calibrations retrieved for Sampic digi"
104 <<
" (" <<
db <<
", " << sampic <<
", " << channel <<
", " << sample_cell <<
")!";
unsigned int l1ATimestamp() const
static constexpr float SAMPIC_SAMPLING_PERIOD_NS
unsigned int timestampA() const
unsigned int hardwareBoardId() const
static constexpr int SAMPIC_MAX_NUMBER_OF_SAMPLES
std::vector< float > voltSamples(const TotemTimingDigi &digi) const
unsigned int fpgaTimestamp() const
unsigned int hardwareSampicId() const
TotemTimingConversions(bool mergeTimePeaks, const PPSTimingCalibration &calibration)
unsigned int numberOfSamples() const
double timeOffset(int key1, int key2, int key3, int key4=-1) const
float triggerTime(const TotemTimingDigi &digi) const
PPSTimingCalibration calibration_
double timePrecision(int key1, int key2, int key3, int key4=-1) const
unsigned int cellInfo() const
std::vector< double > parameters(int key1, int key2, int key3, int key4) const
std::vector< float > timeSamples(const TotemTimingDigi &digi) const
static constexpr float SAMPIC_ADC_V
float timePrecision(const TotemTimingDigi &digi) const
static constexpr int ACCEPTED_TIME_RADIUS
static constexpr int SAMPIC_DEFAULT_OFFSET
unsigned int l1ALatency() const
unsigned int hardwareChannelId() const
float timeOfFirstSample(const TotemTimingDigi &digi) const
unsigned int offsetOfSamples() const
char data[epos_bytes_allocation]
static constexpr unsigned long CELL0_MASK
unsigned int timestampB() const
reco::FormulaEvaluator calibrationFunction_
TotemTimingEventInfo eventInfo() const
std::vector< uint8_t > samples() const