|
[Rivet] ATLAS_2014_I1306294Andy Buckley andy.buckley at cern.chFri Apr 17 18:54:25 BST 2015
Hi Hannes, I still don't understand the issue here: the Rivet interface does change between versions, which is why we still tie analysis releases together with the core library. I suspect that that analysis from the contrib area works with Rivet 2.2.0, but needs some code changes for 2.2.1 -- which we've already done to the version that is included in the 2.2.1 release. This is why the contrib analyses are provided "as is", with no guarantee, and may require some work to be usable: we didn't write them! We used to have a contrib/README file which said this explicitly, but somehow it has disappeared from the contrib area... Andy On 17/04/15 17:38, Hannes Jung wrote: > Dear Andy & Frank > > hm... apologies, I screwed up the mail. > What I had was > > ATLAS_2014_I1319490.cc: In member function 'virtual void Rivet::ATLAS_2014_I1319490::analyze(const Rivet::Event&)': > ATLAS_2014_I1319490.cc:178:80: error: no matching function for call to 'Rivet::JetAlg::jetsByPt(double, const double&, double, double, Rivet::RapScheme) const' > ATLAS_2014_I1319490.cc:178:80: note: candidates are: > > ... and this is for Rivet2, i think, since it has yoda files... > > Sorry for the confusion..... > but still having the same error..... > > Thanks a lot > cheers > Hannes > > >> On 17.04.2015, at 14:56, Andy Buckley <andy.buckley at cern.ch> wrote: >> >> Hi Hannes, >> >> a) that analysis is in the contrib area inside a tarball whose name ends >> in _rivet1, so I guess it is not meant to be used with Rivet 2.x >> >> b) it's also in the contrib/pre-2.2.1 subdir which means that it was >> developed using Rivet versions *earlier* than 2.2.1 >> >> c) the other implication of being in the contrib/pre-2.2.1 dir is that >> we *have* merged that analysis into the "official" collection from 2.2.1 >> onwards -- in this case including changes related to the Cuts system >> which has replaced a lot of these lots-of-doubles argument lists e.g. >> (etamin, etamax, ptmin, ...). So there is no need to download this >> analysis code at all if you are using Rivet 2.2.1, because it's built-in: >> >> $ rivet --list-analyses ATLAS_2014_I1306294 >> ATLAS_2014_I1306294 Measurement of Z boson in association with >> b-jets at 7 TeV in ATLAS (electron channel) >> ATLAS_2014_I1306294_EL Measurement of Z boson in association with >> b-jets at 7 TeV in ATLAS, (electron channel) >> ATLAS_2014_I1306294_MU Measurement of Z boson in association with >> b-jets at 7 TeV in ATLAS (muon channel) >> >> Cheers, >> Andy >> >> >> On 17/04/15 13:47, Hannes Jung wrote: >>> Dear Rivet experts >>> >>> I downloaded ATLAS_2014_I1306294 from >>> https://www.hepforge.org/archive/rivet/contrib/ >>> >>> and got the following error (using Rivet 2.2.1) >>> >>> ATLAS_2014_I1306294.cc: In member function 'virtual void Rivet::ATLAS_2014_I1306294::analyze(const Rivet::Event&)': >>> ATLAS_2014_I1306294.cc:137:118: error: no matching function for call to 'Rivet::JetAlg::jetsByPt(double, const double&, double, double, Rivet::RapScheme) const' >>> ATLAS_2014_I1306294.cc:137:118: note: candidates are: >>> /afs/desy.de/user/j/jung/scratch-dust/cvs/rivet-2/local/include/Rivet/Projections/JetAlg.hh:78:10: note: Rivet::Jets Rivet::JetAlg::jetsByPt(const Cut&) const >>> /afs/desy.de/user/j/jung/scratch-dust/cvs/rivet-2/local/include/Rivet/Projections/JetAlg.hh:78:10: note: candidate expects 1 argument, 5 provided >>> /afs/desy.de/user/j/jung/scratch-dust/cvs/rivet-2/local/include/Rivet/Projections/JetAlg.hh:141:10: note: Rivet::Jets Rivet::JetAlg::jetsByPt(double) const >>> /afs/desy.de/user/j/jung/scratch-dust/cvs/rivet-2/local/include/Rivet/Projections/JetAlg.hh:141:10: note: candidate expects 1 argument, 5 provided >>> >>> Any idea, what I am doing wrong ? >>> >>> Thanks a lot >>> cheers >>> Hannes >>> >>> >>> >>> *********************************************************************** >>> Hannes Jung >>> Email: Hannes.Jung at desy.de >>> mobile :+49 40 8998 93741 >>> http://www.desy.de/~jung >>> Tel: +49 (0) 40 8998 3741 >>> Fax: +49 (0) 40 8994 3741 >>> DESY, CMS 01B/02.213 >>> Notkestr.85, 22603 Hamburg, FRG >>> *********************************************************************** >>> >>> >>> >>> _______________________________________________ >>> Rivet mailing list >>> Rivet at projects.hepforge.org >>> https://www.hepforge.org/lists/listinfo/rivet >>> >> >> >> -- >> Dr Andy Buckley, Lecturer / Royal Society University Research Fellow >> Particle Physics Expt Group, University of Glasgow > > *********************************************************************** > Hannes Jung > Email: Hannes.Jung at desy.de > mobile :+49 40 8998 93741 > http://www.desy.de/~jung > Tel: +49 (0) 40 8998 3741 > Fax: +49 (0) 40 8994 3741 > DESY, CMS 01B/02.213 > Notkestr.85, 22603 Hamburg, FRG > *********************************************************************** > > > -- Dr Andy Buckley, Lecturer / Royal Society University Research Fellow Particle Physics Expt Group, University of Glasgow
More information about the Rivet mailing list |