Changeset 3638 for trunk/MagicSoft/Mars/mcalib/MCalibrationRelTimePix.cc
- Timestamp:
- 04/03/04 17:50:04 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcalib/MCalibrationRelTimePix.cc
r3635 r3638 39 39 // 40 40 MCalibrationRelTimePix::MCalibrationRelTimePix(const char *name, const char *title) 41 : fRelTimeFlags(0) 41 42 { 42 43 … … 55 56 { 56 57 57 SetExcluded ( kFALSE );58 58 SetValid ( kFALSE ); 59 59 … … 82 82 // Set the Excluded Bit from outside 83 83 // 84 void MCalibrationRelTimePix::SetExcluded(Bool_t b )85 {86 b ? SETBIT(fFlags, kExcluded) : CLRBIT(fFlags, kExcluded);87 }88 89 90 // --------------------------------------------------------------------------91 //92 // Set the Excluded Bit from outside93 //94 84 void MCalibrationRelTimePix::SetValid(const Bool_t b ) 95 85 { 96 b ? SETBIT(f Flags, kValid) : CLRBIT(fFlags, kValid);86 b ? SETBIT(fRelTimeFlags, kValid) : CLRBIT(fRelTimeFlags, kValid); 97 87 } 98 88 … … 106 96 107 97 108 Bool_t MCalibrationRelTimePix::IsExcluded() const109 {110 return TESTBIT(fFlags,kExcluded);111 }112 113 98 Bool_t MCalibrationRelTimePix::IsValid() const 114 99 { 115 return TESTBIT(f Flags, kValid);100 return TESTBIT(fRelTimeFlags, kValid); 116 101 }
Note:
See TracChangeset
for help on using the changeset viewer.