Changeset 2797 for trunk/MagicSoft/Mars
- Timestamp:
- 01/13/04 17:44:51 (21 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r2796 r2797 6 6 2004/01/13: Markus Gaug 7 7 8 * manalysis/MExtractSignal.h 9 - seems that the reduced light intensity of the CT1 Pulser 10 results in broader pulses -> Set Default time slices to [3,10] 11 8 12 * mhist/MHCamera.cc 9 13 - make Stat Window in option 'proj' bigger -
trunk/MagicSoft/Mars/macros/calibration.C
r2762 r2797 23 23 \* ======================================================================== */ 24 24 25 void calibration(TString pedname="/mnt/Data/rootdata/ 2003_12_01/20031130_03340_P_CrabNebula_E.root",26 TString calname="/mnt/Data/rootdata/ 2003_12_01/20031130_03341_C_CrabNebula_E.root")25 void calibration(TString pedname="/mnt/Data/rootdata/Miscellaneous/2003_12_19/20031218_03522_P_Park_E.root", 26 TString calname="/mnt/Data/rootdata/Miscellaneous/2003_12_19/20031218_03527_C_Park_E.root") 27 27 { 28 28 … … 63 63 64 64 MStatusDisplay *d1 = new MStatusDisplay; 65 66 // 65 66 //Set update time to 3s 67 67 d1->SetUpdateTime(3000); 68 68 … … 121 121 tlist2.AddToList(&calcalc); 122 122 123 MHCamEvent hist2;124 hist2.SetType(8);125 plist2.AddToList(&hist2);126 MFillH fill2("MHCamEvent", "MCalibrationCam");127 tlist2.AddToList(&fill2);128 129 MStatusDisplay *d2 = new MStatusDisplay;130 d2->SetUpdateTime(3000);131 132 123 // 133 124 // Create and setup the eventloop … … 135 126 MEvtLoop evtloop2; 136 127 evtloop2.SetParList(&plist2); 137 evtloop2.SetDisplay(d2);138 128 139 129 // … … 151 141 cam.Print(); 152 142 153 // 154 // Here we are confronted to a serious bug in ROOT: 155 // If we do not apply the next command, gPad will get 156 // screwed up completely: (Thanks to tbretz for finding out 157 // the reason during several hours!!!) 158 // 159 gROOT->GetListOfCanvases()->Delete(); 160 161 MHCamEvent &h = *(MHCamEvent*)plist2->FindObject("MHCamEvent"); 162 MHCamera &disp0 = *h.GetHistByName(); 163 MHCamera disp1 (geomcam, "MCalibrationCam;q", "Fitted Mean Charges"); 164 MHCamera disp3 (geomcam, "MCalibrationCam;sigmaq", "Sigma of Fitted Mean Charges"); 165 MHCamera disp5 (geomcam, "MCalibrationCam;probq", "Probability of Fit"); 166 MHCamera disp6 (geomcam, "MCalibrationCam;t", "Arrival Times"); 167 MHCamera disp7 (geomcam, "MCalibrationCam;sigmat", "Sigma of Arrival Times"); 168 MHCamera disp8 (geomcam, "MCalibrationCam;probt", "Probability of Time Fit"); 169 MHCamera disp9 (geomcam, "MCalibrationCam;ped", "Pedestals"); 170 MHCamera disp10 (geomcam, "MCalibrationCam;pedrms", "Pedestal RMS"); 171 MHCamera disp11 (geomcam, "MCalibrationCam;rsigma", "Reduced Sigmas"); 172 MHCamera disp12 (geomcam, "MCalibrationCam;phe", "Nr. of Phe's (F-Factor Method)"); 173 MHCamera disp13 (geomcam, "MCalibrationCam;convphe", "Conversion Factor (F-Factor Method)"); 174 MHCamera disp14 (geomcam, "MCalibrationCam;photons", "Nr. of Photons (Blind Pixel Method)"); 175 MHCamera disp15 (geomcam, "MCalibrationCam;convphot", "Conversion Factor (Blind Pixel Method)"); 176 MHCamera disp16 (geomcam, "MCalibrationCam;sigsqchargesq", "Sigma Square per Charges Square"); 143 MHCamEvent camevt; 144 MHCamera disp1 (geomcam, "MCalibrationPix;Charge", "Fitted Mean Charges"); 145 MHCamera disp3 (geomcam, "MCalibrationPix;SigmaCharge", "Sigma of Fitted Charges"); 146 MHCamera disp5 (geomcam, "MCalibrationPix;ChargeProb", "Probability of Fit"); 147 MHCamera disp6 (geomcam, "MCalibrationPix;Time", "Arrival Times"); 148 MHCamera disp7 (geomcam, "MCalibrationPix;SigmaTime", "Sigma of Arrival Times"); 149 MHCamera disp8 (geomcam, "MCalibrationPix;TimeChiSquare", "Chi Square of Time Fit"); 150 MHCamera disp9 (geomcam, "MCalibrationPix;Ped", "Pedestals"); 151 MHCamera disp10 (geomcam, "MCalibrationPix;PedRms", "Pedestal RMS"); 152 MHCamera disp11 (geomcam, "MCalibrationPix;RSigma", "Reduced Sigmas"); 153 MHCamera disp12 (geomcam, "MCalibrationPix;PheFFactorMethod", "Nr. of Phe's (F-Factor Method)"); 154 MHCamera disp13 (geomcam, "MCalibrationPix;MeanConversionFFactorMethod", "Conversion Factor (F-Factor Method)"); 155 MHCamera disp14 (geomcam, "MCalibrationPix;MeanPhotInsidePlexiglass", "Nr. of Photons (Blind Pixel Method)"); 156 MHCamera disp15 (geomcam, "MCalibrationPix;MeanConversionBlindPixelMethod", "Conversion Factor (Blind Pixel Method)"); 157 MHCamera disp16 (geomcam, "MCalibrationPix;RSigma/Charge", "Reduced Sigma per Charge"); 177 158 178 159 disp1.SetCamContent(*cam, 0); … … 206 187 207 188 208 disp1.SetYTitle(" Q[FADC counts]");189 disp1.SetYTitle("Charge [FADC counts]"); 209 190 // disp2.SetYTitle("\\Delta Q [FADC counts]"); 210 disp3.SetYTitle("\\sigma_{ Q} [FADC counts]");191 disp3.SetYTitle("\\sigma_{Charge} [FADC counts]"); 211 192 // disp4.SetYTitle("\\Delta {\\sigma_{Q}} [FADC counts]"); 212 disp5.SetYTitle("P_{ Q} [au]");213 disp6.SetYTitle(" T [FADC slices]");214 disp7.SetYTitle("\\sigma_{T } [FADC slices]");215 disp8.SetYTitle(" P_{T} [au]");216 disp9.SetYTitle("P [Total FADC counts ]");217 disp10.SetYTitle("RMS_{P } [Total FADC counts ]");218 disp11.SetYTitle("\\s igma^{2}_{Q} - RMS^{2}_{P} [FADC counts^2]");219 disp12.SetYTitle("Nr Phe's");220 disp13.SetYTitle("Conversion Factor [Ph e/FADC count]");221 disp14.SetYTitle("Nr Photons");222 disp15.SetYTitle("Conversion Factor [Ph /FADC count]");223 disp16.SetYTitle(" Sigma^2 per Charge^2[1]");193 disp5.SetYTitle("P_{Charge} [1]"); 194 disp6.SetYTitle("Arr. Time [Time Slice Nr.]"); 195 disp7.SetYTitle("\\sigma_{Time} [Time Slices]"); 196 disp8.SetYTitle("\\chi^{2}_{Time} [1]"); 197 disp9.SetYTitle("Ped [FADC Counts ]"); 198 disp10.SetYTitle("RMS_{Ped} [FADC Counts ]"); 199 disp11.SetYTitle("\\sqrt{\\sigma^{2}_{Charge} - RMS^{2}_{Ped}} [FADC Counts]"); 200 disp12.SetYTitle("Nr. Photo-Electrons [1]"); 201 disp13.SetYTitle("Conversion Factor [PhE/FADC Count]"); 202 disp14.SetYTitle("Nr. Photons [1]"); 203 disp15.SetYTitle("Conversion Factor [Phot/FADC Count]"); 204 disp16.SetYTitle("Reduced Sigma / Charge [1]"); 224 205 225 206 MStatusDisplay *d3 = new MStatusDisplay; -
trunk/MagicSoft/Mars/manalysis/MExtractSignal.h
r2766 r2797 50 50 MExtractSignal(const char *name=NULL, const char *title=NULL); 51 51 52 void SetRange(Byte_t hifirst=3, Byte_t hilast= 8, Byte_t lofirst=3, Byte_t lolast=8);52 void SetRange(Byte_t hifirst=3, Byte_t hilast=10, Byte_t lofirst=3, Byte_t lolast=10); 53 53 void SetSaturationLimit(Byte_t lim) { fSaturationLimit = lim; } 54 54
Note:
See TracChangeset
for help on using the changeset viewer.