Changeset 7846 for trunk/MagicSoft/Mars/datacenter/macros
- Timestamp:
- 08/04/06 10:43:50 (18 years ago)
- File:
-
- 1 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
Note:
See TracChangeset
for help on using the changeset viewer.