30 #ifndef ST_TPC_SIMPLE_ELECTRONICS_HH
31 #define ST_TPC_SIMPLE_ELECTRONICS_HH
33 #include "StTpcElectronics.hh"
45 double nominalGain()
const;
46 double channelGain(
int,
int,
int)
const;
48 double samplingFrequency()
const;
50 double shapingTime()
const;
54 double adcConversion()
const;
55 double adcConversionCharge()
const;
56 int numberOfTimeBins()
const;
57 int averagePedestal()
const;
58 int pedestal(
int,
int,
int,
int)
const;
62 void print(ostream& = cout)
const;
72 double mSamplingFrequency;
77 double mAdcConversion;
78 double mAdcConversionCharge;
79 int mNumberOfTimeBins;
82 inline double StTpcSimpleElectronics::nominalGain()
const {
return mNominalGain;}
83 inline double StTpcSimpleElectronics::samplingFrequency()
const {
return mSamplingFrequency;}
84 inline double StTpcSimpleElectronics::shapingTime()
const {
return mShapingTime;}
85 inline double StTpcSimpleElectronics::tZero()
const {
return mTZero;}
86 inline double StTpcSimpleElectronics::tau()
const {
return mTau;}
87 inline double StTpcSimpleElectronics::adcConversion()
const {
return mAdcConversion;}
88 inline double StTpcSimpleElectronics::adcConversionCharge()
const {
return mAdcConversionCharge;}
89 inline int StTpcSimpleElectronics::numberOfTimeBins()
const {
return mNumberOfTimeBins;}
90 inline int StTpcSimpleElectronics::averagePedestal()
const {
return mAveragePedestal;}