These are the channel characteristics recored in TSetupData. More...
#include <SetupRecord.h>
Public Member Functions | |
void | Print () const |
Prints a summary of everything stored, primarily for debugging. | |
Public Attributes | |
Double_t | TickLength |
The length, in nanoseconds, of each sample clock tick. [0~]. | |
Double_t | LinearWidthLSB |
Depricated. [8~] The input width of the LSB i.e. gradient of linear calibration. | |
Double_t | LinearZeroPoint |
Deprecated. [16~] The input value at 0 counts i.e. offset of linear calibration. | |
Double_t | TimeFromMuSc |
The timing offset from the muSc. [24~]. | |
ChannelID | ID |
The ID of the channel [32~](?). | |
Short_t | ADCDepth |
The bit depth of the ADC [40~]. | |
Short_t | Pedestal |
The pedestal of the channel [42~]. | |
Short_t | Polarity |
The polarity of the channel [44~]. | |
char | Name [5] |
The name of the MIDAS Bank. (4 ASCII char + '') [46~]. | |
Char_t | Enabled |
Whether the channel was enabled [51~52]. |
These are the channel characteristics recored in TSetupData.
Definition at line 18 of file SetupRecord.h.
void SetupRecord::BankInfo_t::Print | ( | ) | const |
Prints a summary of everything stored, primarily for debugging.
Definition at line 146 of file SetupRecord.cpp.
References ADCDepth, Enabled, ID, Name, Pedestal, Polarity, TickLength, and TimeFromMuSc.
00147 { 00148 std::cout << ID << " at bank " << Name 00149 << (Enabled>0 ? " (enabled)" : " (disabled)") 00150 << "\n" << "- - - - - - - - - - - - - - - - - - - - -" 00151 << "\n" << " Tick: " << TickLength 00152 << "\n" << " Time offset: " << TimeFromMuSc 00153 << "\n" << " ADC depth: " << ADCDepth 00154 << " [Max: " << (1<<ADCDepth) << "]" 00155 << "\n" << " Pedestal: " << Pedestal 00156 << "\n" << " Polarity: " << (Polarity>0 ? "+" : "-") 00157 // << "\n" << " (Calibration: " << LinearWidthLSB 00158 // << " * C + " << LinearZeroPoint << ")" 00159 << std::endl; 00160 }
The bit depth of the ADC [40~].
Definition at line 32 of file SetupRecord.h.
Referenced by SetupRecord::GetADCDepth(), SetupRecord::InitMetaData(), and Print().
Whether the channel was enabled [51~52].
Definition at line 40 of file SetupRecord.h.
Referenced by SetupRecord::InitMetaData(), SetupRecord::IsEnabled(), and Print().
The ID of the channel [32~](?).
Definition at line 30 of file SetupRecord.h.
Referenced by SetupRecord::ChannelFromBank(), SetupRecord::InitChannels(), SetupRecord::InitMetaData(), and Print().
Depricated. [8~] The input width of the LSB i.e. gradient of linear calibration.
Definition at line 23 of file SetupRecord.h.
Referenced by SetupRecord::InitMetaData().
Deprecated. [16~] The input value at 0 counts i.e. offset of linear calibration.
Definition at line 26 of file SetupRecord.h.
Referenced by SetupRecord::InitMetaData().
char SetupRecord::BankInfo_t::Name[5] |
The name of the MIDAS Bank. (4 ASCII char + '') [46~].
Definition at line 38 of file SetupRecord.h.
Referenced by SetupRecord::InitChannels(), SetupRecord::InitMetaData(), and Print().
The pedestal of the channel [42~].
Definition at line 34 of file SetupRecord.h.
Referenced by SetupRecord::GetPedestal(), SetupRecord::InitMetaData(), and Print().
The polarity of the channel [44~].
Definition at line 36 of file SetupRecord.h.
Referenced by SetupRecord::GetPolarity(), SetupRecord::InitMetaData(), and Print().
Double_t SetupRecord::BankInfo_t::TickLength |
The length, in nanoseconds, of each sample clock tick. [0~].
Definition at line 20 of file SetupRecord.h.
Referenced by SetupRecord::GetTickLength(), SetupRecord::InitMetaData(), and Print().
The timing offset from the muSc. [24~].
Definition at line 28 of file SetupRecord.h.
Referenced by SetupRecord::GetTimeFromMuSc(), SetupRecord::InitMetaData(), and Print().