Changeset 3344 for trunk


Ignore:
Timestamp:
02/27/04 20:07:20 (21 years ago)
Author:
moralejo
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r3343 r3344  
    55                                                 -*-*- END OF LINE -*-*-
    66 2004/02/27: Raducci Sebastian
     7
    78   * mhist/Makefile
    89     - added mastro in the include list
    910
     11
    1012 2004/02/27: Abelardo Moralejo
     13
    1114   * mmain/MEventDisplay.cc
    1215     - replaced in fill8 obsolete MArrivalTime with MArrivalTimeCam.
     16     - Updated display of MC data: removed MCerPhotCalc, and replaced
     17       it by MExtractSignal+MMcCalibrationUpdate+MCalibrate. Now
     18       MPedPhotCam is filled and all the camera display tabs are shown
     19       correctly (most were not working for MC events since a while
     20       ago).
     21
     22   * manalysis/MMcCalibrationUpdate.[h,cc]
     23     - Added member variable Bool_t fOuterPixelsScaling, which is
     24       kTRUE by default. If set to kFALSE, MCalibrationCam is filled
     25       such that MCerPhotEvt will later be filled with the signal as it
     26       is, not corrected for the (possibly) different gain of the outer
     27       pixels electronic chain. This option was necessary to allow for
     28       the change in the camera display (see above).
     29
     30   * manalysis/Makefile
     31     - Added mcalib to list of include directories.
    1332
    1433   * macros/starmc.C
  • trunk/MagicSoft/Mars/manalysis/MMcCalibrationUpdate.cc

    r3265 r3344  
    8181
    8282    fFillCalibrationCam = kTRUE;
    83 
     83    fOuterPixelsGainScaling = kTRUE;
    8484}
    8585
     
    209209
    210210    //
    211     // Set the ADC to photons conversion factor for outer pixels:
    212     //
    213     fADC2PhOuter = fADC2PhInner * (fAmplitude / fAmplitudeOuter);
     211    // Set the ADC to photons conversion factor for outer pixels.
     212    // One can choose not to apply the known (in MC) gain factor between
     213    // inner and outer pixels, (fOuterPixelsGainScaling = kFALSE),
     214    // which may be useful for display purposes.
     215    //
     216
     217    if (fOuterPixelsGainScaling)
     218      fADC2PhOuter = fADC2PhInner * (fAmplitude / fAmplitudeOuter);
     219    else
     220      fADC2PhOuter = fADC2PhInner;
     221
    214222
    215223    const int num = fCalCam->GetSize();
Note: See TracChangeset for help on using the changeset viewer.