|
[Rivet] Example of Rivet analysis for Z->ee processAndy Buckley andy.buckley at cern.chFri Jan 23 12:51:11 GMT 2015
Actually, a correction: in Rivet we wrap the histogram division in a routine which assigns to the output ratio object and re-sets titles, paths, etc. So it's divide(h1, h2, output). You'll find examples in existing analyses -- easiest way to find them is to grep the src/Analyses/*.cc files. In the YODA histogramming which we wrap, you can just do h1 / h2, or h1.divideBy(h1). Hope that helps, Andy On 23/01/15 12:47, Andy Buckley wrote: > divide(h1, h2) !! > > > On 23/01/15 05:49, Elzbieta Richter-Was wrote: >> Hello, >> >> we have tried successfully to run ATLAS analyses, but then >> trying to implement our won analysis encountered problem to which >> we cannot find solution in the code. >> >> In the "finalise" step we need to make ratio of two histograms, seems >> that such method like >> hist->Divide(hist, hist1, c, c1) >> does not exists for histograms implementation in Rivet? >> Is it possible? >> >> Could you help and send us suggestion how to do it >> >> thanks >> >> Elzbieta >> >> >> >> >> On Thu, 2014-11-20 at 11:04 +0000, Andy Buckley wrote: >>> On 20/11/14 09:57, Elzbieta Richter-Was wrote: >>>> Hello Andy, >>>> >>>> could you point me to the example of Rivet analysis which is working >>>> on events >>>> from Sherpa for the Z->ee process. Either on the public page or ATLAS code? >>>> I would like to try it out with students and get a bit familiar with the >>>> system, >>> >>> Hi Elzbieta, >>> >>> There are quite a few Z->ee analyses, from ATLAS, CMS, Tevatron, etc. as >>> well as pure MC without any reference data. Here are links to two ATLAS >>> Z pT measurement analyses: >>> >>> http://rivet.hepforge.org/analyses#ATLAS_2011_S9131140 >>> http://rivet.hepforge.org/analyses#ATLAS_2012_I1204784 >>> >>> And here are the pure MC analyses we have for events with single >>> leptonic Z's: >>> >>> http://rivet.hepforge.org/analyses#MC_ZINC >>> http://rivet.hepforge.org/analyses#MC_ZJETS >>> http://rivet.hepforge.org/analyses#MC_ZKTSPLITTINGS >>> >>> All analyses should work with Sherpa as well as with any other >>> generator. If they don't it's a bug, so please let us know! (To >>> rivet at projects.hepforge.org) >>> >>> Cheers, >>> Andy >>> >> > > -- Dr Andy Buckley, Royal Society University Research Fellow Particle Physics Expt Group, University of Glasgow / PH Dept, CERN
More information about the Rivet mailing list |