diff --git a/src/THcScintillatorPlane.cxx b/src/THcScintillatorPlane.cxx index e49b072b05f5427cc182abdd778ead92062ff67e..6f804ec68b409a6d165971f1222f983040c2ed08 100644 --- a/src/THcScintillatorPlane.cxx +++ b/src/THcScintillatorPlane.cxx @@ -76,13 +76,6 @@ THcScintillatorPlane::THcScintillatorPlane( const char* name, fTotPlanes = planenum; fNScinHits = 0; - - fMaxHits=53; - - fpTimes = new Double_t [fMaxHits]; - fScinTime = new Double_t [fMaxHits]; - fScinSigma = new Double_t [fMaxHits]; - fScinZpos = new Double_t [fMaxHits]; fPosCenter = NULL; } @@ -125,10 +118,6 @@ THcScintillatorPlane::~THcScintillatorPlane() delete frNegAdcPulseInt; delete frNegAdcPulseAmp; - delete fpTimes; - delete [] fScinTime; - delete [] fScinSigma; - delete [] fScinZpos; delete [] fPosCenter; delete [] fHodoPosMinPh; fHodoPosMinPh = NULL; diff --git a/src/THcScintillatorPlane.h b/src/THcScintillatorPlane.h index 0d5a8e442fe08325759421745119dc5d4e6d3c1d..a56889b4f14e9139526b4239a6eb57883baea1ff 100644 --- a/src/THcScintillatorPlane.h +++ b/src/THcScintillatorPlane.h @@ -227,10 +227,6 @@ class THcScintillatorPlane : public THaSubDetector { // Int_t fNScinGoodHits; // number of hits for which both ends of the paddle fired in time! Double_t fpTime; // the original code only has one fpTime per plane! - Double_t *fpTimes; // ... but also allows for more than one hit per plane - Double_t *fScinTime; // array of scintillator times (only filled for goodhits) - Double_t *fScinSigma; // errors for the above - Double_t *fScinZpos; // zpositions for the above virtual Int_t ReadDatabase( const TDatime& date ); virtual Int_t DefineVariables( EMode mode = kDefine );