|
[Rivet] ALICE analysis.Hendrik Hoeth hendrik.hoeth at cern.chTue Aug 23 10:16:05 BST 2011
Hi Pablo, thanks a lot for that analysis. It looks good and I committed it to the Rivet repository, so it is available in svn now and will be in the next release. Just a few very minor tips for the future: - You sum the event weights manually, even though you don't have any cuts in the analysis. There is a sumOfWeights() function that you can use in your histogram normalisation instead. Exactly the same thing, just a bit less coding for you. - The setBeams(PROTON, PROTON); line isn't needed anymore. I know, we still have it in most analyses, but I'm going to delete it everywhere today, since this information is now read from the .info file. - The .plot file supports regular expressions and partial names for the histogram IDs, so that when you have many histograms with e.g. the same XLabel or YLabel you can save yourself some typing. The last matching section wins. I've attached you an abbreviated version of your .plot file as example. Again, this doesn't change anything in the output, but reduces your workload and makes the file a bit more readable. - Purely cosmetic: I've shortened the histogram titles a bit so that they fit over the width of the plots. Best regards, and thanks again, Hendrik -- A man without a dream in his heart already has one foot in the grave. -------------- next part -------------- # BEGIN PLOT /ALICE_2011_S8945144/d0 XLabel=$p_\perp$ [GeV/c] YLabel=$1/N_\text{event} d^{2}N/dy/dp_\perp$ [GeV/c]$^{-1}$ # END PLOT # BEGIN PLOT /ALICE_2011_S8945144/d01-x01-y01 Title=$\pi^+$ tranverse momentum, $|\eta|<0.5$, $\sqrt{s}=0.9$ TeV (INEL) # END PLOT # BEGIN PLOT /ALICE_2011_S8945144/d01-x01-y02 Title=$\pi^-$ tranverse momentum, $|\eta|<0.5$, $\sqrt{s}=0.9$ TeV (INEL) # END PLOT # BEGIN PLOT /ALICE_2011_S8945144/d02-x01-y01 Title=$K^+$ tranverse momentum, $|\eta|<0.5$, $\sqrt{s}=0.9$ TeV (INEL) # END PLOT # BEGIN PLOT /ALICE_2011_S8945144/d02-x01-y02 Title=$K^-$ tranverse momentum, $|\eta|<0.5$, $\sqrt{s}=0.9$ TeV (INEL) # END PLOT # BEGIN PLOT /ALICE_2011_S8945144/d03-x01-y01 Title=$p$ tranverse momentum, $|\eta|<0.5$, $\sqrt{s}=0.9$ TeV (INEL) # END PLOT # BEGIN PLOT /ALICE_2011_S8945144/d03-x01-y02 Title=$\bar p$ tranverse momentum, $|\eta|<0.5$, $\sqrt{s}=0.9$ TeV (INEL) # END PLOT # BEGIN PLOT /ALICE_2011_S8945144/d04-x01-y01 Title=Average $p_\perp$ vs mass, $|\eta|<0.5$, $\sqrt{s}=0.9$ TeV (INEL) XLabel=mass YLabel=$\langle p_\perp \rangle$ [GeV/c] # END PLOT
More information about the Rivet mailing list |