Changeset 5404


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

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r5402 r5404  
    2121                                                 -*-*- END OF LINE -*-*-
    2222
     23 2004/11/16: Markus Gaug
     24
     25   * mcalib/MCalibrationQEPix.[h,cc]
     26     - give as argument to UpdateBlindPixelMethod() and
     27       UpdateFFactorMethod() the transmission of the plexiglass and the
     28       its rel. variance.
     29       This divides the normalization factor by those numbers and fixes a
     30       bug in the absolute normalization.
     31
     32   * mcalib/MCalibrationChargeCalc.cc
     33     - give the new arguments to MCalibrationQEPix
     34
     35
    2336 2004/11/15: Thomas Bretz
    2437
     
    7790       (MHCalibrationChargeChargeBlindCam -> MHCalibrationChargeBlindCam)
    7891     - introduced the new blind pixels initialization
     92
     93   * msignal/MExtractBlindPixel.cc
     94     - added MRawEvtData2 to BranchList
    7995
    8096
  • trunk/MagicSoft/Mars/mcalib/MCalibrationQEPix.cc

    r5133 r5404  
    12601260// Update the Blind Pixel Method: Calculate new average QE's
    12611261//
    1262 Bool_t  MCalibrationQEPix::UpdateBlindPixelMethod()
     1262Bool_t  MCalibrationQEPix::UpdateBlindPixelMethod( const Float_t plex, const Float_t plexrelvar )
    12631263{
    12641264
     
    12741274    return kFALSE;
    12751275
    1276   fAvNormBlindPixel     = weightedav / sumweights;
    1277   fAvNormBlindPixelVar  = 1./ sumweights ;
     1276  fAvNormBlindPixel     = weightedav / plex / sumweights;
     1277  fAvNormBlindPixelVar  = 1./ sumweights  + plexrelvar*fAvNormFFactor;
    12781278
    12791279  SetAverageQEBlindPixelAvailable();
     
    13261326// Update the F-Factor Method: Calculate new average QE's
    13271327//
    1328 Bool_t  MCalibrationQEPix::UpdateFFactorMethod()
     1328Bool_t  MCalibrationQEPix::UpdateFFactorMethod( const Float_t plex, const Float_t plexrelvar)
    13291329{
    13301330
     
    13401340    return kFALSE;
    13411341
    1342   fAvNormFFactor     = weightedav / sumweights;
    1343   fAvNormFFactorVar  = 1./ sumweights ;
     1342  fAvNormFFactor     = weightedav / plex / sumweights;
     1343  fAvNormFFactorVar  = 1./ sumweights + plexrelvar*fAvNormFFactor;
    13441344 
    13451345  SetAverageQEFFactorAvailable();
  • trunk/MagicSoft/Mars/mcalib/MCalibrationQEPix.h

    r5045 r5404  
    166166
    167167  // Updates
    168   Bool_t  UpdateBlindPixelMethod();
     168  Bool_t  UpdateBlindPixelMethod( const Float_t plex, const Float_t plexrelvar );
    169169  Bool_t  UpdateCombinedMethod  ();
    170   Bool_t  UpdateFFactorMethod   ();
     170  Bool_t  UpdateFFactorMethod   ( const Float_t plex, const Float_t plexrelvar );
    171171  Bool_t  UpdatePINDiodeMethod  ();
    172172
Note: See TracChangeset for help on using the changeset viewer.