- Timestamp:
- 10/08/06 15:36:17 (18 years ago)
- Location:
- trunk/MagicSoft
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r8023 r8024 47 47 - removed a memory leak by removing the functions creating the 48 48 axes 49 50 * mcalib/MMcCalibrationCalc.cc, mmc/MMcConfigRunHeader.h: 51 - return and use a const-reference to the TArrayF's 49 52 50 53 -
trunk/MagicSoft/Mars/mcalib/MMcCalibrationCalc.cc
r7188 r8024 224 224 return kFALSE; 225 225 } 226 TArrayFinnerlightcoll = mcconfig->GetLightCollectionFactor();227 TArrayFouterlightcoll = mcconfig->GetLightCollectionFactorOuter();226 const TArrayF &innerlightcoll = mcconfig->GetLightCollectionFactor(); 227 const TArrayF &outerlightcoll = mcconfig->GetLightCollectionFactorOuter(); 228 228 229 229 // In principle outer pixels seem to have a different average light -
trunk/MagicSoft/include-Classes/MMcFormat/MMcConfigRunHeader.h
r7880 r8024 84 84 void SetMissPointingY(Float_t x) {fMissPointingY=x;} 85 85 86 TArrayF GetLightCollectionFactor() const {return fLightCollectionFactor; } 87 TArrayF GetLightCollectionFactorOuter() const 88 {return fLightCollectionFactorOuter; } 86 const TArrayF &GetLightCollectionFactor() const {return fLightCollectionFactor; } 87 const TArrayF &GetLightCollectionFactorOuter() const {return fLightCollectionFactorOuter; } 89 88 90 89 Float_t GetMirrorFraction() const { return fMirrorFraction; } 91 90 92 TArrayFGetIncidentTheta() const {return fIncidentTheta;}91 const TArrayF &GetIncidentTheta() const {return fIncidentTheta;} 93 92 94 93 void AddMirror(Int_t id)
Note:
See TracChangeset
for help on using the changeset viewer.