Changeset 5678 for trunk/MagicSoft/Mars/mraw/MRawEvtHeader.h
- Timestamp:
- 12/22/04 20:07:45 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mraw/MRawEvtHeader.h
r5567 r5678 4 4 #ifndef MARS_MParContainer 5 5 #include "MParContainer.h" 6 #endif 7 8 #ifndef MARS_MCalibrationCam 9 #include "MCalibrationCam.h" 6 10 #endif 7 11 … … 23 27 kTTEvent = 0, 24 28 kTTPedestal = 1, 25 kTTCalibration = 2 29 kTTCalibration = 2, 30 kTTPinDiode = 3 26 31 }; 27 /* 28 enum CalibCol_t { 29 kColRed = BIT(0), 30 kColAmber = BIT(1), 31 kColGreen = BIT(2), 32 kColBlue = BIT(3), 33 kColUV = BIT(4) 34 }; 35 */ 32 33 enum CLColor_t 34 { 35 kCLUV = BIT(0), 36 kCLGreen = BIT(1), 37 kCLAmber = BIT(2), 38 kCLRed = BIT(3), 39 kCLRedAmber = kCLRed & kCLAmber, 40 kCLRedGreen = kCLRed & kCLGreen, 41 kCLRedUV = kCLRed & kCLUV , 42 kCLAmberGreen = kCLAmber & kCLGreen, 43 kCLAmberUV = kCLAmber & kCLUV , 44 kCLGreenUV = kCLGreen & kCLUV , 45 kCLRedAmberGreen = kCLRedAmber & kCLGreen, 46 kCLRedGreenUV = kCLRedGreen & kCLUV, 47 kCLAmberGreenUV = kCLAmberGreen & kCLUV, 48 kCLAll = kCLRedAmberGreen & kCLUV 49 }; 50 51 enum PulserColorCode_t 52 { 53 kSlot1Green = BIT(0), 54 kSlot2Green = BIT(1), 55 kSlot3Blue = BIT(2), 56 kSlot4UV = BIT(3), 57 kSlot5UV = BIT(4), 58 kSlot6Blue = BIT(5), 59 kSlot7Blue = BIT(6), 60 kSlot8Blue = BIT(7), 61 kSlot9AttBlue = BIT(8), 62 kSlot10Blue = BIT(9), 63 kSlot11Blue = BIT(10), 64 kSlot12UV = BIT(11), 65 kSlot13UV = BIT(12), 66 kSlot14Blue = BIT(13), 67 kSlot15Green = BIT(14), 68 kSlot16AttGreen = BIT(15), 69 kCT1Pulser = BIT(16), 70 kAnyGreen = kSlot1Green | kSlot2Green | kSlot15Green | kSlot16AttGreen, 71 kAnyUV = kSlot4UV | kSlot5UV | kSlot12UV | kSlot13UV, 72 kAnyBlue = kSlot3Blue | kSlot6Blue | kSlot7Blue | kSlot8Blue 73 | kSlot9AttBlue| kSlot10Blue | kSlot11Blue | kSlot14Blue, 74 kGreenAndBlue = kAnyGreen & kAnyBlue, 75 kBlueAndUV = kAnyBlue & kAnyUV, 76 kGreenAndUV = kAnyGreen & kAnyUV, 77 kIFAEPulser = kAnyGreen | kAnyBlue | kAnyUV, 78 kAny = kAnyGreen | kAnyBlue | kAnyUV | kCT1Pulser 79 }; 80 36 81 private: 37 82 MTime *fTime; //! object to store the time in (ReadEvt) … … 76 121 UInt_t GetCalibrationPattern() const; 77 122 78 void SetCalibrationPattern(UInt_t pat) { fTrigPattern[1] = pat; } // USE THIS FUNCTION WITH EXTREME CARE -- IT IS A WORKAROUND! 79 /* 80 UShort_t GetPulserSlotPattern() const; 81 Byte_t GetPowerOfContLight() const; 82 CalibCol_t GetContLedColor() const; 83 */ 123 void SetCalibrationPattern(UInt_t pat) { fTrigPattern[1] += (pat << 16); } // USE THIS FUNCTION WITH EXTREME CARE -- IT IS A WORKAROUND! 124 125 UShort_t GetPowerOfContLight() const; 126 UInt_t GetPulserSlotPattern() const; 127 const MCalibrationCam::PulserColor_t GetPulserColor() const; 128 Float_t GetPulserStrength() const; 129 130 CLColor_t GetContLightColor() const; 131 84 132 Int_t ReadEvt(istream& fin, UShort_t ver); 85 133 void SkipEvt(istream& fin, UShort_t ver);
Note:
See TracChangeset
for help on using the changeset viewer.