Changeset 2695 for trunk/MagicSoft/Mars/mtools
- Timestamp:
- 12/17/03 17:14:00 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mtools/MTFillMatrix.cc
r2692 r2695 146 146 // at MFEventSelector2 which is used to select the events. 147 147 // 148 // FIXME: Make a copy of ref. 149 // 148 150 MTFillMatrix::MTFillMatrix(const MH3 &ref) 149 151 : fReference(ref), fReader(0), fDestMatrix1(0), … … 166 168 return kFALSE; 167 169 } 168 169 const Bool_t useorigdistrib = fReference.GetHist().GetEntries()==0;170 170 171 171 *fLog << inf; … … 174 174 *fLog << "Fill " << fDestMatrix2->GetDescriptor() << " with " << fNumDestEvents2 << endl; 175 175 *fLog << "Distribution choosen "; 176 if ( !useorigdistrib)176 if (fReference.GetHist().GetEntries()>0) 177 177 *fLog << "from " << fReference.GetDescriptor(); 178 178 else … … 193 193 selector.SetNumMax(fNumDestEvents1+fNumDestEvents2); 194 194 selector.SetInverted(); 195 if (useorigdistrib)196 selector.SetUseOrigDistribution(kTRUE);197 195 198 196 //
Note:
See TracChangeset
for help on using the changeset viewer.