Skip to content
Snippets Groups Projects
Commit 0022bf57 authored by Jure Bericic's avatar Jure Bericic
Browse files

Changed fMaxNSamplesADC to 511.

The f250 modules can produce at most 511 samples (9 bit) so it seemed reasonable to increase
the maximum number of samples in the raw hits to this value.
parent 715c8dd5
No related branches found
No related tags found
No related merge requests found
...@@ -37,7 +37,7 @@ class THcRawAdcHit : public TObject { ...@@ -37,7 +37,7 @@ class THcRawAdcHit : public TObject {
protected: protected:
static const UInt_t fMaxNPulses = 4; static const UInt_t fMaxNPulses = 4;
static const UInt_t fMaxNSamples = 160; static const UInt_t fMaxNSamples = 511;
Int_t fAdc[fMaxNPulses]; Int_t fAdc[fMaxNPulses];
Int_t fAdcTime[fMaxNPulses]; Int_t fAdcTime[fMaxNPulses];
......
...@@ -68,7 +68,7 @@ class THcRawHodoHit : public THcRawHit { ...@@ -68,7 +68,7 @@ class THcRawHodoHit : public THcRawHit {
} }
protected: protected:
static const UInt_t fMaxNSamplesADC = 160; static const UInt_t fMaxNSamplesADC = 511;
static const UInt_t fMaxNPulsesADC = 4; static const UInt_t fMaxNPulsesADC = 4;
static const UInt_t fMaxNHitsTDC = 16; static const UInt_t fMaxNHitsTDC = 16;
Int_t fADC_pos[fMaxNPulsesADC]; Int_t fADC_pos[fMaxNPulsesADC];
......
...@@ -38,7 +38,7 @@ class THcTrigRawHit : public THcRawHit { ...@@ -38,7 +38,7 @@ class THcTrigRawHit : public THcRawHit {
protected: protected:
static const UInt_t fMaxNPulsesAdc = 4; static const UInt_t fMaxNPulsesAdc = 4;
static const UInt_t fMaxNSamplesAdc = 160; static const UInt_t fMaxNSamplesAdc = 511;
static const UInt_t fMaxNHitsTdc = 16; static const UInt_t fMaxNHitsTdc = 16;
static const UInt_t fNPlanes = 2; static const UInt_t fNPlanes = 2;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment