Ignore:
Timestamp:
11/30/04 20:38:44 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mjobs/MJCalibration.h

    r5308 r5531  
    3737#ifndef MARS_MBadPixelsCam
    3838#include "MBadPixelsCam.h"
     39#endif
     40#ifndef MARS_MPedestalCam
     41#include "MPedestalCam.h"
    3942#endif
    4043
     
    98101  MCalibrationRelTimeCam          fRelTimeCam;          // Calibration constants rel. times
    99102 
     103  MPedestalCam                    fExtractorCam;        // Pedestal Cam with extractor resolution
     104
    100105  MCalibrationCam::PulserColor_t fColor;                // Colour of the pulsed LEDs
    101106 
     
    143148  Bool_t IsHistsStorage () const { return TESTBIT(fStorage,kHistsStorage); }
    144149
    145   void DrawTab(MParList &plist, const char *cont, const char *name, Option_t *opt);
     150  void   SetTimeAndCharge( const Bool_t b=kTRUE ) { b
     151                                                      ? SETBIT(fFlags,kTimeAndCharge)
     152                                                      : CLRBIT(fFlags,kTimeAndCharge); } 
     153
     154  void   DrawTab(MParList &plist, const char *cont, const char *name, Option_t *opt);
    146155 
    147156  void   DisplayResult        ( MParList &plist );
     
    177186  MBadPixelsCam                   &GetBadPixels()            { return fBadPixels;        }
    178187 
    179   void SetBadPixels(const MBadPixelsCam &bad)               { bad.Copy(fBadPixels); }
    180   void SetExtractor(MExtractor* ext)                        { fExtractor = ext;     }
    181   void SetTimeExtractor(MExtractTime* ext)                  { fTimeExtractor = ext; }
    182   void SetQECam(const MCalibrationQECam &qe)                { qe.Copy(fQECam);      }
    183   void SetColor(const MCalibrationCam::PulserColor_t color) { fColor = color;       }
    184   void SetInput(MRunIter *iter)                             { fRuns = iter;         }
     188  // Containers and pointers
     189  void SetBadPixels    ( const MBadPixelsCam &bad)                   { bad.Copy(fBadPixels); }
     190  void SetColor        ( const MCalibrationCam::PulserColor_t color) { fColor = color;       }
     191  void SetExtractor    ( MExtractor* ext)                            { fExtractor = ext;     }
     192  void SetExtractorCam ( const MPedestalCam  &ped)                   { ped.Copy(fExtractorCam); } 
     193  void SetInput        ( MRunIter *iter)                             { fRuns = iter;         }
     194  void SetQECam        ( const MCalibrationQECam &qe)                { qe.Copy(fQECam);      }
     195  void SetTimeExtractor( MExtractTime* ext)                          { fTimeExtractor = ext; }
    185196   
    186197  // Displays
     
    198209  void SetDebug             ( const Bool_t b=kTRUE ) { b ? SETBIT(fFlags,kDebug)     : CLRBIT(fFlags,kDebug); }
    199210  void SetIntensity         ( const Bool_t b=kTRUE ) { b ? SETBIT(fFlags,kIntensity) : CLRBIT(fFlags,kIntensity); }
    200   void SetTimeAndCharge      ( const Bool_t b=kTRUE ) { b ? SETBIT(fFlags,kTimeAndCharge) : CLRBIT(fFlags,kTimeAndCharge); } 
    201211 
    202212  // Devices
Note: See TracChangeset for help on using the changeset viewer.