Changeset 6281 for trunk/MagicSoft/Mars/mjobs/MJCalib.h
- Timestamp:
- 02/07/05 15:18:01 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mjobs/MJCalib.h
r6191 r6281 2 2 #define MARS_MJCalib 3 3 4 #ifndef ROOT_TROOT5 #include <TROOT.h>4 #ifndef MARS_MJob 5 #include "MJob.h" 6 6 #endif 7 7 8 8 class MRunIter; 9 class MJCalib 9 10 class MJCalib : public MJob 10 11 { 12 private: 13 Byte_t fDataFlag; // Bit-field to store the data type 14 11 15 protected: 12 16 … … 20 24 }; 21 25 22 Byte_t fDataFlag; // Bit-field to store the data type 26 Bool_t IsUseRawData() const { return fDataFlag==kIsUseRawData; } 27 Bool_t IsUseRootData() const { return fDataFlag==kIsUseRootData; } 28 Bool_t IsUseMC() const { return fDataFlag==kIsUseMC; } 23 29 24 Bool_t IsUseRawData() const { return TESTBIT(fDataFlag,kIsUseRawData); } 25 Bool_t IsUseRootData() const { return TESTBIT(fDataFlag,kIsUseRootData); } 26 Bool_t IsUseMC() const { return TESTBIT(fDataFlag,kIsUseMC); } 27 28 void SetUseRawData ( const Bool_t b=kTRUE ) { b ? SETBIT(fDataFlag,kIsUseRawData) : CLRBIT(fDataFlag,kIsUseRawData); } 29 void SetUseRootData( const Bool_t b=kTRUE ) { b ? SETBIT(fDataFlag,kIsUseRootData) : CLRBIT(fDataFlag,kIsUseRootData); } 30 void SetUseMC ( const Bool_t b=kTRUE ) { b ? SETBIT(fDataFlag,kIsUseMC) : CLRBIT(fDataFlag,kIsUseMC); } 30 void SetUseRawData ( const Bool_t b=kTRUE ) { fDataFlag=kIsUseRawData; } 31 void SetUseRootData( const Bool_t b=kTRUE ) { fDataFlag=kIsUseRootData; } 32 void SetUseMC ( const Bool_t b=kTRUE ) { fDataFlag=kIsUseMC; } 33 34 Bool_t CheckEnvLocal(); 31 35 32 36 public:
Note:
See TracChangeset
for help on using the changeset viewer.