|
[Rivet] ATLAS_2014_I1306294Andy Buckley andy.buckley at cern.chSat Apr 18 17:05:06 BST 2015
On 18/04/15 07:45, Hannes Jung wrote: > Hi Andy > > thanks for your reply. > > Yes, indeed, ATLAS_2014_I1319490 works with 2.2.0, but not with 2.2.1. > > Is there a way to find out, with which version the code was compiled ? No, I'm afraid not. We always encourage people to be using the newest version, so in the run-up to 2.2.0 we'd expect submitted analyses to work with 2.1.2, in the run-up to 2.2.1 we'd expect them to work with 2.2.0, etc. But we don't have complete control over what we are sent, and sometimes they are just plain buggy: if you use those contrib analyses you have to be prepared to do a bit of debugging, I'm afraid, but once they are part of a proper Rivet release it becomes our job to update them along with the core library. > But now I have another problem: > I want to run with all available W+jet measurements, and especially the > older ones > ATLAS_2012_I1083318 > but it is not in 2.2.0, > I get: > [jung at nafhh-cms05]~/scratch-dust/cvs/myrivet-2% rivet --list-analyses ATLAS_2012_I1083318 > [jung at nafhh-cms05]~/scratch-dust/cvs/myrivet-2% rivet > Rivet 2.2.0 running on machine nafhh-cms05.desy.de (x86_64) > > and I can't find it in the development area, > also not in the pre2.2.1. > It was in 2.1.2, but using this code, I get compilation errors. This is very strange. That analysis hasn't been removed from the build, isn't preliminary or unvalidated, and is available from my build of the Rivet trunk (which is pretty much equivalent to 2.2.1): $ rivet --list-analyses ATLAS_2012_I1083318 ATLAS_2012_I1083318 W+jets production at 7 TeV Sorry, it should be there in your installation; I don't know why it seems not to be appearing for you :-/ If you want to debug a bit further, you can check to see if that analysis class is present in your RivetATLASAnalyses.so plugin library. On Linux this is done with $ nm -C ~/heplocal/lib/RivetATLASAnalyses.so | grep ATLAS_2012_I1083318 and I guess either that is portable or there will be some equivalent for OS X. Hope that helps, Andy >> On 17.04.2015, at 19:54, Andy Buckley <andy.buckley at cern.ch> wrote: >> >> 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 > > *********************************************************************** > 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 |