Changeset 5561 for trunk/MagicSoft/Mars
- Timestamp:
- 12/06/04 13:12:16 (20 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r5560 r5561 38 38 - do not allow 'wrong' time&charge calibration (without 39 39 extractors cam) 40 40 - removed kTimeAndCharge flag because it is obsolete (nowhere used) 41 and not correctly handled at all 41 42 42 43 -
trunk/MagicSoft/Mars/mjobs/MJCalibration.cc
r5560 r5561 1672 1672 if (fExtractor->InheritsFrom("MExtractTimeAndCharge")) 1673 1673 { 1674 SetTimeAndCharge();1675 1674 if (fExtractorCam.GetSize() == pedcam.GetSize()) 1676 1675 calcalc.SetPedestals(&fExtractorCam); … … 1714 1713 1715 1714 MTaskEnv taskenv2("ExtractTime"); 1716 if (! IsTimeAndCharge())1717 1715 if (!fExtractor->InheritsFrom("MExtractTimeAndCharge")) 1716 { 1718 1717 taskenv2.SetDefault(fTimeExtractor); 1719 1718 1720 1719 if (IsRelTimes()) 1721 1720 tlist.AddToList(&taskenv2); 1722 1721 } 1723 1722 1724 1723 // -
trunk/MagicSoft/Mars/mjobs/MJCalibration.h
r5531 r5561 130 130 Byte_t fStorage; // Bit-field for chosen storage type 131 131 132 enum { kRelTimes, kDataCheck, kDebug, kIntensity , kTimeAndCharge}; // Possible flags132 enum { kRelTimes, kDataCheck, kDebug, kIntensity }; // Possible flags 133 133 134 134 Byte_t fFlags; // Bit-field for the flags … … 143 143 Bool_t IsDebug () const { return TESTBIT(fFlags,kDebug); } 144 144 Bool_t IsIntensity () const { return TESTBIT(fFlags,kIntensity); } 145 Bool_t IsTimeAndCharge() const { return TESTBIT(fFlags,kTimeAndCharge); }146 145 147 146 Bool_t IsNoStorage () const { return TESTBIT(fStorage,kNoStorage); } 148 147 Bool_t IsHistsStorage () const { return TESTBIT(fStorage,kHistsStorage); } 149 150 void SetTimeAndCharge( const Bool_t b=kTRUE ) { b151 ? SETBIT(fFlags,kTimeAndCharge)152 : CLRBIT(fFlags,kTimeAndCharge); }153 148 154 149 void DrawTab(MParList &plist, const char *cont, const char *name, Option_t *opt);
Note:
See TracChangeset
for help on using the changeset viewer.