- Timestamp:
- 08/03/04 15:31:23 (20 years ago)
- Location:
- trunk/MagicSoft/Mars/mtemp/mifae
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mtemp/mifae/Changelog
r4439 r4442 18 18 19 19 -*-*- END OF LINE -*-*- 20 21 2004/08/03 Ester Aliu Fusté 22 * library/MIslands.[h, cc], MIslandCalc.[h,cc] 23 - Add the delete for the pointers 20 24 21 25 2004/08/02 Ester Aliu Fusté -
trunk/MagicSoft/Mars/mtemp/mifae/library/MIslandCalc.cc
r4439 r4442 228 228 if (i == 0) 229 229 fIsl->SetIslId(idx, -1); 230 fIsl->SetArrivalTime(i, idx, -1 );230 //fIsl->SetArrivalTime(i, idx, -1 ); 231 231 } 232 232 } … … 297 297 298 298 fIsl->SetIslId(idx, i-1); 299 fIsl->SetArrivalTime(i-1, idx, time[n]);299 // fIsl->SetArrivalTime(i-1, idx, time[n]); 300 300 301 301 n++; … … 406 406 fIsl->SetReadyToSave(); 407 407 408 /*delete [] vect; 409 delete [] num; 410 delete [] ftime; 411 delete [] fIslId; 412 */ 408 409 for(Int_t i=0;i<nVect;i++) 410 delete [] vect[i]; 411 412 delete vect; 413 413 414 return kTRUE; 414 415 } -
trunk/MagicSoft/Mars/mtemp/mifae/library/MIslands.cc
r4439 r4442 30 30 MIslands::~MIslands() 31 31 { 32 32 delete fPixNum; 33 delete fSigToNoise; 34 delete fTimeSpread; 35 delete fMeanX; 36 delete fMeanY; 37 delete fDist; 38 delete fDistL; 39 delete fDistW; 33 40 } 34 41 -
trunk/MagicSoft/Mars/mtemp/mifae/library/MIslands.h
r4439 r4442 29 29 Float_t* fSigToNoise; //[fIslNum] signal to noise of the island 30 30 // Float_t** fTime; //[fIslNum] mean of the arrival time 31 Float_t fTime[10][577]; // mean of the arrival time31 // Float_t fTime[10][577]; // mean of the arrival time 32 32 Float_t* fTimeSpread; //[fIslNum] mean arrival time spread of the core pixels of the island 33 33 Float_t* fMeanX; //[fIslNum] mean X position of the island … … 51 51 //Int_t GetIslId(Int_t isl, Int_t idx) { return fIslId[isl][idx]; } 52 52 // TObjArray GetIslId() {return fIslId;} 53 Float_t GetArrivalTime(Int_t isl, Int_t idx) { return fTime[isl][idx]; }53 // Float_t GetArrivalTime(Int_t isl, Int_t idx) { return fTime[isl][idx]; } 54 54 //TObjArray GetArrivalTime() { return fTime; } 55 55 Int_t GetPixNum(Int_t isl) { return fPixNum[isl]; } … … 70 70 71 71 // void SetIslId(Int_t** vect) { fIslId = vect; } 72 void SetArrivalTime(Int_t isl, Int_t idx, Float_t val) { fTime[isl][idx] = val;}72 // void SetArrivalTime(Int_t isl, Int_t idx, Float_t val) { fTime[isl][idx] = val;} 73 73 // void SetArrivalTime(Float_t** vect) { fTime = vect;} 74 74 void SetPixNum(Int_t* npix) { fPixNum = npix; }
Note:
See TracChangeset
for help on using the changeset viewer.