Changeset 8106 for trunk/MagicSoft/Mars/mfbase/MFEventSelector2.cc
- Timestamp:
- 10/17/06 18:18:40 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mfbase/MFEventSelector2.cc
r6949 r8106 1 1 /* ======================================================================== *\ 2 ! $Name: not supported by cvs2svn $:$Id: MFEventSelector2.cc,v 1.10 2006-10-17 17:15:59 tbretz Exp $ 3 ! -------------------------------------------------------------------------- 2 4 ! 3 5 ! * … … 285 287 // set the nominal distribution equal to the original distribution 286 288 287 const Bool_t fUseOrigDist = fHistNom->GetHist().GetEntries()==0;288 TH1 *hnp = fUseOrigDist ? (TH1*)(fHistOrig->GetHist()).Clone() :289 const Bool_t useorigdist = fHistNom->GetHist().GetEntries()==0; 290 TH1 *hnp = useorigdist ? (TH1*)(fHistOrig->GetHist()).Clone() : 289 291 &fHistNom->GetHist(); 290 292 … … 355 357 } 356 358 357 if ( fUseOrigDist)359 if (useorigdist) 358 360 delete hnp; 359 361 }
Note:
See TracChangeset
for help on using the changeset viewer.