Changeset 7846 for trunk/MagicSoft/Mars
- Timestamp:
- 08/04/06 10:43:50 (18 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/macros/fillsignal.C
r7834 r7846 131 131 } 132 132 133 MHCamera *pulhi = (MHCamera*)arr.FindObjectInCanvas("PulseHi;avg", "TH1D", "PulseHi"); 134 if (!pulhi) 135 { 136 cout << "WARNING - Reading of PulseHi failed." << endl; 137 return 2; 138 } 139 MHCamera *pullo = (MHCamera*)arr.FindObjectInCanvas("PulseLo;avg", "TH1D", "PulseLo"); 140 if (!pullo) 141 { 142 cout << "WARNING - Reading of PulseLo failed." << endl; 133 MHCamera *hilo = (MHCamera*)arr.FindObjectInCanvas("HiLoOff;avg", "MHCamera", "HiLoOff"); 134 if (!hilo) 135 { 136 cout << "WARNING - Reading of HiLoOff failed." << endl; 143 137 return 2; 144 138 } … … 207 201 Double_t meanlo = TMath::Nint(pullo->GetMean()*100.)/100.; 208 202 Double_t rmslo = TMath::Nint(pullo->GetRMS() *100.)/100.; 209 */210 203 pullo->Add(pullo, pulhi, 1, -1); 211 204 pullo->ResetBit(MHCamera::kProfile); … … 213 206 Double_t meanoff = TMath::Nint(pullo->GetMean()*100.)/100.; 214 207 Double_t rmsoff = TMath::Nint(pullo->GetRMS() *100.)/100.; 208 */ 209 Double_t meanoff = TMath::Nint(hilo->GetMean()*100.)/100.; 210 Double_t rmsoff = TMath::Nint(hilo->GetRMS() *100.)/100.; 215 211 216 212 //get sequence number from the filename -
trunk/MagicSoft/Mars/mjobs/MJCalibrateSignal.cc
r7845 r7846 584 584 //MHCamEvent evtH( 11, "PulseHi", "Pulse Position of Hi-Gain;;T"); 585 585 //MHCamEvent evtL( 10, "PulseLo", "Pulse Position of Lo-Gain;;T"); 586 MHCamEvent evtR( 4, "HiLoCal", "Hi- Lo Gain ratio;;");587 MHCamEvent evtO( 7, "HiLoOff", "Hi- Lo Offset;;");586 MHCamEvent evtR( 4, "HiLoCal", "Hi-/Lo-Gain ratio;;Ratio"); 587 MHCamEvent evtO( 7, "HiLoOff", "Hi-/Lo-Gain Offset;;Offset"); 588 588 evt6.SetThreshold(); 589 589
Note:
See TracChangeset
for help on using the changeset viewer.