Changeset 5384 for trunk/MagicSoft/Mars


Ignore:
Timestamp:
11/11/04 11:58:03 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r5381 r5384  
    2020
    2121                                                 -*-*- END OF LINE -*-*-
     22 2004/11/11: Markus Gaug
     23
     24   * mcalib/MCalibrationBlindPix.[h,cc]
     25     - introduced new data member: fAreaErr which is not zero for the
     26       third blind pixel
     27
     28   * msignal/MExtractor.cc:
     29     - changed default argument of SetNoiseCalculation back from kTRUE
     30       to kFALSE
     31
     32
    2233 2004/11/11: Thomas Bretz
    2334
     
    6576
    6677
    67 
    6878 2004/11/10: Abelardo Moralejo
    6979
     
    7585       on the text messages. At high energies the underestimation of Q
    7686       could be as large as a 20%.
    77 
    78 
    7987
    8088 2004/11/10: Markus Gaug
  • trunk/MagicSoft/Mars/mcalib/MCalibrationBlindPix.cc

    r5009 r5384  
    101101
    102102  fArea = fgArea;
     103  fAreaErr = 0.;
    103104
    104105  Float_t att[MCalibrationCam::gkNumPulserColors];
     
    226227  pix.fFlags      = fFlags;
    227228  pix.fArea       = fArea;                     
     229  pix.fAreaErr    = fAreaErr;                     
    228230  pix.fColor      = fColor;
    229231
     
    345347// --------------------------------------------------------------------------
    346348//
     349// Return fAreaErr^2 / (fArea^2 )
     350//
     351const Float_t MCalibrationBlindPix::GetAreaRelVar() const
     352{
     353  return fAreaErr*fAreaErr/fArea/fArea;
     354}
     355
     356
     357// --------------------------------------------------------------------------
     358//
    347359// Return TMath::Power(10,fAtt[fColor])
    348360//
     
    498510      return kFALSE;
    499511
    500   fFluxInsidePlexiglassVar = GetLambdaRelVar() + GetQERelVar() + GetAttRelVar() + GetCollEffRelVar();
     512  fFluxInsidePlexiglassVar = GetLambdaRelVar() + GetQERelVar() + GetAttRelVar() + GetCollEffRelVar() + GetAreaRelVar();
    501513
    502514  //
  • trunk/MagicSoft/Mars/mcalib/MCalibrationBlindPix.h

    r4986 r5384  
    3838  static const Float_t fgCollEffErr;   //! Uncertainty Collection Efficiency
    3939
    40   Float_t fArea;                       // Blind Pixel Area
     40  Float_t fArea;                       // Blind Pixel Area
     41  Float_t fAreaErr;                    // Blind Pixel Area Error
    4142  MArrayF fAtt;                        // Attenuation filter (per color)
    4243  MArrayF fAttErr;                     // Error attnuation filter (per color)
     
    7576 
    7677  // Getters
     78  const Float_t GetAreaRelVar   () const;
    7779  const Float_t GetAtt          () const;
    7880  const Float_t GetAttRelVar    () const;
     
    109111 
    110112  // Setters
    111   void SetArea      ( Float_t f )               { fArea = f; }
     113  void SetArea      ( Float_t f )               { fArea    = f; }
     114  void SetAreaErr   ( Float_t f )               { fAreaErr = f; } 
    112115 
    113116  void SetAtt       ( Int_t n, Float_t *array ) { fAtt       .Set(n,array); }
     
    138141  void SetFluxInsidePlexiglassAvailable( const Bool_t b=kTRUE);
    139142
    140   ClassDef(MCalibrationBlindPix, 1)     // Container Calibration Results Blind Pixel
     143  ClassDef(MCalibrationBlindPix, 2)     // Container Calibration Results Blind Pixel
    141144};
    142145
Note: See TracChangeset for help on using the changeset viewer.