Changeset 859 for trunk/MagicSoft/Mars/mmontecarlo/MMcThresholdCalc.cc
- Timestamp:
- 07/06/01 14:48:54 (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mmontecarlo/MMcThresholdCalc.cc
r855 r859 28 28 // MMcThresholdCalc // 29 29 // // 30 // Input Containers: // 31 // MMcEvt // 32 // // 33 // Output Containers: // 34 // MMcTrig;*, MHMcEnergy;* // 35 // // 30 36 ///////////////////////////////////////////////////////////////////////////// 31 37 … … 52 58 *fTitle = title ? title : "Task to calculate the energy threshold from Monte Carlo"; 53 59 54 fMcTrig = new (MMcTrig*)[fDimension];55 fHMcEnergy = new (MHMcEnergy*)[fDimension];60 fMcTrig = new MMcTrig*[fDimension]; 61 fHMcEnergy = new MHMcEnergy*[fDimension]; 56 62 fMustDelete = new Bool_t[fDimension]; 57 63 … … 75 81 // connect Monte Carlo data with this task 76 82 77 char auxname[15]="MMcTrig"; // string to write container names78 79 83 fMcEvt = (MMcEvt*)pList->FindObject("MMcEvt"); 80 84 if (!fMcEvt) … … 83 87 return kFALSE; 84 88 } 89 90 char auxname[15]="MMcTrig"; // string to write container names 85 91 86 92 for (unsigned int i=0; i<fDimension; i++)
Note:
See TracChangeset
for help on using the changeset viewer.