Ignore:
Timestamp:
12/15/03 14:20:47 (21 years ago)
Author:
gaug
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/manalysis/MCalibrationCam.cc

    r2665 r2673  
    510510      break;
    511511    case 12:
    512       val = (*this)[idx].GetConversionFFactorMethod();
     512      val = (*this)[idx].GetMeanConversionFFactorMethod();
    513513      break;
    514514    case 13:
     
    551551 
    552552  const Float_t mean = fBlindPixel->GetLambda();
    553   //  const Float_t merr = fBlindPixel->GetErrLambda();
     553  const Float_t merr = fBlindPixel->GetErrLambda();
    554554 
    555555  switch (fColor)
     
    616616    return kFALSE;
    617617
    618   Float_t conv = (*this)[ipx].GetConversionFFactorMethod();
     618  Float_t conv = (*this)[ipx].GetMeanConversionFFactorMethod();
    619619
    620620  if (conv < 0.)
    621621    return kFALSE;
    622622
    623   mean = conv;
    624 
    625   //
    626   // Not yet ready , sorry
    627   //
    628   err  = -1.;
    629   sigma = -1.;
     623  mean  = conv;
     624  err   = (*this)[ipx].GetErrorConversionFFactorMethod();
     625  sigma = (*this)[ipx].GetSigmaConversionFFactorMethod();
    630626
    631627  return kTRUE;
     
    633629
    634630
     631//-----------------------------------------------------------------------------------
     632//
     633// Calculates the conversion factor between the integral of FADCs slices
     634// (as defined in the signal extractor MExtractSignal.cc)
     635// and the number of photons reaching the plexiglass for one Inner Pixel
     636//
     637// FIXME: The PINDiode is still not working and so is the code
     638//
    635639Bool_t MCalibrationCam::GetConversionFactorPINDiode(Int_t ipx, Float_t &mean, Float_t &err, Float_t &sigma)
    636640{
    637641
    638   return kTRUE;
    639 
    640 }
    641 
     642  if (ipx < 0 || !IsPixelFitted(ipx))
     643    return kFALSE;
     644
     645  return kFALSE;
     646
     647}
     648
     649//-----------------------------------------------------------------------------------
     650//
     651// Calculates the best combination of the three used methods possible
     652// between the integral of FADCs slices
     653// (as defined in the signal extractor MExtractSignal.cc)
     654// and the number of photons reaching one Inner Pixel.
     655// The procedure is not yet defined.
     656//
     657// FIXME: The PINDiode is still not working and so is the code
     658//
    642659Bool_t MCalibrationCam::GetConversionFactorCombined(Int_t ipx, Float_t &mean, Float_t &err, Float_t &sigma)
    643660{
    644661
    645   return kTRUE;
    646 
    647 }
     662  if (ipx < 0 || !IsPixelFitted(ipx))
     663    return kFALSE;
     664
     665  return kFALSE;
     666
     667}
Note: See TracChangeset for help on using the changeset viewer.