Changeset 6172
- Timestamp:
- 02/01/05 15:47:04 (20 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/callisto.rc
r6171 r6172 77 77 # Set color to be used 78 78 #MJCalibration.Color: 79 # Type of used data format 80 #MJCalibration.DataType: R aw,Root,MC79 # Type of used data format: raw, root, mc 80 #MJCalibration.DataType: Root 81 81 # Type of displayed plots 82 82 #MJCalibration.Display: Full,DataCheck,Normal -
trunk/MagicSoft/Mars/mjobs/MJPedestal.h
r6126 r6172 59 59 Byte_t fStorage; // Bit-field for chosen storage type 60 60 61 Bool_t fDataCheck; // Flag if the data check is run on raw data62 63 61 enum Extract_t { kUseData, kUsePedRun, kUseHists }; // Possible flags for the extraction of the pedestal 64 62 Extract_t fExtractType; // Chosen extractor type … … 92 90 const char* GetOutputFile() const; 93 91 94 const Bool_t IsDataCheck() const { return fDataCheck; }95 92 const Bool_t IsUseData() const { return fExtractType == kUseData; } 96 93 … … 105 102 void SetUseHists() { fExtractType = kUseHists; } 106 103 void SetUsePedRun() { fExtractType = kUsePedRun; } 107 void SetDataCheck(const Bool_t b=kTRUE) { fDataCheck = b; }108 104 void SetDataCheckDisplay() { fDisplayType = kDisplayDataCheck; } 109 105 void SetNormalDisplay() { fDisplayType = kDisplayNormal; } -
trunk/MagicSoft/Mars/mjobs/MJob.h
r6149 r6172 19 19 20 20 enum DataType_t { 21 kIs RawData,22 kIs RootData,23 kIs MC21 kIsUseRawData, 22 kIsUseRootData, 23 kIsUseMC 24 24 }; 25 25 … … 36 36 MSequence fSequence; // Sequence 37 37 38 Bool_t Is RawData() const { return TESTBIT(fDataFlag,kIsRawData); }39 Bool_t Is RootData() const { return TESTBIT(fDataFlag,kIsRootData); }40 Bool_t Is MC() const { return TESTBIT(fDataFlag,kIsMC); }38 Bool_t IsUseRawData() const { return TESTBIT(fDataFlag,kIsUseRawData); } 39 Bool_t IsUseRootData() const { return TESTBIT(fDataFlag,kIsUseRootData); } 40 Bool_t IsUseMC() const { return TESTBIT(fDataFlag,kIsUseMC); } 41 41 42 void Set RawData ( const Bool_t b=kTRUE ) { b ? SETBIT(fDataFlag,kIsRawData) : CLRBIT(fDataFlag,kIsRawData); }43 void Set RootData( const Bool_t b=kTRUE ) { b ? SETBIT(fDataFlag,kIsRootData) : CLRBIT(fDataFlag,kIsRootData); }44 void Set MC ( const Bool_t b=kTRUE ) { b ? SETBIT(fDataFlag,kIsMC) : CLRBIT(fDataFlag,kIsMC); }42 void SetUseRawData ( const Bool_t b=kTRUE ) { b ? SETBIT(fDataFlag,kIsUseRawData) : CLRBIT(fDataFlag,kIsUseRawData); } 43 void SetUseRootData( const Bool_t b=kTRUE ) { b ? SETBIT(fDataFlag,kIsUseRootData) : CLRBIT(fDataFlag,kIsUseRootData); } 44 void SetUseMC ( const Bool_t b=kTRUE ) { b ? SETBIT(fDataFlag,kIsUseMC) : CLRBIT(fDataFlag,kIsUseMC); } 45 45 46 46 const TEnv *GetEnv() const { return fEnv; }
Note:
See TracChangeset
for help on using the changeset viewer.