Changeset 9480
- Timestamp:
- 07/28/09 14:37:25 (15 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r9474 r9480 18 18 19 19 -*-*- END OF LINE -*-*- 20 21 2009/07/28 Thomas Bretz 22 23 * mjobs/MJCalibration.cc: 24 - we have to allow all kind of triggers together with a 25 calibration trigger, otherwise we never have enough 26 calibration events if the trigger signals haven't been 27 switched off (prescaled) 28 29 * mtrigger/MTriggerPatternDecode.cc: 30 - when we move L1TPU to L1 as a workaround we now really "move" 31 the bit instead of just copy it (this is better for filters 32 like "deny all") 33 34 20 35 21 36 2009/07/04 Daniela Dorner -
trunk/MagicSoft/Mars/mjobs/MJCalibration.cc
r9473 r9480 1401 1401 MFTriggerPattern fcalib("CalibFilter"); 1402 1402 fcalib.SetDefault(kFALSE); 1403 fcalib. AllowAll(MFTriggerPattern::kPrescaled);1404 fcalib. AllowAll(MFTriggerPattern::kUnPrescaled);1405 fcalib. DenyTriggerLvl1(MFTriggerPattern::kUnPrescaled);1406 fcalib. DenyTriggerLvl1(MFTriggerPattern::kPrescaled);1407 fcalib. DenyTriggerLvl2(MFTriggerPattern::kUnPrescaled);1408 fcalib. DenyTriggerLvl2(MFTriggerPattern::kPrescaled);1409 fcalib. DenySumTrigger(MFTriggerPattern::kUnPrescaled);1410 fcalib. DenySumTrigger(MFTriggerPattern::kPrescaled);1403 fcalib.DenyAll(MFTriggerPattern::kPrescaled); 1404 fcalib.DenyAll(MFTriggerPattern::kUnPrescaled); 1405 fcalib.AllowTriggerLvl1(MFTriggerPattern::kUnPrescaled); 1406 fcalib.AllowTriggerLvl1(MFTriggerPattern::kPrescaled); 1407 fcalib.AllowTriggerLvl2(MFTriggerPattern::kUnPrescaled); 1408 fcalib.AllowTriggerLvl2(MFTriggerPattern::kPrescaled); 1409 fcalib.AllowSumTrigger(MFTriggerPattern::kUnPrescaled); 1410 fcalib.AllowSumTrigger(MFTriggerPattern::kPrescaled); 1411 1411 fcalib.RequireCalibration(MFTriggerPattern::kPrescaled); 1412 1412 fcalib.RequireCalibration(MFTriggerPattern::kUnPrescaled); -
trunk/MagicSoft/Mars/mtrigger/MTriggerPatternDecode.cc
r9462 r9480 133 133 fPattern->fUnprescaled = (pattern>>8) & 0xff; 134 134 135 cout << (int)((pattern>>6)&1) << " " << fPattern->fPrescaled << endl; 136 137 fPattern->Print(); 138 135 139 // This is a workaround for the new scheme in which L1TPU (the signal 136 140 // comming directly from the L1 is connected, but the L1 (routed … … 141 145 fPattern->fPrescaled |= (pattern>> 6)&1; 142 146 fPattern->fUnprescaled |= (pattern>>14)&1; 147 148 fPattern->fPrescaled &= 0xbf; 149 fPattern->fUnprescaled &= 0xbf; 143 150 } 151 152 fPattern->Print(); 144 153 145 154 return kTRUE;
Note:
See TracChangeset
for help on using the changeset viewer.