Changeset 2660 for trunk/MagicSoft/Mars/manalysis
- Timestamp:
- 12/11/03 21:53:53 (21 years ago)
- Location:
- trunk/MagicSoft/Mars/manalysis
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/manalysis/MCalibrationCalc.cc
r2658 r2660 345 345 pix.SetChargesInGraph(sumhi,sumlo); 346 346 347 if (!pix.FillRChargevsTimeLoGain(sumlo,fEvents)) 348 *fLog << warn << "Could not fill Lo Gain Charge vs. EvtNr of pixel: " 349 << pixid << " signal = " << sumlo << " event Nr: " << fEvents << endl; 350 351 if (!pix.FillRChargevsTimeHiGain(sumhi,fEvents)) 352 *fLog << warn << "Could not fill Hi Gain Charge vs. EvtNr of pixel: " 353 << pixid << " signal = " << sumhi << " event Nr: " << fEvents << endl; 354 347 355 if (logain) 348 356 { … … 355 363 *fLog << warn << "Could not fill Lo Gain Time of pixel: " 356 364 << pixid << " time = " << mtime << endl; 357 358 if (!pix.FillRChargevsTimeLoGain(sumlo,fEvents))359 *fLog << warn << "Could not fill Lo Gain Charge vs. EvtNr of pixel: "360 << pixid << " signal = " << sumlo << " event Nr: " << fEvents << endl;361 365 362 366 } … … 371 375 << pixid << " time = " << mtime << endl; 372 376 373 if (!pix.FillRChargevsTimeHiGain(sumhi,fEvents))374 *fLog << warn << "Could not fill Hi Gain Charge vs. EvtNr of pixel: "375 << pixid << " signal = " << sumhi << " event Nr: " << fEvents << endl;376 377 } 377 378 break; -
trunk/MagicSoft/Mars/manalysis/MCalibrationCam.cc
r2642 r2660 405 405 { 406 406 407 if (idx > GetSize()) 408 return kFALSE; 409 407 410 switch (type) 408 411 { … … 429 432 break; 430 433 case 7: 431 val = (*this)[idx].GetTime Prob();434 val = (*this)[idx].GetTimeChiSquare(); 432 435 break; 433 436 case 8: … … 438 441 break; 439 442 case 10: 440 val = TMath::Sqrt((*this)[idx].GetRSigmaSquare()); 443 if ((*this)[idx].GetRSigmaSquare() > 0.) 444 val = TMath::Sqrt((*this)[idx].GetRSigmaSquare()); 445 else 446 val = -1.; 441 447 break; 442 448 case 15: -
trunk/MagicSoft/Mars/manalysis/MCalibrationCam.h
r2642 r2660 22 22 #endif 23 23 24 #ifndef ROOT_TH1F 25 #include <TH1F.h> 26 #endif 24 27 25 28 class MGeomCam; … … 41 44 Float_t fMeanNrPhotInnerPix; // The mean number of photons in an inner pixel 42 45 Float_t fMeanNrPhotInnerPixErr; // The uncertainty about the number of photons in an inner pixel 46 47 TH1F* fHChargeAllPixels; 48 TH1F* fHChargeErrAllPixels; 49 TH1F* fHChargeSigmaAllPixels; 50 TH1F* fHChargeProbAllPixels; 51 52 TH1F* fHTimeAllPixels; 53 TH1F* fHTimeSigmaAllPixels; 54 TH1F* fHTimeProbAllPixels; 55 56 TH1F* fHPedAllPixels; 57 TH1F* fHPedRMSAllPixels; 58 59 TH1F* fHSigmaPerChargeAllPixels; 60 TH1F* fHPhEAllPixels; 61 62 TH1F* fHConvPhEperFADCAllPixels; 63 TH1F* fHConvPhperFADCAllPixels; 43 64 44 65 public: -
trunk/MagicSoft/Mars/manalysis/MCalibrationPix.cc
r2658 r2660 56 56 fTime(-1.), 57 57 fSigmaTime(-1.), 58 fTime Prob(-1.),58 fTimeChiSquare(-1.), 59 59 fFactor(1.3), 60 60 fPheFFactorMethod(-1.), … … 201 201 } 202 202 203 fTime = fHist->GetTimeMean();204 fSigmaTime = fHist->GetTimeSigma();205 fTime Prob = fHist->GetTimeProb();203 fTime = fHist->GetTimeMean(); 204 fSigmaTime = fHist->GetTimeSigma(); 205 fTimeChiSquare = fHist->GetTimeChiSquare(); 206 206 207 207 return kTRUE; -
trunk/MagicSoft/Mars/manalysis/MCalibrationPix.h
r2642 r2660 26 26 Float_t fTime; // The mean arrival time after the fit 27 27 Float_t fSigmaTime; // The error of the mean arrival time after the fit 28 Float_t fTime Prob;// The probability of the fit function28 Float_t fTimeChiSquare; // The probability of the fit function 29 29 30 30 Float_t fFactor; // The laboratory F-factor … … 53 53 Float_t GetSigmaCharge() const { return fSigmaCharge; } 54 54 Float_t GetErrSigmaCharge() const { return fErrSigmaCharge; } 55 Float_t GetTime() const { return fTime; }56 Float_t GetSigmaTime() const { return fSigmaTime; }57 Float_t GetTime Prob() const { return fTimeProb;}55 Float_t GetTime() const { return fTime; } 56 Float_t GetSigmaTime() const { return fSigmaTime; } 57 Float_t GetTimeChiSquare() const { return fTimeChiSquare; } 58 58 59 Float_t GetPed() const { return fPed; }60 Float_t GetPedRms() const { return fPedRms; }59 Float_t GetPed() const { return fPed; } 60 Float_t GetPedRms() const { return fPedRms; } 61 61 62 62 void SetPedestal(Float_t ped, Float_t pedrms); -
trunk/MagicSoft/Mars/manalysis/MExtractSignal.cc
r2658 r2660 211 211 212 212 sumLo += *ptr; 213 213 214 if (*ptr >= fSaturationLimit) 214 215 { … … 219 220 } 220 221 } 222 221 223 pix.SetExtractedSignal((float)sumHi - pedes*(float)fNumHiGainSamples, 222 224 pedrms*fSqrtHiGainSamples,
Note:
See TracChangeset
for help on using the changeset viewer.