Belle II Software development
|
Classes | |
class | TOPAsicMask |
Class to store bit fields of masked ASICs, as reported in raw data. More... | |
class | TOPAssociatedPDF |
Class to store analytic PDF associated with a photon. More... | |
class | TOPBarHit |
Class to store track parameters of incoming MC particles relation to MCParticle filled in top/simulation/src/SensitiveBar.cc. More... | |
class | TOPDigit |
Class to store TOP digitized hits (output of TOPDigitizer or raw data unpacker) relations to TOPSimHits, MCParticles. More... | |
class | TOPInterimFEInfo |
Class to store debug info of raw data in Interim FE format. More... | |
class | TOPLikelihood |
Class to store TOP log likelihoods (output of TOPReconstructor). More... | |
class | TOPLikelihoodScanResult |
Class to store the result of the TOP LL scan (output of TOPLLScanner). More... | |
class | TOPPDFCollection |
Class to store analytical PDF relation from Tracks filled top/modules/TOPPDFDebugger/src/TOPPDFDebuggerModule.cc. More... | |
class | TOPPixelLikelihood |
Class to store pixel-by-pixel likelihoods for a track relation from Tracks filled in top/modules/TOPPDFDebugger/src/TOPPDFDebuggerModule.cc. More... | |
class | TOPProductionEventDebug |
Class to store debugging information about the event headers in the by the TOP production debugging raw data format one of these should be available per boardstack per event. More... | |
class | TOPProductionHitDebug |
Class to store debugging information about the hit headers in the TOP production debugging raw data format. More... | |
class | TOPPull |
Class to store photon pull in respect to PDF used in reconstruction. More... | |
class | TOPRawDigit |
Class to store unpacked raw data (hits in feature-extraction format) It provides also calculation of 50% CFD leading and falling edge times and errors. More... | |
class | TOPRawWaveform |
Class to store raw data waveforms. More... | |
class | TOPRecBunch |
Class to store results of TOPBunchFinder. More... | |
class | TOPSimCalPulse |
Calibration pulse time and amplitude generated by TOPCalPulseGenerator. More... | |
class | TOPSimHit |
Class to store simulated hits of Cherenkov photons on PMT's input for digitization module (TOPDigitizer). More... | |
class | TOPSimPhoton |
Class to store Cherenkov photons at emission and at detection relation to TOPSimHit filled in top/simulation/src/SensitivePMT.cc. More... | |
class | TOPSlowData |
Class to store slow data unpacked from raw data. More... | |
class | TOPTemplateFitResult |
Class to store template fit result from feature extraction data. More... | |
class | TOPTimeZero |
Class to store T0 information. More... | |
class | TOPTriggerDigit |
Class to store trigger time stamps. More... | |
class | TOPTriggerMCInfo |
Class to store Monte Carlo information useful for trigger studies. More... | |
Functions | |
bool | isActive (int moduleID, unsigned channel) const |
Returns true if channel is not explicitely labeled as masked. | |
const PDFPeak * | getSinglePeak () const |
Returns a PDF peak selected randomly according to weights. | |
int | getModulo256Sample () const |
Returns sample number modulo 256. | |
DigitBase::EAppendStatus | addBGDigit (const DigitBase *bg) override |
Implementation of the base class function. | |
bool | isPedestalJump () const |
Checks if feature extraction finds a pedestal jump. | |
bool | isAtWindowDiscontinuity (unsigned short storageDepth=508) const |
Checks if feature extraction points are at window discontinuity (e.g. | |
bool | areWindowsInOrder (unsigned short storageDepth=508) const |
Checks if storage windows come in the consecutive order before the last sample (no gaps before the last sample) Note: returns true if m_windows is empty. | |
double | correctTime (double time, unsigned short storageDepth=508) const |
Corrects time after window discontinuity by adding missing samples. | |
double | timeErrorCoefficient (double y1, double y2) const |
Calculate the coefficient of time error. | |
int | getIntegral (int sampleRise, int samplePeak, int sampleFall) const |
Returns integral of a peak. | |
int | Integral (int sampleRise, int samplePeak, int sampleFall) const |
Returns integral of a peak. | |
int | featureExtraction (int threshold, int hysteresis, int thresholdCount) const |
Do feature extraction. | |
TOPTemplateFitResult () | |
Default constructor. | |
TOPTemplateFitResult (short risingEdge, short backgroundOffset, short amplitude, short chisquare) | |
Usefull contructor for data from Zynqs. | |
TOPTemplateFitResult (double risingEdge, double risingEdgeTime, double backgroundOffset, double amplitude, double chisquare) | |
Usefull contructor for software implementation of template fit in basf2. | |
void | setRisingEdgeAndConvert (unsigned short risingEdge) |
Sets rising edge from Zynq and converts to double This does not convert from sample to time space. | |
double | risingEdgeShortToRisingEdgeDouble (unsigned short risingEdgeS) const |
Convert rising edge saved in short to double. | |
Variables | |
static float | s_doubleHitResolution = 0 |
double hit resolving time in [ns] | |
static float | s_pileupTime = 0 |
pile-up time in [ns] | |
|
overridevirtual |
Implementation of the base class function.
Pile-up method.
bg | BG digit |
Implements DigitBase.
Definition at line 36 of file TOPDigit.cc.
bool areWindowsInOrder | ( | unsigned short | storageDepth = 508 | ) | const |
Checks if storage windows come in the consecutive order before the last sample (no gaps before the last sample) Note: returns true if m_windows is empty.
storageDepth | storage depth |
Definition at line 52 of file TOPRawDigit.cc.
double correctTime | ( | double | time, |
unsigned short | storageDepth = 508 |
||
) | const |
Corrects time after window discontinuity by adding missing samples.
time | leading or falling edge time [samples] |
storageDepth | storage depth |
Definition at line 66 of file TOPRawDigit.cc.
int featureExtraction | ( | int | threshold, |
int | hysteresis, | ||
int | thresholdCount | ||
) | const |
Do feature extraction.
threshold | pulse height threshold [ADC counts] |
hysteresis | threshold hysteresis [ADC counts] |
thresholdCount | minimal number of samples above threshold |
Definition at line 44 of file TOPRawWaveform.cc.
int getIntegral | ( | int | sampleRise, |
int | samplePeak, | ||
int | sampleFall | ||
) | const |
Returns integral of a peak.
sampleRise | sample number just before 50% CFD crossing at leading edge |
samplePeak | sample number at maximum |
sampleFall | sample number just before 50% CFD crossing at falling edge |
Definition at line 19 of file TOPRawWaveform.cc.
int getModulo256Sample | ( | ) | const |
Returns sample number modulo 256.
Definition at line 26 of file TOPDigit.cc.
const TOPAssociatedPDF::PDFPeak * getSinglePeak | ( | ) | const |
Returns a PDF peak selected randomly according to weights.
Null ptr is returned if background or delta-ray contribution is selected instead.
Definition at line 20 of file TOPAssociatedPDF.cc.
|
private |
Returns integral of a peak.
sampleRise | w.r.t array boundaries |
samplePeak | w.r.t array boundaries |
sampleFall | w.r.t array boundaries |
Definition at line 28 of file TOPRawWaveform.cc.
bool isActive | ( | int | moduleID, |
unsigned | channel | ||
) | const |
Returns true if channel is not explicitely labeled as masked.
moduleID | module ID (1-based) |
channel | hardware channel number (0-based) |
Definition at line 17 of file TOPAsicMask.cc.
bool isAtWindowDiscontinuity | ( | unsigned short | storageDepth = 508 | ) | const |
Checks if feature extraction points are at window discontinuity (e.g.
discontinuity happens between sampleRise and sampleFall+1) NOTE: always false if m_windows is empty
storageDepth | storage depth |
Definition at line 34 of file TOPRawDigit.cc.
bool isPedestalJump | ( | ) | const |
Checks if feature extraction finds a pedestal jump.
Definition at line 23 of file TOPRawDigit.cc.
|
private |
Convert rising edge saved in short to double.
risingEdgeS | input short |
Definition at line 47 of file TOPTemplateFitResult.cc.
void setRisingEdgeAndConvert | ( | unsigned short | risingEdge | ) |
Sets rising edge from Zynq and converts to double This does not convert from sample to time space.
risingEdge | rising edge |
Definition at line 41 of file TOPTemplateFitResult.cc.
|
private |
Calculate the coefficient of time error.
y1 | first value (e.g. VRise0 or VFall0) |
y2 | second value (e.g. VRise1 or VFall1) |
Definition at line 84 of file TOPRawDigit.cc.
TOPTemplateFitResult | ( | double | risingEdge, |
double | risingEdgeTime, | ||
double | backgroundOffset, | ||
double | amplitude, | ||
double | chisquare | ||
) |
Usefull contructor for software implementation of template fit in basf2.
risingEdge | template fit rising edge in samples |
risingEdgeTime | template fit rising edge in ns |
backgroundOffset | background offset |
amplitude | amplitude |
chisquare | chi square |
Definition at line 33 of file TOPTemplateFitResult.cc.
|
explicit |
Usefull contructor for data from Zynqs.
risingEdge | template fit rising edge, lower 8 bit are fraction |
backgroundOffset | background offset |
amplitude | amplitude |
chisquare | chi square |
Definition at line 22 of file TOPTemplateFitResult.cc.
|
staticprivate |
double hit resolving time in [ns]
Definition at line 435 of file TOPDigit.h.
|
staticprivate |
pile-up time in [ns]
Definition at line 436 of file TOPDigit.h.