Changeset 49234af in git for external/fastjet/LimitedWarning.cc
- Timestamp:
- Dec 9, 2014, 1:27:13 PM (10 years ago)
- Branches:
- ImprovedOutputFile, Timing, dual_readout, llp, master
- Children:
- 37deb3b, 9e991f8
- Parents:
- f6b6ee7 (diff), e7e90df (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
external/fastjet/LimitedWarning.cc
rf6b6ee7 r49234af 1 // STARTHEADER2 // $Id $1 //FJSTARTHEADER 2 // $Id: LimitedWarning.cc 3619 2014-08-13 14:17:19Z salam $ 3 3 // 4 // Copyright (c) 2005-201 1, Matteo Cacciari, Gavin P. Salam and Gregory Soyez4 // Copyright (c) 2005-2014, Matteo Cacciari, Gavin P. Salam and Gregory Soyez 5 5 // 6 6 //---------------------------------------------------------------------- … … 13 13 // 14 14 // The algorithms that underlie FastJet have required considerable 15 // development and are described in hep-ph/0512210. If you use 15 // development. They are described in the original FastJet paper, 16 // hep-ph/0512210 and in the manual, arXiv:1111.6097. If you use 16 17 // FastJet as part of work towards a scientific publication, please 17 // include a citation to the FastJet paper. 18 // quote the version you use and include a citation to the manual and 19 // optionally also to hep-ph/0512210. 18 20 // 19 21 // FastJet is distributed in the hope that it will be useful, … … 25 27 // along with FastJet. If not, see <http://www.gnu.org/licenses/>. 26 28 //---------------------------------------------------------------------- 27 // ENDHEADER29 //FJENDHEADER 28 30 29 31 #include "fastjet/LimitedWarning.hh" … … 40 42 41 43 42 // / output a warning to ostr43 void LimitedWarning::warn(const std::string & warning) {44 warn(warning, _default_ostr);45 }44 // /// output a warning to ostr 45 // void LimitedWarning::warn(const std::string & warning) { 46 // warn(warning, _default_ostr); 47 // } 46 48 47 void LimitedWarning::warn(const std::string &warning, std::ostream * ostr) {49 void LimitedWarning::warn(const char * warning, std::ostream * ostr) { 48 50 if (_this_warning_summary == 0) { 49 51 // prepare the information for the summary … … 54 56 // prepare the warning within a string stream 55 57 ostringstream warnstr; 56 warnstr << "WARNING : ";58 warnstr << "WARNING from FastJet: "; 57 59 warnstr << warning; 58 60 _n_warn_so_far++;
Note:
See TracChangeset
for help on using the changeset viewer.