|
[Rivet] MSG_DEBUG in pluginsHolger Schulz holger.schulz at physik.hu-berlin.deWed Feb 22 12:11:31 GMT 2012
Hi, I would like to add some debug messages to an inline function in a plugin analysis but I fail to so with this approach: <includes> #include "Rivet/Tools/Logging.hh" <more includes> using namespace std; using namespace Rivet; inline bool function(const Rivet::Particle& p) { < code > MSG_DEBUG("Failed pT cut: " << pTs[0]*Rivet::MeV << " " << pTs[1]*Rivet::MeV); <more code> } The compiler yields errors like this: ATLAS_LAMBDA_KSHORT.cc:48:7: error: 'getLog' was not declared in this scope What am I missing? Cheers, Holger -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.hepforge.org/lists-archive/rivet/attachments/20120222/7ad2bfc9/attachment.html>
More information about the Rivet mailing list |