|
[Rivet-svn] r3721 - branches/2011-07-aida2yoda/src/Analysesblackhole at projects.hepforge.org blackhole at projects.hepforge.orgWed May 2 15:55:03 BST 2012
Author: hoeth Date: Wed May 2 15:55:03 2012 New Revision: 3721 Log: workaround for setting the path for divided histograms Modified: branches/2011-07-aida2yoda/src/Analyses/MC_GENERIC.cc Modified: branches/2011-07-aida2yoda/src/Analyses/MC_GENERIC.cc ============================================================================== --- branches/2011-07-aida2yoda/src/Analyses/MC_GENERIC.cc Wed May 2 13:59:05 2012 (r3720) +++ branches/2011-07-aida2yoda/src/Analyses/MC_GENERIC.cc Wed May 2 15:55:03 2012 (r3721) @@ -149,10 +149,23 @@ scale(_histPhi, 1/sumOfWeights()); scale(_histPhiCh, 1/sumOfWeights()); + /// @todo YODA need to clean up setting the path. + std::string path; + path = (*_histEtaPMRatio).path(); *_histEtaPMRatio = *_tmphistEtaPlus/ *_tmphistEtaMinus; + (*_histEtaPMRatio).setPath(path); + + path = (*_histEtaChPMRatio).path(); *_histEtaChPMRatio = *_tmphistEtaChPlus/ *_tmphistEtaChMinus; + (*_histEtaChPMRatio).setPath(path); + + path = (*_histRapidityPMRatio).path(); *_histRapidityPMRatio = *_tmphistRapPlus/ *_tmphistRapMinus; + (*_histRapidityPMRatio).setPath(path); + + path = (*_histRapidityChPMRatio).path(); *_histRapidityChPMRatio = *_tmphistRapChPlus/ *_tmphistRapChMinus; + (*_histRapidityChPMRatio).setPath(path); } //@}
More information about the Rivet-svn mailing list |