diff --git a/src/THcRawAdcHit.cxx b/src/THcRawAdcHit.cxx index 37b6b8e60e8a1c6dae65ecc4b5d6ac221ccdd20d..6199941db817fdf335f643ad522276bb0c5c2cee 100644 --- a/src/THcRawAdcHit.cxx +++ b/src/THcRawAdcHit.cxx @@ -453,7 +453,7 @@ Double_t THcRawAdcHit::GetAdcTomV() const { // Convert integral to pC Double_t THcRawAdcHit::GetAdcTopC() const { - // (1 V / 4096 adc channels) * (4 ns time sample / 50 ohms input resistance) = 0.020 pc/channel + // (1 V / 4096 adc channels) * (4000 ps time sample / 50 ohms input resistance) = 0.020 pc/channel return (fAdcRange / fNAdcChan) * (fAdcTimeSample / fAdcImpedence); } diff --git a/src/THcRawAdcHit.h b/src/THcRawAdcHit.h index 71a5c270230f7f1250cb23035fe3e608b78b1955..9b0a38b45d328b46a0a8ecd22766e9513afce61a 100644 --- a/src/THcRawAdcHit.h +++ b/src/THcRawAdcHit.h @@ -60,7 +60,7 @@ class THcRawAdcHit : public TObject { const Double_t fNAdcChan = 4096.0; // Number of FADC channels in units of ADC channels const Double_t fAdcRange = 1.0; // Dynamic range of FADCs in units of V, // TO-DO: Get fAdcRange from pre-start event const Double_t fAdcImpedence = 50.0; // FADC input impedence in units of Ohms - const Double_t fAdcTimeSample = 4.0; // Length of FADC time sample in units of ns + const Double_t fAdcTimeSample = 4000.0; // Length of FADC time sample in units of ps const Double_t fAdcTimeRes = 0.0625; // FADC time resolution in units of ns Int_t fNPedestalSamples; // TODO: Get this from prestart event...