- Timestamp:
- 09/12/03 15:43:56 (21 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r2330 r2331 6 6 - fixed the NaN-problem in the calculation of Alpha. More 7 7 information can be found in the comments there. 8 9 * mhist/MHFadcCam.cc: 10 - skip MC events which have no FADC information stored 11 - better output in case of changes in the number of slices 12 13 * mhist/MHFadcPix.cc: 14 - fixed the missing y-axis (UseCurrentStyle()) 15 16 * mmain/MDataCheck.cc 17 - added 'Time Spectra of Cosmics' button 18 8 19 9 20 -
trunk/MagicSoft/Mars/mhist/MHFadcCam.cc
r2173 r2331 102 102 if (fType==MHFadcPix::kSlices) 103 103 { 104 const Int_t nhi = par->GetNumHiGainSamples(); 105 106 // 107 // skip MC events without FADC information stored 108 // 109 if (nhi==0) 110 return kTRUE; 111 104 112 const Int_t nlo = par->GetNumLoGainSamples(); 105 const Int_t nhi = par->GetNumHiGainSamples();106 113 107 114 // … … 112 119 (*this)[i].Init(nhi, nlo); 113 120 else 114 if (fNumHiGains!=nhi || fNumLoGains!=nlo) 121 { 122 if (fNumLoGains!=nlo) 115 123 { 116 *fLog << err << dbginf << "ERROR - Number of lo- or hi-gain samples changed."<< endl;124 *fLog << err << dbginf << "ERROR - Number of lo-gain samples changed from " << fNumLoGains << " to " << nlo << endl; 117 125 return kFALSE; 118 126 } 127 if (fNumHiGains!=nhi) 128 { 129 *fLog << err << dbginf << "ERROR - Number of hi-gain samples changed from " << fNumHiGains << " to " << nhi << endl; 130 return kFALSE; 131 } 132 } 119 133 120 134 fNumHiGains = nhi; -
trunk/MagicSoft/Mars/mhist/MHFadcPix.cc
r1652 r2331 54 54 fHistHi.SetTitle(pixid ? Form("Hi Gain Pixel #%d", pixid) : "Hi Gain Samples"); 55 55 fHistHi.SetDirectory(NULL); 56 fHistHi.UseCurrentStyle(); 56 57 57 58 fHistLo.SetName(pixid ? Form("LoGain%03d", pixid) : "LoGain"); 58 59 fHistLo.SetTitle(pixid ? Form("Lo Gain Pixel #%d", pixid) : "Lo Gain Samples"); 59 60 fHistLo.SetDirectory(NULL); 61 fHistLo.UseCurrentStyle(); 60 62 61 63 if (fType==kValue) -
trunk/MagicSoft/Mars/mmain/MDataCheck.cc
r1916 r2331 59 59 { 60 60 //TGTextButton *pedadc = new TGTextButton(fTop1, "ADC Spectra of Pedestals", kButPedAdc); 61 TGTextButton *cradc = new TGTextButton(fTop1, "ADC Spectra of Cosmics", 62 //TGTextButton *pedtdc = new TGTextButton(fTop3, "Run Spectra of Pedestals", kButPedTdc);61 TGTextButton *cradc = new TGTextButton(fTop1, "ADC Spectra of Cosmics", kButEvtAdc); 62 TGTextButton *evttdc = new TGTextButton(fTop1, "Time Spectra of Cosmics", kButEvtTdc); 63 63 //TGTextButton *crtdc = new TGTextButton(fTop3, "Run Spectra of Cosmics", kButEvtTdc); 64 64 65 65 //pedadc->Associate(this); 66 66 cradc ->Associate(this); 67 //pedtdc->Associate(this);67 evttdc->Associate(this); 68 68 //crtdc ->Associate(this); 69 69 70 70 //fList->Add(pedadc); 71 71 fList->Add(cradc); 72 //fList->Add(pedtdc);72 fList->Add(evttdc); 73 73 //fList->Add(crtdc); 74 74 … … 78 78 //fTop1->AddFrame(pedadc, laybut); 79 79 fTop1->AddFrame(cradc, laybut); 80 80 fTop1->AddFrame(evttdc, laybut); 81 81 //fTop3->AddFrame(pedtdc, laybut); 82 82 //fTop3->AddFrame(crtdc, laybut);
Note:
See TracChangeset
for help on using the changeset viewer.