Changeset 5561 for trunk/MagicSoft/Mars


Ignore:
Timestamp:
12/06/04 13:12:16 (20 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r5560 r5561  
    3838     - do not allow 'wrong' time&charge calibration (without
    3939       extractors cam)
    40 
     40     - removed kTimeAndCharge flag because it is obsolete (nowhere used)
     41       and not correctly handled at all
    4142
    4243
  • trunk/MagicSoft/Mars/mjobs/MJCalibration.cc

    r5560 r5561  
    16721672    if (fExtractor->InheritsFrom("MExtractTimeAndCharge"))
    16731673    {
    1674         SetTimeAndCharge();
    16751674        if (fExtractorCam.GetSize() == pedcam.GetSize())
    16761675            calcalc.SetPedestals(&fExtractorCam);
     
    17141713
    17151714    MTaskEnv taskenv2("ExtractTime");
    1716     if (!IsTimeAndCharge())
    1717       {
     1715    if (!fExtractor->InheritsFrom("MExtractTimeAndCharge"))
     1716    {
    17181717        taskenv2.SetDefault(fTimeExtractor);
    17191718   
    17201719        if (IsRelTimes())
    17211720          tlist.AddToList(&taskenv2);
    1722       }
     1721    }
    17231722   
    17241723    //
  • trunk/MagicSoft/Mars/mjobs/MJCalibration.h

    r5531 r5561  
    130130  Byte_t fStorage;                                     // Bit-field for chosen storage type
    131131
    132   enum { kRelTimes, kDataCheck, kDebug, kIntensity, kTimeAndCharge };  // Possible flags
     132  enum { kRelTimes, kDataCheck, kDebug, kIntensity };  // Possible flags
    133133
    134134  Byte_t fFlags;                                       // Bit-field for the flags
     
    143143  Bool_t IsDebug        () const { return TESTBIT(fFlags,kDebug);          }
    144144  Bool_t IsIntensity    () const { return TESTBIT(fFlags,kIntensity);      }
    145   Bool_t IsTimeAndCharge() const { return TESTBIT(fFlags,kTimeAndCharge);  } 
    146145
    147146  Bool_t IsNoStorage    () const { return TESTBIT(fStorage,kNoStorage);    }
    148147  Bool_t IsHistsStorage () const { return TESTBIT(fStorage,kHistsStorage); }
    149 
    150   void   SetTimeAndCharge( const Bool_t b=kTRUE ) { b
    151                                                       ? SETBIT(fFlags,kTimeAndCharge)
    152                                                       : CLRBIT(fFlags,kTimeAndCharge); } 
    153148
    154149  void   DrawTab(MParList &plist, const char *cont, const char *name, Option_t *opt);
Note: See TracChangeset for help on using the changeset viewer.