Changeset 4943 for trunk/MagicSoft/Mars/mhcalib
- Timestamp:
- 09/10/04 21:34:07 (20 years ago)
- Location:
- trunk/MagicSoft/Mars/mhcalib
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhcalib/MHCalibrationChargeBlindPix.cc
r4929 r4943 270 270 void MHCalibrationChargeBlindPix::Reset() 271 271 { 272 } 273 274 275 // -------------------------------------------------------------------------- 276 // 277 // Use the MHGausEvents::Clone function and clone additionally the rest of the 278 // data members. 279 // 280 TObject *MHCalibrationChargeBlindPix::Clone(const char *name) const 281 { 282 283 MHCalibrationChargeBlindPix &pix = (MHCalibrationChargeBlindPix&)*MHCalibrationPix::Clone(name); 284 // 285 // Copy data members 286 // 287 pix.fSinglePheCut = fSinglePheCut; 288 pix.fNumSinglePheLimit = fNumSinglePheLimit; 289 290 pix.fASinglePheFADCSlices = fASinglePheFADCSlices; 291 pix.fAPedestalFADCSlices = fAPedestalFADCSlices; 292 293 pix.fSinglePheFit = (TF1*)fSinglePheFit->Clone(); 294 295 pix.fNumSinglePhes = fNumSinglePhes; 296 pix.fNumPedestals = fNumPedestals; 297 pix.fLambda = fLambda; 298 pix.fLambdaCheck = fLambdaCheck; 299 pix.fMu0 = fMu0; 300 pix.fMu1 = fMu1; 301 pix.fSigma0 = fSigma0; 302 pix.fSigma1 = fSigma1; 303 pix.fLambdaErr = fLambdaErr; 304 pix.fLambdaCheckErr = fLambdaCheckErr; 305 pix.fMu0Err = fMu0Err; 306 pix.fMu1Err = fMu1Err; 307 pix.fSigma0Err = fSigma0Err; 308 pix.fSigma1Err = fSigma1Err; 309 pix.fChisquare = fChisquare; 310 pix.fNDF = fNDF; 311 pix.fProb = fProb; 312 pix.fMeanPedestal = fMeanPedestal; 313 pix.fSigmaPedestal = fSigmaPedestal; 314 pix.fMeanPedestalErr = fMeanPedestalErr; 315 pix.fSigmaPedestalErr = fSigmaPedestalErr; 316 pix.fFlags = fFlags; 317 318 return &pix; 272 319 } 273 320 -
trunk/MagicSoft/Mars/mhcalib/MHCalibrationChargeBlindPix.h
r4929 r4943 96 96 void Reset(); 97 97 98 //TObject *Clone(const char *) const;98 TObject *Clone(const char *) const; 99 99 100 100 Bool_t SetupFill(const MParList *pList); -
trunk/MagicSoft/Mars/mhcalib/MHCalibrationChargePINDiode.cc
r4929 r4943 162 162 163 163 } 164 165 // -------------------------------------------------------------------------- 166 // 167 // Use the MHCalibrationChargePix::Clone function and clone additionally 168 // the rest of the data members. 169 // 170 TObject *MHCalibrationChargePINDiode::Clone(const char *name) const 171 { 172 173 MHCalibrationChargePINDiode &pix = (MHCalibrationChargePINDiode&)*MHCalibrationChargePix::Clone(name); 174 // 175 // Copy data members 176 // 177 pix.fHRmsCharge = fHRmsCharge; 178 179 pix.fRmsChargeFirst = fRmsChargeFirst; 180 pix.fRmsChargeLast = fRmsChargeLast; 181 pix.fRmsChargeNbins = fRmsChargeNbins; 182 pix.fRmsChargeMean = fRmsChargeMean; 183 pix.fRmsChargeMeanErr = fRmsChargeMeanErr; 184 pix.fRmsChargeSigma = fRmsChargeSigma; 185 pix.fRmsChargeSigmaErr = fRmsChargeSigmaErr; 186 pix.fTimeLowerLimit = fTimeLowerLimit; 187 pix.fTimeUpperLimit = fTimeUpperLimit; 188 189 return &pix; 190 } 191 164 192 165 193 // -------------------------------------------------------------------------- -
trunk/MagicSoft/Mars/mhcalib/MHCalibrationChargePINDiode.h
r4929 r4943 46 46 ~MHCalibrationChargePINDiode(){} 47 47 48 TObject *Clone(const char* name="") const; 49 48 50 Bool_t SetupFill(const MParList *pList); 49 51 Bool_t ReInit ( MParList *pList); -
trunk/MagicSoft/Mars/mhcalib/MHCalibrationRelTimeCam.cc
r4942 r4943 261 261 MHCalibrationPix &pix = GetAverageHiGainArea(j); 262 262 263 pix.SetNbins(fRelTimeNbins* TMath::Sqrt((Float_t)npixels/nareas));263 pix.SetNbins(fRelTimeNbins*(Int_t)TMath::Sqrt((Float_t)npixels/nareas)); 264 264 pix.SetFirst(fRelTimeFirst); 265 265 pix.SetLast (fRelTimeLast); … … 298 298 MHCalibrationPix &pix = GetAverageLoGainArea(j); 299 299 300 pix.SetNbins(fRelTimeNbins* TMath::Sqrt((Float_t)npixels/nareas));300 pix.SetNbins(fRelTimeNbins*(Int_t)TMath::Sqrt((Float_t)npixels/nareas)); 301 301 pix.SetFirst(fRelTimeFirst); 302 302 pix.SetLast (fRelTimeLast); … … 335 335 MHCalibrationPix &pix = GetAverageHiGainSector(j); 336 336 337 pix.SetNbins(fRelTimeNbins* TMath::Sqrt((Float_t)npixels/nsectors));337 pix.SetNbins(fRelTimeNbins*(Int_t)TMath::Sqrt((Float_t)npixels/nsectors)); 338 338 pix.SetFirst(fRelTimeFirst); 339 339 pix.SetLast (fRelTimeLast); … … 362 362 MHCalibrationPix &pix = GetAverageLoGainSector(j); 363 363 364 pix.SetNbins(fRelTimeNbins* TMath::Sqrt((Float_t)npixels/nsectors));364 pix.SetNbins(fRelTimeNbins*(Int_t)TMath::Sqrt((Float_t)npixels/nsectors)); 365 365 pix.SetFirst(fRelTimeFirst); 366 366 pix.SetLast (fRelTimeLast);
Note:
See TracChangeset
for help on using the changeset viewer.