Changeset 3315 for trunk


Ignore:
Timestamp:
02/26/04 03:19:40 (21 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mcalib
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mcalib/MCalibrationChargeBlindPix.cc

    r3293 r3315  
    194194}
    195195
    196 
    197 
    198196// --------------------------------------------------------------------------
    199197//
     
    219217  switch (fColor)
    220218    {
    221     case kEGreen:
     219    case kGREEN:
    222220      fMeanFluxInsidePlexiglass    /= gkBlindPixelQEGreen;   
    223221      fMeanFluxErrInsidePlexiglass += gkBlindPixelQEGreenErr*gkBlindPixelQEGreenErr
     
    227225      // attenuation has negligible error
    228226      break;
    229     case kEBlue:
     227    case kBLUE:
    230228      fMeanFluxInsidePlexiglass    /= gkBlindPixelQEBlue;   
    231229      fMeanFluxErrInsidePlexiglass += gkBlindPixelQEBlueErr*gkBlindPixelQEBlueErr
     
    235233      // attenuation has negligible error
    236234      break;
    237     case kEUV:
     235    case kUV:
    238236      fMeanFluxInsidePlexiglass    /= gkBlindPixelQEUV;   
    239237      fMeanFluxErrInsidePlexiglass += gkBlindPixelQEUVErr*gkBlindPixelQEUVErr
     
    243241      // attenuation has negligible error
    244242      break;
    245     case kECT1:
     243    case kCT1:
    246244    default:
    247245      fMeanFluxInsidePlexiglass    /= gkBlindPixelQECT1;   
  • trunk/MagicSoft/Mars/mcalib/MCalibrationChargeBlindPix.h

    r3293 r3315  
    5656  enum { kOscillating, kPedestalFitOK, kSinglePheFitOK, kChargeFitValid, kExcluded,
    5757         kFluxInsidePlexiglassAvailable };
    58 
    59 public:
    60 
    61   enum PulserColor_t { kEBlue, kEGreen, kEUV, kECT1 } ;
    62 
    63 private:
    6458
    6559  PulserColor_t fColor; 
  • trunk/MagicSoft/Mars/mcalib/MCalibrationChargePINDiode.cc

    r3291 r3315  
    318318  switch (fColor)
    319319    {
    320     case kEGreen:
     320    case kGREEN:
    321321      fMeanFluxOutsidePlexiglass    /= gkPINDiodeQEGreen;
    322322      fMeanFluxErrOutsidePlexiglass += gkPINDiodeQEGreenErr*gkPINDiodeQEGreenErr
    323323                                     / gkPINDiodeQEGreen/gkPINDiodeQEGreen;
    324324      break;
    325     case kEBlue:
     325    case kBLUE:
    326326      fMeanFluxOutsidePlexiglass    /= gkPINDiodeQEBlue;
    327327      fMeanFluxErrOutsidePlexiglass += gkPINDiodeQEBlueErr*gkPINDiodeQEBlueErr
    328328                                     / gkPINDiodeQEBlue/gkPINDiodeQEBlue;
    329329      break;
    330     case kEUV:
     330    case kUV:
    331331      fMeanFluxOutsidePlexiglass    /= gkPINDiodeQEUV;
    332332      fMeanFluxErrOutsidePlexiglass += gkPINDiodeQEUVErr*gkPINDiodeQEUVErr
    333333                                     / gkPINDiodeQEUV/gkPINDiodeQEUV;
    334334      break;
    335     case kECT1:
     335    case kCT1:
    336336    default:
    337337      fMeanFluxOutsidePlexiglass    /= gkPINDiodeQECT1;
  • trunk/MagicSoft/Mars/mcalib/MCalibrationChargePINDiode.h

    r3291 r3315  
    6666  Float_t fMeanFluxOutsidePlexiglass;         //  The mean number of photons in an INNER PIXEL outside the plexiglass
    6767  Float_t fMeanFluxErrOutsidePlexiglass;      //  The uncertainty about the number of photons in an INNER PIXEL 
    68 
    69 public:
    70 
    71   enum PulserColor_t { kEBlue, kEGreen, kEUV, kECT1 } ;
    72 
    73 private:
    7468
    7569  PulserColor_t fColor; 
Note: See TracChangeset for help on using the changeset viewer.