Changeset 859 for trunk/MagicSoft/Mars/mmontecarlo
- Timestamp:
- 07/06/01 14:48:54 (23 years ago)
- Location:
- trunk/MagicSoft/Mars/mmontecarlo
- Files:
-
- 2 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++) -
trunk/MagicSoft/Mars/mmontecarlo/MMcThresholdCalc.h
r846 r859 23 23 UInt_t fDimension; 24 24 25 MMcEvt*fMcEvt; // Container with Monte Carlo information26 MMcTrig **fMcTrig; // Container with Monte Carlo trigger information27 MHMcEnergy **fHMcEnergy; // Container where we save the energy (threshold)25 const MMcEvt *fMcEvt; // Container with Monte Carlo information 26 MMcTrig **fMcTrig; // Container with Monte Carlo trigger information 27 MHMcEnergy **fHMcEnergy; // Container where we save the energy (threshold) 28 28 29 Bool_t *fMustDelete; // delete indicator for selfcreated energy hists29 Bool_t *fMustDelete; // delete indicator for selfcreated energy hists 30 30 31 31 public:
Note:
See TracChangeset
for help on using the changeset viewer.