|
[Rivet] yoda2root, aida2rootAndy Buckley andy.buckley at cern.chMon May 12 14:41:54 BST 2014
Ok, good. Did you get your config file to work via rivet-mkhtml with the -c flag? I have just been looking at the relevant code and it appears to me that the config file arguments are passed on to rivet-cmphistos correctly. Thanks. Andy On 12/05/14 15:30, Hao Liu wrote: > Thanks Andy, > > I finally solved this problem by writing a config file. I specified to > use the normal axis in that config file and it works fine. I found that > writing a config file is a good strategy to get the style I want. > > Best, > Hao > On May 10, 2014, at 7:53 PM, Andy Buckley <andy.buckley at cern.ch > <mailto:andy.buckley at cern.ch>> wrote: > >> Hi Hao, >> >> Sorry, I forgot about this thread. It sounds like there might be a bug >> in passing that argument from rivet-mkhtml to rivet-cmphistos (one >> script just calls the other). I will take a look. >> >> Cheers, >> Andy >> >> >> On 29/04/14 23:46, Hao Liu wrote: >>> Hi Andy, >>> >>> At first I want to get the root file and then plot them in root which is >>> not a good way as seen right now. Yes, I changed the strategy and use >>> the command rivet-mkhtml to plot the histograms. I am right now >>> exploring the configure file when using mkhtml command. I want to change >>> the log scale Y axis to the X axis. I tried to use specify a config file >>> when using the commas rivet-mkhtml to change the Y axis to linear. It >>> seems it doesn’t work. While when I used the command *rivet-cmphistos >>> *.yoda *and then specify a config file using command make-plot *.dat. It >>> did work and gave me a linear Y axis. >>> >>> I guess my question is that if there is way to specify a config file >>> when using command *rivet-mkhtml. *I searched the web and was not able >>> to find a clear tutorial. >>> >>> Thanks, >>> Hao. >>> On Apr 29, 2014, at 4:51 PM, Andy Buckley <andy.buckley at cern.ch >>> <mailto:andy.buckley at cern.ch> >>> <mailto:andy.buckley at cern.ch>> wrote: >>> >>>> On 29/04/14 16:57, Hao Liu wrote: >>>>> Hi Andy, >>>>> >>>>> I have another quick question. I booked some histograms in my code >>>>> and I want to view them. In the old version Rivet, I could use the >>>>> aida2root to get the root file which I could view in ROOT. While in >>>>> the new version Rivet. I found that there is no command yoda2root. I >>>>> searched the web and found it’s said yoda2root is not enabled by >>>>> default. I don’t know how to enable yoda2root. >>>> >>>> Add --enable-root to your configure command. >>>> >>>>> What I did right now is that I use yoda2aida to get a aida file. Then >>>>> I use the old version Rivet command aida2root to get the root file. I >>>>> am not sure if this is OK. I think there might be a more straight >>>>> forward way to get the root file or to view the histograms. I used >>>>> the make pdf command to get the plots, while there is only one >>>>> Scatter2D plots showing up. All the Histo1D didn’t show up in that >>>>> pdf file. >>>> >>>> Can you provide the commands that you tried to use to plot the >>>> histograms? The Histo1Ds definitely should be showing up if you use >>>> rivet-mkhtml (or compare-histos + make-plots). >>>> >>>> Andy >>>> >>>> -- >>>> Dr Andy Buckley, Royal Society University Research Fellow >>>> Particle Physics Expt Group, University of Glasgow / PH Dept, CERN >>> >> >> >> -- >> Dr Andy Buckley, Royal Society University Research Fellow >> Particle Physics Expt Group, University of Glasgow / PH Dept, CERN > -- 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 |