Changeset 15481
- Timestamp:
- 05/03/13 10:55:05 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/fact/processing/numevents.C
r15394 r15481 55 55 Float_t fNumSigEvts = 0; 56 56 Float_t fNumExcEvts = 0; 57 Float_t fNumIslandsMean = 0; 57 58 58 59 //loop over the data files … … 115 116 } 116 117 118 //the number of events after cleaning 117 119 fNumEvtsAfterCleaning = star_tree->GetEntries(); 120 121 //get the mean number of islands in the _I.root file on runbasis 122 star_tree->Draw("MImagePar.fNumIslands>>IslandHisto","",""); 123 TH1F *HistJo = (TH1F*)gDirectory->Get("IslandHisto"); 124 fNumIslandsMean = HistJo->GetMean(); 118 125 } 119 126 … … 199 206 " fNumBgEvts=%5.1f, " 200 207 " fNumSigEvts=%5.1f, " 201 " fNumExcEvts=%5.1f ", 208 " fNumExcEvts=%5.1f " 209 " fNumIslandsMean=%5.4f ", 202 210 fNumEvtsAfterQualCuts, 203 211 fNumEvtsAfterBgCuts, 204 212 fNumBgEvts, 205 213 fNumSigEvts, 206 fNumExcEvts 214 fNumExcEvts, 215 fNumIslandsMean 207 216 ); 208 217 if (!pernight)
Note:
See TracChangeset
for help on using the changeset viewer.