1 #ifndef ROOT_THcRawAdcHit
2 #define ROOT_THcRawAdcHit
95 #endif // ROOT_THcRawAdcHit
Double_t GetData(UInt_t iPedLow, UInt_t iPedHigh, UInt_t iIntLow, UInt_t iIntHigh) const
Gets pedestal subtracted integral of samples. In channels.
Double_t GetF250_PeakPedestalRatio()
static const Double_t fNAdcChan
static const Double_t fAdcTimeSample
Double_t GetSampleInt() const
Gets pedestal subtracted integral of samples. In channels.
UInt_t GetNSamples() const
Gets number of set samples.
void SetSample(Int_t data)
Sets raw signal sample.
Int_t GetRawData(UInt_t iPulse=0) const
Gets raw pulse integral. In channels.
Int_t GetPulseTimeRaw(UInt_t iPulse=0) const
Gets raw pulse time. In subsamples.
Double_t GetAverage(UInt_t iSampleLow, UInt_t iSampleHigh) const
Gets average of raw samples. In channels.
Int_t GetSampleRaw(UInt_t iSample=0) const
Gets raw sample. In channels.
static const Double_t fAdcRange
void SetRefTime(Int_t refTime)
Sets reference time. In channels.
#define ClassDef(name, id)
Int_t fPulseAmp[fMaxNPulses]
Int_t fPulseTime[fMaxNPulses]
static const UInt_t fMaxNPulses
Double_t GetAdcTons() const
Double_t GetPed() const
Gets sample pedestal. In channels.
void SetF250Params(Int_t NSA, Int_t NSB, Int_t NPED)
Sets F250 parameters used for pedestal subtraction.
Bool_t HasMulti() const
Queries whether data is from flash 250 module.
Int_t GetPulseAmpRaw(UInt_t iPulse=0) const
Gets raw pulse amplitude. In channels.
Int_t fSample[fMaxNSamples]
Double_t GetPulseAmp(UInt_t iPulse=0) const
Gets pedestal subtracted pulse amplitude. In channels.
Double_t GetPulseInt(UInt_t iPulse=0) const
Gets pedestal subtracted pulse integral. In channels.
void SetRefDiffTime(Int_t refDiffTime)
Int_t GetSampleIntRaw() const
Gets raw integral of sTimeFacamples. In channels.
static const UInt_t fMaxNSamples
static const Double_t fAdcImpedence
Int_t fPulseInt[fMaxNPulses]
void SetDataTimePedestalPeak(Int_t data, Int_t time, Int_t pedestal, Int_t peak)
Sets various bits of ADC data.
static const Double_t fAdcTimeRes
THcRawAdcHit()
Constructor.
virtual void Clear(Option_t *opt="")
Clears variables before next event.
Int_t GetPulseIntRaw(UInt_t iPulse=0) const
Gets raw pulse integral. In channels.
Bool_t HasRefTime() const
UInt_t GetNPulses() const
Gets number of set pulses.
void SetData(Int_t data)
Sets raw ADC value.
Int_t GetIntegral(UInt_t iSampleLow, UInt_t iSampleHigh) const
Gets integral of raw samples. In channels.
Double_t fPeakPedestalRatio
Int_t GetPedRaw() const
Gets raw signal pedestal. In channels.
THcRawAdcHit & operator=(const THcRawAdcHit &right)
Assignment operator.
Double_t GetPulseTime(UInt_t iPulse=0) const
Double_t fSubsampleToTimeFactor
Int_t GetF250_NPedestalSamples()
Int_t GetRefDiffTime() const
virtual ~THcRawAdcHit()
Destructor.
Double_t GetAdcTopC() const
Class representing a single raw ADC hit.
Double_t GetAdcTomV() const