29 #ifndef ST_TPC_DB_ELECTRONICS_HH
30 #define ST_TPC_DB_ELECTRONICS_HH
34 #include "StTpcElectronics.hh"
44 double nominalGain()
const;
45 double channelGain(
int,
int,
int)
const;
47 double samplingFrequency()
const;
49 double tZero(
int,
int,
int)
const;
51 double shapingTime()
const;
55 double adcConversion()
const;
56 double adcConversionCharge()
const;
57 int numberOfTimeBins()
const;
58 int averagePedestal()
const;
59 int pedestal(
int,
int,
int,
int)
const;
63 void print(ostream& = cout)
const;
74 double mSamplingFrequency;
79 double mAdcConversion;
80 double mAdcConversionCharge;
81 int mNumberOfTimeBins;
85 inline double StTpcDbElectronics::nominalGain()
const {
return mNominalGain;}
86 inline double StTpcDbElectronics::samplingFrequency()
const {
return mSamplingFrequency;}
87 inline double StTpcDbElectronics::shapingTime()
const {
return mShapingTime;}
88 inline double StTpcDbElectronics::tZero()
const {
return mTZero;}
89 inline double StTpcDbElectronics::tau()
const {
return mTau;}
90 inline double StTpcDbElectronics::adcConversion()
const {
return mAdcConversion;}
91 inline double StTpcDbElectronics::adcConversionCharge()
const {
return mAdcConversionCharge;}
92 inline int StTpcDbElectronics::numberOfTimeBins()
const {
return mNumberOfTimeBins;}
93 inline int StTpcDbElectronics::averagePedestal()
const {
return mAveragePedestal;}