Changeset 6797 for trunk/MagicSoft/Mars/mranforest
- Timestamp:
- 03/09/05 11:35:32 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mranforest/MRFEnergyEst.cc
r6540 r6797 61 61 #include "TStyle.h" 62 62 #include "TCanvas.h" 63 #include "TMath.h" 63 64 #include "TVector.h" 64 65 … … 134 135 } 135 136 136 if( energy_rule.CompareTo("MMcEvt.fEnergy"))137 if(!energy_rule.Contains("fEnergy")) 137 138 { 138 139 *fLog << err << dbginf << "Can not accept "<<energy_rule<<" as true energy ... aborting." << endl; … … 275 276 for(Int_t j=0;j<nbins;j++) 276 277 { 277 e_low = min(atof((fEForests[j])->GetTitle()),e_low);278 e_up = max(atof((fEForests[j])->GetTitle()),e_up);278 e_low = TMath::Min(atof((fEForests[j])->GetTitle()),e_low); 279 e_up = TMath::Max(atof((fEForests[j])->GetTitle()),e_up); 279 280 } 280 281
Note:
See TracChangeset
for help on using the changeset viewer.