Changeset 4122


Ignore:
Timestamp:
05/22/04 13:15:32 (21 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r4121 r4122  
    2525       the need for three times more memory during runtime than now. It
    2626       should not affect the current macros.
     27
     28   * macros/calibration.C
     29     - added a debug switch with which you can print out Object
     30       Allocation (like suggested by TBretz).
    2731
    2832
  • trunk/MagicSoft/Mars/macros/calibration.C

    r4069 r4122  
    6565// the default pedestal run for the calibration
    6666//
    67 static const Int_t   pedrun  = 13426;
     67static const Int_t   pedrun  = 26210;
    6868//
    6969// the default start calibration run
    7070//
    71 static const Int_t   calrun1 = 16744;
     71static const Int_t   calrun1 = 26209;
    7272//
    7373// the default last calibration run (if 0, only one run is taken, otherwise consecutive runs
     
    7575//
    7676static const Int_t calrun2 = 0;
    77 
     77//
     78// A switch to output debugging information about Objects use
     79//
     80static const Bool_t debug = kFALSE;
     81//
    7882void calibration(const Int_t prun=pedrun, const Int_t crun1=calrun1, const Int_t crun2=calrun2)
    7983{
    8084
     85
     86  TObject::SetObjectStat(kTRUE);
    8187
    8288  //
     
    172178  calloop.SetBadPixels(pedloop.GetBadPixels());
    173179
    174 //  TObject::SetObjectStat(kTRUE);
    175 
    176180  calloop.Process(pedloop.GetPedestalCam());
    177 
    178 //  gObjectTable->Print();
    179181
    180182  /********************************************************************/
     
    193195  if (useTimes)
    194196      testloop.ProcessT(pedloop.GetPedestalCam(),calloop.GetRelTimeCam());
    195  
     197
     198  TObject::SetObjectStat(kFALSE);
     199  //
     200  // List of useful containers:
     201  //
     202  if (debug)
     203    gObjectTable->Print();
     204
    196205  //
    197206  // List of useful containers:
Note: See TracChangeset for help on using the changeset viewer.