Changeset 6797
- Timestamp:
- 03/09/05 11:35:32 (20 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r6792 r6797 21 21 22 22 -*-*- END OF LINE -*-*- 23 2005/03/09 Thomas Hengstebeck 24 25 * mranforest/MRFEnergyEst.cc 26 - changed call of min, max functions to TMath::Min() and 27 TMath::Max() to avoid compilation problems with some gcc 28 versions 29 - changed check of energy rule (last col of MHMatrix) so, that 30 any rule containing "fEnergy" is accepted. 31 32 23 33 2005/03/08 Markus Gaug 24 34 -
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.