|
[Rivet] API change again?Andy Buckley andy.buckley at ed.ac.ukWed Jul 7 16:15:25 BST 2010
On 07/07/10 15:57, David Grellscheid wrote: > >> _rivet->writeData(filename); > > This doesn't work with 1.2.1 Hmm, I must be forgetting an update to the testApi file. This is the preferred "future-proof" way, but IIRC _rivet->commitData() should work in 1.2.1. We can put in some #defines to help with detecting available features, cf. HepMC, if that would be useful: include/Rivet/Config/RivetConfig.hh.in would be the best place for things like this, e.g. RIVET_HAS_WRITEDATA. Sorry about the motion in the AIDA part of the API: the intention is to make the public interface independent of the underlying histogramming so that we can move over to YODA. In an ideal world it would have been an overnight switch with temporary pain, not this drawn-out process :( Andy -- Dr Andy Buckley SUPA Advanced Research Fellow Particle Physics Experiment Group, University of Edinburgh The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.
More information about the Rivet mailing list |