1 #ifndef St_tpcElectronicsC_h
2 #define St_tpcElectronicsC_h
5 #include "tables/St_tpcElectronics_Table.h"
6 #include "St_starClockOnlC.h"
10 tpcElectronics_st *Struct(Int_t i = 0) {
return ((St_tpcElectronics*) Table())->GetTable()+i;}
11 UInt_t getNumRows() {
return GetNRows();}
12 Int_t numberOfTimeBins(Int_t i = 0) {
return Struct(i)->numberOfTimeBins;}
13 Double_t nominalGain(Int_t i = 0) {
return Struct(i)->nominalGain;}
15 Double_t samplingFrequency(Int_t i = 0) {
return 1e-6*St_starClockOnlC::instance()->CurrentFrequency(i);}
16 Double_t tZero(Int_t i = 0) {
return Struct(i)->tZero;}
17 Double_t adcCharge(Int_t i = 0) {
return Struct(i)->adcCharge;}
18 Double_t adcConversion(Int_t i = 0) {
return Struct(i)->adcConversion;}
19 Double_t averagePedestal(Int_t i = 0) {
return Struct(i)->averagePedestal;}
20 Double_t shapingTime(Int_t i = 0) {
return Struct(i)->shapingTime;}
21 Double_t tau(Int_t i = 0) {
return Struct(i)->tau;}
27 ClassDefChair(St_tpcElectronics, tpcElectronics_st )