|
[Rivet] Rivet tutorialAndy Buckley andy.buckley at cern.chThu Mar 31 14:09:52 BST 2016
Hi Vitaliano, Thanks for the suggestion. Have you seen the docs at http://yoda.hepforge.org/pydoc/? I just added some basic usage examples to that page and reordered the auto-generated stuff to make the "human" content more obvious -- hope it's useful. I didn't yet make examples for everything you asked about, but hist.scaleW(factor) will scale a histogram's weights, summing is just h1+h2, and histo division is h1/h2 -- the last of which returns a Scatter2D rather than a Histo1D. Definitely yodamerge can't handle all scenarios of combining homogeneous and heterogeneous run outputs -- at least not with a single run: it might be necessary to merge together the homogeneous ones first, then do heterogeneous merges of the combined samples -- perhaps with relative weights. At that point writing your own script makes sense, IMHO. Andy On 30/03/16 15:27, Vitaliano Ciulli wrote: > Dear all, > > actually, if I can suggest something, I think it would be very useful if the tutorial can cover the YODA package in some detail, in particular how to handle histograms and make operations like scale, sum, divide them. Whenever one needs to run multiple jobs to get enough statistics or to combine different process it is a pain to do even simple operations (yodamerge doesn’t cover all possible situation and I don’t know where I can find some documentation to write my own python script). > > My two cents, > Vitaliano > > On 30 Mar 2016, at 12:42, Vitaliano Ciulli <Vitaliano.Ciulli at cern.ch> wrote: > >> Hi Pietro, >> >> the week of July 11th is fine to me too, though I am not sure I can be of any help for the tutorial. >> >> Cheers, >> Vitaliano >> >> On 30 Mar 2016, at 11:33, Pietro Govoni <pietro.govoni at cern.ch> wrote: >> >>> Dear All, >>> >>> thanks a lot for the feedback on the matter! >>> I am adding Vitaliano and Giulio as well to the thread, as CMS experts. >>> Of course it's ok for us to have a general-access tutorial as well! In case it's needed, we could always have then a following part reserved to the CMS users. >>> >>> Best regards, >>> >>> Pietro and Roberto >>> >>> >>> >>>> On 30 Mar 2016, at 11:21, Deepak Kar <deepak.kar at cern.ch> wrote: >>>> >>>> Hi Chris et al, >>>> >>>> If its at a time when I can be at CERN (week of 11th July should be ok as of now, the next week is BOOST, where I plan to go), I can help out as well, if you prefer. >>>> >>>> Cheers, >>>> Deepak >>>> >>>> On Tue, Mar 29, 2016 at 3:11 PM, Chris Pollard <cpollard at cern.ch> wrote: >>>> Hi all, >>>> >>>> Yes some of us Riveters were discussing the earliest we could do a tutorial at CERN. Unfortunately, the first week I could realistically do this would be the one starting 11 July. Would that work for Christian, Holger, and whoever else is interested in helping? Would that work for the CMS GEN group? >>>> >>>> I think it's possible to do it earlier if preferred, but I probably couldn't take part. >>>> >>>> Chris >>>> >>>> On Tue, Mar 29, 2016 at 1:02 PM, Andy Buckley <andy.buckley at cern.ch> wrote: >>>> Just prodding this into back your consciousness inboxes... I am too constrained to make the trip myself, but a couple of others from the Rivet dev collective (Chris and Christian) were keen to have a general-access (i.e. also theorists and other experiments) tutorial at CERN in the near future. Would that suit? >>>> >>>> Andy >>>> >>>> >>>> >>>> On 12/03/16 08:30, Pietro Govoni wrote: >>>> Dear Andy, >>>> >>>> thanks a lot! >>>> Indeed we want to run it at CERN, but we can also organise it in such a way that it is delivered through vidyo and Rivet experts are present in the room for support, if it's more convenient. >>>> >>>> Concerning the timescale, we could have it from mid-April onwards I think. >>>> >>>> Cheers, >>>> >>>> pietro >>>> >>>> >>>> On 11 Mar 2016, at 17:44, Andy Buckley <andy.buckley at cern.ch> wrote: >>>> >>>> On 11/03/16 11:35, Pietro Govoni wrote: >>>> Dear Andy, >>>> >>>> the CMS GEN group is organising a series of tutorials on the tools we use most, and among them we'd like to have one on Rivet. >>>> Xavier suggested us to ask directly to you about it, would you be available to help us? >>>> >>>> Hi Pietro, >>>> >>>> I'm copying your email on to the Rivet developer list, to get a broader response. For family reasons I personally have trouble travelling at the moment, but this is definitely the sort of thing that we want to support and I hope that one (or more?) of the other team members could come and give a tutorial -- I guess you want to run it at CERN? And any idea of timescale? >>>> >>>> Cheers, >>>> Andy >>>> >>>> -- >>>> Dr Andy Buckley, Lecturer / Royal Society University Research Fellow >>>> Particle Physics Expt Group, University of Glasgow >>>> >>>> >>>> >>>> -- >>>> Dr Andy Buckley, Lecturer / Royal Society University Research Fellow >>>> Particle Physics Expt Group, University of Glasgow >>>> _______________________________________________ >>>> Rivet mailing list >>>> Rivet at projects.hepforge.org >>>> https://www.hepforge.org/lists/listinfo/rivet >>>> >>>> >>>> _______________________________________________ >>>> Rivet mailing list >>>> Rivet at projects.hepforge.org >>>> https://www.hepforge.org/lists/listinfo/rivet >>>> >>>> -- >>>> Deepak Kar >>>> University of Witwatersrand >>>> Room PM15, School of Physics >>>> (0027) 011-7176958 (office) (0027) 0736944181 (mobile) >>>> >>>> While at CERN: >>>> Building 1, R-016 >>>> (0041) 0767321349 (mobile) >>>> >>>> While at USA: >>>> (001) 330-998-1500 (mobile) >>> >> > -- Dr Andy Buckley, Lecturer / Royal Society University Research Fellow Particle Physics Expt Group, University of Glasgow
More information about the Rivet mailing list |