Changeset 4673
- Timestamp:
- 08/18/04 00:40:42 (20 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r4670 r4673 46 46 - fix default to previous behaviour such that old code can still 47 47 run on old files without changes 48 - create copy function 48 49 49 50 * macros/calibration.C -
trunk/MagicSoft/Mars/mcalib/MCalibrationChargeBlindCam.cc
r4671 r4673 99 99 { 100 100 101 MParContainer::Copy(object);102 103 101 MCalibrationChargeBlindCam &calib = (MCalibrationChargeBlindCam&)object; 104 102 calib.fPulserColor = fPulserColor; -
trunk/MagicSoft/Mars/mcalib/MCalibrationChargeBlindPix.cc
r4672 r4673 197 197 } 198 198 199 // ----------------------------------------------------- 200 // 201 // copy 'constructor' 202 // 203 void MCalibrationChargeBlindPix::Copy(TObject& object) const 204 { 205 206 MCalibrationChargeBlindPix &pix = (MCalibrationChargeBlindPix&)object; 207 208 // 209 // Copy the data members 210 // 211 pix.fArea = fArea; 212 pix.fAtt = fAtt; 213 pix.fAttErr = fAttErr; 214 pix.fQE = fQE; 215 pix.fQEErr = fQEErr; 216 pix.fCollEff = fCollEff; 217 pix.fCollEffErr = fCollEffErr; 218 219 pix.fLambda = fLambda; 220 pix.fLambdaCheck = fLambdaCheck; 221 pix.fLambdaCheckErr = fLambdaCheckErr; 222 pix.fLambdaVar = fLambdaVar; 223 pix.fFluxInsidePlexiglass = fFluxInsidePlexiglass; 224 pix.fFluxInsidePlexiglassVar = fFluxInsidePlexiglassVar; 225 pix.fMu0 = fMu0; 226 pix.fMu0Err = fMu0Err; 227 pix.fMu1 = fMu1; 228 pix.fMu1Err = fMu1Err; 229 pix.fSigma0 = fSigma0; 230 pix.fSigma0Err = fSigma0Err; 231 pix.fSigma1 = fSigma1; 232 pix.fSigma1Err = fSigma1Err; 233 234 pix.fColor = fColor; 235 pix.fPixId = fPixId; 236 pix.fFlags = fFlags; 237 238 } 239 240 199 241 // -------------------------------------------------------------------------- 200 242 // -
trunk/MagicSoft/Mars/mcalib/MCalibrationChargeBlindPix.h
r4669 r4673 68 68 Bool_t CalcFluxInsidePlexiglass(); 69 69 void Clear(Option_t *o=""); 70 void Copy(TObject& object) const; 70 71 71 72 // Getters
Note:
See TracChangeset
for help on using the changeset viewer.