 |
Belle II Software
release-05-01-25
|
13 #include <top/dbobjects/TOPGeoBase.h>
24 class TOPNominalTDC:
public TOPGeoBase {
59 double doubleHitResolution,
62 const std::string& name =
"TOPNominalTDC");
79 double doubleHitResolution,
82 const std::string& name =
"TOPNominalTDCold"):
266 void print(
const std::string& title =
"Nominal time-to-digit conversion parameters")
const override;
unsigned m_adcBits
number of ADC bits
unsigned m_numofBunches
number of bunches per syncTimeBase
TOPNominalTDC()
Default constructor.
double getTime(int TDC) const
Convert TDC count to time.
@ c_WindowSize
number of samples per ASIC window
unsigned m_numBits
number of bits
unsigned getADCBits() const
Returns the number of ADC bits.
void setAveragePedestal(int averagePedestal)
Sets average of pedestals.
unsigned m_numWindows
number of ASIC windows per waveform
int m_averagePedestal
average of pedestals [ADC bins]
Base class for geometry parameters.
float m_sampleWidth
time between two samples
unsigned getNumBits() const
Returns number of bits.
float m_pileupTime
pile-up time
float m_doubleHitResolution
double hit resolution time
void print(const std::string &title="Nominal time-to-digit conversion parameters") const override
Print the content of the class.
ClassDefOverride(TOPNominalTDC, 3)
ClassDef.
int getAveragePedestal() const
Returns average of pedestals.
bool isSampleValid(int sample) const
Check for the validity of sample number.
int getSample(double time) const
Converts time to sample number.
double getPileupTime() const
Returns pile-up time.
float m_offset
time offset
Abstract base class for different kinds of events.
double getBunchSeparationTime() const
Returns bunch separation time (e.g.
double getSampleWidth() const
Returns time difference between two samples.
double getDoubleHitResolution() const
Returns double hit resolution time.
Nominal time-to-digit conversion parameters (simplified model)
int getOverflowValue() const
Returns TDC overflow value.
bool isConsistent() const override
Check for consistency of data members.
unsigned m_subBits
number of bits per sample
double getEfficiency() const
Returns electronic efficiency.
unsigned getSubBits() const
Returns number of bits per sample.
void setADCBits(unsigned adcBits)
Sets the number of ADC bits.
double getTimeMin() const
Returns time range lower limit.
float m_binWidth
time width of a TDC bin
double getTimeMax() const
Returns time range upper limit.
double getOffset() const
Returns time offset.
double getSampleTime(int sample) const
Converts sample number to time.
double getSyncTimeBase() const
Returns synchonization time base (time width of c_syncWindows)
unsigned getNumWindows() const
Returns number of ASIC windows per waveform.
double getBinWidth() const
Returns time width of a TDC bin.
unsigned getADCRange() const
Returns ADC range.
@ c_syncWindows
number of windows corresponding to syncTimeBase
float m_efficiency
electronic efficiency (fract.
double getTimeJitter() const
Returns r.m.s.
float m_syncTimeBase
time width of c_syncWindows
unsigned getNumofBunches() const
Returns number of bunches in the synchonization time base.
int getTDCcount(double time) const
Converts time to TDC count.