Ignore:
Timestamp:
04/18/07 16:34:51 (18 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r7013 r8417  
    55#include "MJCalib.h"
    66#endif
    7 #ifndef MARS_MCalibrationIntensityChargeCam
    8 #include "MCalibrationIntensityChargeCam.h"
    9 #endif
    107#ifndef MARS_MCalibrationChargeCam
    118#include "MCalibrationChargeCam.h"
    12 #endif
    13 #ifndef MARS_MCalibrationIntensityBlindCam
    14 #include "MCalibrationIntensityBlindCam.h"
    159#endif
    1610#ifndef MARS_MCalibrationBlindCam
     
    2014#include "MCalibrationChargePINDiode.h"
    2115#endif
    22 #ifndef MARS_MCalibrationIntensityRelTimeCam
    23 #include "MCalibrationIntensityRelTimeCam.h"
    24 #endif
    2516#ifndef MARS_MCalibrationRelTimeCam
    2617#include "MCalibrationRelTimeCam.h"
    2718#endif
    28 #ifndef MARS_MCalibrationIntensityQECam
    29 #include "MCalibrationIntensityQECam.h"
    30 #endif
    3119#ifndef MARS_MCalibrationQECam
    3220#include "MCalibrationQECam.h"
    33 #endif
    34 #ifndef MARS_MBadPixelsIntensityCam
    35 #include "MBadPixelsIntensityCam.h"
    3621#endif
    3722#ifndef MARS_MBadPixelsCam
     
    10287  MExtractTime   *fTimeExtractor;                       // Arrival Time extractor
    10388 
    104   MBadPixelsIntensityCam          fIntensBadCam;        // Bad Pixels cam, can be set from previous runs
    10589  MBadPixelsCam                   fBadPixels;           // Bad Pixels cam, can be set from previous runs 
    106   MCalibrationIntensityChargeCam  fIntensCalibCam;      // Calibration conversion factors FADC2Phe for diff. intens.
    10790  MCalibrationChargeCam           fCalibrationCam;      // Calibration conversion factors FADC2Phe 
    108   MCalibrationIntensityBlindCam   fIntensBlindCam;      // Calibration from Blind Pixel(s)
    10991  MCalibrationBlindCam            fCalibrationBlindCam; // Calibration from Blind Pixel(s) 
    11092  MCalibrationChargePINDiode      fCalibrationPINDiode; // Calibration from PIN Diode
    111   MCalibrationIntensityQECam      fIntensQECam;         // Quantum efficiency for diff. intensities,
    11293  MCalibrationQECam               fQECam;               // Quantum efficiency, can be set from previous runs
    113   MCalibrationIntensityRelTimeCam fIntensRelTimeCam;    // Calibration constants rel. times for diff. intensities
    11494  MCalibrationRelTimeCam          fRelTimeCam;          // Calibration constants rel. times
    11595 
     
    127107  Display_t fDisplayType;                              // Chosen Display type
    128108 
    129   enum { kRelTimes, kDebug, kIntensity };  // Possible flags
     109  enum { kRelTimes, kDebug };                          // Possible flags
    130110
    131111  Byte_t fFlags;                                       // Bit-field for the flags
     
    135115  Bool_t IsRelTimes     () const { return TESTBIT(fFlags,kRelTimes);       }
    136116  Bool_t IsDebug        () const { return TESTBIT(fFlags,kDebug);          }
    137   Bool_t IsIntensity    () const { return TESTBIT(fFlags,kIntensity);      }
    138117
    139118  void   DrawTab(MParList &plist, const char *cont, const char *name, Option_t *opt);
     
    162141public:
    163142  MJCalibration(const char *name=NULL, const char *title=NULL);
    164  
    165   MCalibrationIntensityChargeCam  &GetIntensCalibrationCam() { return fIntensCalibCam;   }
    166   MCalibrationIntensityRelTimeCam &GetIntensRelTimeCam()     { return fIntensRelTimeCam; }
    167   MCalibrationIntensityQECam      &GetIntensQECam()          { return fIntensQECam;      }
    168   MBadPixelsIntensityCam          &GetIntensBadCam()         { return fIntensBadCam;     } 
    169143
    170   MCalibrationChargeCam           &GetCalibrationCam()       { return fCalibrationCam;  }
    171   MCalibrationRelTimeCam          &GetRelTimeCam()           { return fRelTimeCam;       }
    172   MCalibrationQECam               &GetQECam()                { return fQECam;            }
    173   MBadPixelsCam                   &GetBadPixels()            { return fBadPixels;        }
     144  const MCalibrationChargeCam  &GetCalibrationCam() const { return fCalibrationCam; }
     145  const MCalibrationRelTimeCam &GetRelTimeCam()     const { return fRelTimeCam;     }
     146  const MCalibrationQECam      &GetQECam()          const { return fQECam;          }
     147  const MBadPixelsCam          &GetBadPixels()      const { return fBadPixels;      }
    174148 
    175149  // Containers and pointers
     
    192166  void SetRelTimeCalibration( const Bool_t b=kTRUE ) { b ? SETBIT(fFlags,kRelTimes)  : CLRBIT(fFlags,kRelTimes); }
    193167  void SetDebug             ( const Bool_t b=kTRUE ) { b ? SETBIT(fFlags,kDebug)     : CLRBIT(fFlags,kDebug); }
    194   void SetIntensity         ( const Bool_t b=kTRUE ) { b ? SETBIT(fFlags,kIntensity) : CLRBIT(fFlags,kIntensity); }
     168  //void SetIntensity         ( const Bool_t b=kTRUE ) { b ? SETBIT(fFlags,kIntensity) : CLRBIT(fFlags,kIntensity); }
    195169 
    196170  // Files
Note: See TracChangeset for help on using the changeset viewer.