Changeset 6243


Ignore:
Timestamp:
02/03/05 15:01:55 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r6242 r6243  
    4848       usage!). Use an event selector, however to not skip the Process.
    4949       This is as fast as before and now safe for any kind of extractor
    50 
     50 
     51   * mcalib/MCalibrationCam.h
     52   * mcalib/MCalibrationTestCam.h
     53   * mcalib/MCalibrationTestCam.cc
     54     - initialize a missing array in InitAverageAreas
    5155
    5256 2005/02/02 Markus Gaug
  • trunk/MagicSoft/Mars/mcalib/MCalibrationCam.h

    r5128 r6243  
    5454  virtual void AddSector(const UInt_t a, const UInt_t b);
    5555 
     56  void  InitSize               ( const UInt_t i               );
     57  void  InitAverageSectors     ( const UInt_t i               );
     58  virtual void  InitAverageAreas       ( const UInt_t i               );
     59
    5660public:
    5761
     
    9094  // Inits
    9195  void  Init                   ( const MGeomCam &geom         );
    92   void  InitSize               ( const UInt_t i               );
    93   void  InitAverageAreas       ( const UInt_t i               );
    94   void  InitAverageSectors     ( const UInt_t i               );
    9596
    9697  // Setters
  • trunk/MagicSoft/Mars/mcalib/MCalibrationTestCam.cc

    r5047 r6243  
    122122
    123123
     124// -------------------------------------------------------------------
     125//
     126// Initialize the objects inside the TOrdCollections
     127// - fAverageAreas
     128// - fAverageBadAreas
     129// using the virtual function Add().
     130//
     131// InitSize can only increase the size, but not shrink.
     132//
     133// It can be called more than one time. New Containers are
     134// added only from the current size to the argument i.
     135//
     136void MCalibrationTestCam::InitAverageAreas(const UInt_t i)
     137{
     138
     139  const UInt_t save = GetAverageAreas();
     140
     141  if (i==save)
     142    return;
     143 
     144  fNumUninterpolated.Set(i);
     145 
     146  MCalibrationCam::InitAverageAreas(i);
     147 
     148  return;
     149 
     150}
     151
     152
     153
    124154// --------------------------------------------------------------------------
    125155//
  • trunk/MagicSoft/Mars/mjobs/calibrationref_Nov04.rc

    r6157 r6243  
     1#
     2# Reference lines for the data check, valid from for data
     3# from Nov. 04 on
     4#
    15ConvFADC2PheMin:          0.
    26ConvFADC2PheMax:          4.
Note: See TracChangeset for help on using the changeset viewer.