Changeset 9229 for trunk/MagicSoft/Mars/mraw
- Timestamp:
- 01/18/09 14:45:10 (16 years ago)
- Location:
- trunk/MagicSoft/Mars/mraw
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mraw/MRawEvtHeader.h
r8944 r9229 92 92 UInt_t GetPulserSlotPattern() const; 93 93 94 // Setter 94 // Setter (ONLY for Monte Carlo purpose) 95 95 void FillHeader(UInt_t, Float_t=0); 96 96 97 void SetTriggerPattern( const UInt_t pattern ) { fTrigPattern[0] = pattern; } // Only for MC! 98 void SetCalibrationPattern( const UInt_t pattern ) { fTrigPattern[1] = pattern; } // Only for MC! 97 void SetTriggerPattern( const UInt_t pattern ) { fTrigPattern[0] = pattern; } 98 void SetCalibrationPattern( const UInt_t pattern ) { fTrigPattern[1] = pattern; } 99 void SetDAQEvtNumber(const UInt_t n) { fDAQEvtNumber = n; } 99 100 100 101 // TObject -
trunk/MagicSoft/Mars/mraw/MRawRunHeader.cc
r9212 r9229 1127 1127 break; 1128 1128 case 2: 1129 fNumSamplesHiGain = 50; 1129 1130 fNumSamplesLoGain = 0; 1130 fNumSamplesHiGain = 50;1131 1131 fNumBytesPerSample = 2; // number of bytes per sample 1132 1132 fSamplingFrequency = 2000; // Sampling Frequency [MHz] 1133 1133 fFadcResolution = 12; // number of significant bits 1134 1134 break; 1135 case 3: 1136 fNumSamplesHiGain = 150; 1137 fNumSamplesLoGain = 0; 1138 fNumBytesPerSample = 2; // number of bytes per sample 1139 fSamplingFrequency = 1000; // Sampling Frequency [MHz] 1140 fFadcResolution = 12; // number of significant bits 1141 break; 1135 1142 } 1136 1143 … … 1152 1159 fNumPixInCrate = 577; 1153 1160 break; 1161 case 2: 1162 fNumCrates = 1; 1163 fNumPixInCrate = 703; 1164 break; 1154 1165 } 1155 1166 … … 1161 1172 1162 1173 for (int i=0; i<n; i++) 1163 (*fPixAssignment)[i] = i ;1174 (*fPixAssignment)[i] = i+1; 1164 1175 } 1165 1176
Note:
See TracChangeset
for help on using the changeset viewer.