Changeset 4609 for trunk/MagicSoft/Mars/mraw/MRawEvtHeader.cc
- Timestamp:
- 08/13/04 14:59:17 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mraw/MRawEvtHeader.cc
r4577 r4609 74 74 // 75 75 // UInt_t fNumTrigLvl2 76 // ------------------ 76 // -------------------- 77 77 // 78 78 // Number of second level trigger … … 90 90 // Type of Trigger. 91 91 // This is a Byte (8 bit) to indicated if any of the pixels 92 // have a non-negligible low gain (1) or not (0) 92 // have a non-negligible low gain (1) or not (0) 93 // 94 // UInt_t fCalibPattern 95 // -------------------- 96 // 97 // Bits 1-16: Pulser slot pattern: 16 LEDs slots (see Diploma Thesis 98 // of Michele) 99 // 100 // Bits 17-24: Power of Continous light source: 256 level 101 // 102 // Bits 25-28: Farbe der Continuous Light: red-amber-green/blue-uv 103 // 104 // Bit 29: Calibration trigger On/off 105 // Bit 30: Pedestal trigger on/off 106 // Bit 31: PIN Diode calibration trigger on/off 107 // 108 // 109 // Class Version 2: 110 // --------------- 111 // - added fCalibPattern 93 112 // 94 113 ///////////////////////////////////////////////////////////////////////////// … … 379 398 return fTrigPattern[0]; 380 399 } 400 401 // -------------------------------------------------------------------------- 402 // 403 // return pulser slot patter, see class reference 404 // 405 UShort_t MRawEvtHeader::GetPulserSlotPattern() const 406 { 407 return fTrigPattern[1] & 0xffff; 408 } 409 410 // -------------------------------------------------------------------------- 411 // 412 // return power of continous light, see class reference 413 // 414 Byte_t MRawEvtHeader::GetPowerOfContLight() const 415 { 416 return (fTrigPattern[1]<<16) & 0xff; 417 } 418 419 // -------------------------------------------------------------------------- 420 // 421 // return color of continous light, see class reference 422 // 423 MRawEvtHeader::CalibCol_t MRawEvtHeader::GetContLedColor() const 424 { 425 return (CalibCol_t)((fTrigPattern[1]<<24)&0xf); 426 }
Note:
See TracChangeset
for help on using the changeset viewer.