![]() |
Belle II Software
release-08-02-04
|
Database object for ASIC crosstalk library. More...
#include <CDCCrossTalkLibrary.h>


Public Member Functions | |
| CDCCrossTalkLibrary ()=default | |
| Default constructor. | |
| void | addAsicRecord (const Short_t channel, const Short_t ADC, const asicChannels &asicInfo) |
| Add a new ASIC record to the library. More... | |
| const vector< pair< Short_t, asicChannel > > | getLibraryCrossTalk (Short_t channel, Short_t TDCin, Short_t ADCin, Short_t TOTin, size_t entry=0, bool insertSignalToOutput=false) const |
| Get cross talk record from the library. More... | |
| void | dump (int verbosity) const |
| Print out contents of the library. | |
| void | dumpEntry (size_t entry) |
| Dump single entry, for a given channel. | |
| double | pCrossTalk (const Short_t ADC) const |
| Get probability of the cross talk. | |
| void | setPCrossTalk (const double *probs) |
| Store x-talk probability. | |
Private Member Functions | |
| ClassDef (CDCCrossTalkLibrary, 2) | |
| ClassDef. | |
Private Attributes | |
| std::vector< adcAsicTuple > | m_library |
| Library. | |
| array< float, 8196 > | m_pCrossTalk |
| x-talk probability | |
Database object for ASIC crosstalk library.
Definition at line 31 of file CDCCrossTalkLibrary.h.
|
inline |
Add a new ASIC record to the library.
| channel | – Channel number inside RO board (between 0 and 48) |
| ADC | – ADC value |
| asicInfo | – TDC,ADC,TOT information for all channels in ASIC, -1 if no hit. |
Definition at line 45 of file CDCCrossTalkLibrary.h.
|
inline |
Get cross talk record from the library.
Output is a vector of pairs: channel number (from 0 to 48) and corresponding TDC,ADC,TOT values. Depending on the value of insertSignalToOutput, the output may contain the input signal hit.
| channel | readout board channel number, from 0 to 48 |
| TDCin | input channel TDC value |
| ADCin | input channel ADC value |
| TOTin | input channel TOT value |
| entry | for multiple entries given (channel,ADC) value either return random (entry=0) or specific one (entry>0). If entry > max entries, entry % max entries is used |
| insertSignalToOutput | Add signal to the output vector |
return signal-only, no x-talk
Determine Delta in TDC:
Definition at line 65 of file CDCCrossTalkLibrary.h.