Skip to content

Commit

Permalink
THcRawAdcHit: Increase max number of samples from 511 to 1024
Browse files Browse the repository at this point in the history
The NPS calorimeter pushes this limit.
  • Loading branch information
hansenjo authored and MarkKJones committed Aug 31, 2023
1 parent fd16e76 commit 298de35
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/THcRawAdcHit.h
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ class THcRawAdcHit : public TObject {

protected:
static const UInt_t fMaxNPulses = 4;
static const UInt_t fMaxNSamples = 511;
static const UInt_t fMaxNSamples = 1024;

// FADC conversion factors
static const Double_t fNAdcChan; // Number of FADC channels in units of ADC channels
static const Double_t fAdcRange; // Dynamic range of FADCs in units of V, // TO-DO: Get fAdcRange from pre-start event
Expand All @@ -91,7 +91,7 @@ class THcRawAdcHit : public TObject {
Double_t fPeakPedestalRatio;
Double_t fSubsampleToTimeFactor;
Double_t fSampThreshold;

Int_t fPed;
Int_t fSampPed;
Int_t fPulseInt[fMaxNPulses];
Expand Down

0 comments on commit 298de35

Please sign in to comment.