Changeset 17074 for trunk/Mars/fact
- Timestamp:
- 09/05/13 11:32:16 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/fact/analysis/gain/extract_singles.C
r17033 r17074 165 165 Bool_t Finalize() 166 166 { 167 if (!fPedestal) 168 return kTRUE; 169 167 170 fPedestal->InitSize(fBaseline.GetNbinsX()); 168 171 fPedestal->SetNumEvents(GetNumExecutions()); … … 852 855 return 7; 853 856 857 if (fill.GetNumExecutions()==0) 858 return 8; 859 854 860 // ============================================================= 855 861 … … 858 864 MHSingles* h = (MHSingles*) plist.FindObject("MHSingles"); 859 865 if (!h) 860 return 8;866 return 9; 861 867 862 868 const TH2 *htime = h->GetTime(); … … 889 895 extract.GetExtractionRange().Write("ExtractionRange"); 890 896 897 if (firstRunID==lastRunID) 898 header.Write(); 899 891 900 return 0; 892 901 }
Note:
See TracChangeset
for help on using the changeset viewer.