Skip to content
Snippets Groups Projects
Commit b4810c33 authored by Stephen A. Wood's avatar Stephen A. Wood
Browse files

Properly zero out traceback coefficients and exponents.

  This insures that 5th exponent is zero if not specified on recon file
parent 75a74b24
No related branches found
No related tags found
No related merge requests found
...@@ -127,7 +127,7 @@ Bool_t THcHallCSpectrometer::GetTrSorting() const ...@@ -127,7 +127,7 @@ Bool_t THcHallCSpectrometer::GetTrSorting() const
void THcHallCSpectrometer::InitializeReconstruction() void THcHallCSpectrometer::InitializeReconstruction()
{ {
fNReconTerms = 0; fNReconTerms = 0;
for(Int_t i=0;i<fNReconTerms;i++) { for(Int_t i=0;i<fMaxReconElements;i++) {
for(Int_t j=0;j<4;j++) { for(Int_t j=0;j<4;j++) {
fReconCoeff[i][j] = 0.0; fReconCoeff[i][j] = 0.0;
} }
......
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