Changeset 8903
- Timestamp:
- 05/31/08 12:41:32 (16 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r8902 r8903 30 30 31 31 * mjobs/MJCalibrateSignal.cc, mjobs/MJStar.cc: 32 - use new option IsNullOut from base class 33 32 - use new option HasNullOut from base class 33 34 * mbase/MClone.cc: 35 - fixed Init (still had a constructor like initializer) 36 37 * mtrigger/MFTriggerPattern.h: 38 - included missing MTripperPattern 39 40 * mtrigger/MFTriggerPattern.cc: 41 - removed default arguments 42 - exchanged ^ by ~ 43 - fixed a few typos in function names 34 44 35 45 … … 52 62 - added a DenyAll member function 53 63 - added Allow member functions including an AllowAll member function 54 55 64 56 65 * mjobs/MJPedestal.cc: -
trunk/MagicSoft/Mars/mbase/MClone.cc
r8899 r8903 66 66 // constructors. 67 67 // 68 void MClone::Init(const char *name, const char *title) : fForceClone(kFALSE)68 void MClone::Init(const char *name, const char *title) 69 69 { 70 70 fName = name ? name : "MClone"; 71 71 fTitle = title ? title : "Task to clone a parameter container for later usage"; 72 73 fForceClone = kFALSE; 72 74 73 75 fClone = NULL; -
trunk/MagicSoft/Mars/mjobs/MJCalibrateSignal.cc
r8902 r8903 917 917 if (fSequence.IsMonteCarlo()) 918 918 { 919 if (!fIsMovieMode && ! IsNullOut())919 if (!fIsMovieMode && !HasNullOut()) 920 920 tlist.AddToList(&writemc); 921 921 tlist.AddToList(&contmc); … … 929 929 // tlist.AddToList(&pcalc, "Drive"); 930 930 931 if (!fIsMovieMode && ! IsNullOut())931 if (!fIsMovieMode && !HasNullOut()) 932 932 tlist.AddToList(&write); 933 933 -
trunk/MagicSoft/Mars/mjobs/MJStar.cc
r8902 r8903 469 469 tlist.AddToList(&filldt, "CC"); 470 470 } 471 if (! IsNullOut())471 if (!HasNullOut()) 472 472 tlist.AddToList(&write); 473 473 -
trunk/MagicSoft/Mars/mtrigger/MFTriggerPattern.cc
r8898 r8903 136 136 // the deny bit at the same time. 137 137 // 138 void MFTriggerPattern::Require(const Byte_t mask, Prescale_t prescaled =kUnPrescaled)138 void MFTriggerPattern::Require(const Byte_t mask, Prescale_t prescaled) 139 139 { 140 140 prescaled==kPrescaled ? (fMaskRequiredPrescaled |= mask) : (fMaskRequiredUnprescaled |= mask); 141 prescaled==kPrescaled ? (fMaskDeniedPrescaled &= ^mask) : (fMaskDeniedUnprescaled &= ^mask);141 prescaled==kPrescaled ? (fMaskDeniedPrescaled &= ~mask) : (fMaskDeniedUnprescaled &= ~mask); 142 142 } 143 143 … … 151 151 // the require bit at the same time. 152 152 // 153 void MFTriggerPatter ::Deny(const Byte_t mask, Prescale_t prescaled=kUnPrescaled)153 void MFTriggerPattern::Deny(const Byte_t mask, Prescale_t prescaled) 154 154 { 155 155 prescaled==kPrescaled ? (fMaskDeniedPrescaled |= mask) : (fMaskDeniedUnprescaled |= mask); 156 prescaled==kPrescaled ? (fMaskRequiredPrescaled &= ^mask) : (fMaskRequiredUnprescaled &= ^mask);156 prescaled==kPrescaled ? (fMaskRequiredPrescaled &= ~mask) : (fMaskRequiredUnprescaled &= ~mask); 157 157 } 158 158 … … 164 164 // default is unprescaled. 165 165 // 166 void MFTriggerPatter ::Allow(const Byte_t mask, Prescale_t prescaled=kUnPrescaled)167 { 168 prescaled==kPrescaled ? (fMaskDeniedPrescaled &= ^mask) : (fMaskDeniedUnprescaled &= ^mask);166 void MFTriggerPattern::Allow(const Byte_t mask, Prescale_t prescaled) 167 { 168 prescaled==kPrescaled ? (fMaskDeniedPrescaled &= ~mask) : (fMaskDeniedUnprescaled &= ~mask); 169 169 } 170 170 -
trunk/MagicSoft/Mars/mtrigger/MFTriggerPattern.h
r8898 r8903 4 4 #ifndef MARS_MFilter 5 5 #include "MFilter.h" 6 #endif 7 8 #ifndef MARS_MTriggerPatter 9 #include "MTriggerPattern.h" 6 10 #endif 7 11
Note:
See TracChangeset
for help on using the changeset viewer.