[Rivet] entering data points to ref histo aida files

Holger Schulz holger.schulz at physik.hu-berlin.de
Sun Mar 13 16:56:29 GMT 2011


On 13/03/11 17:13, Hannes Jung wrote:
> Hi Holger
>
> and the next question comes... how can i plot the data point on top of 
> the MC histo?
> I put the data histo in dir data, with the same name as the MC histo, 
> and then:
>
>  rivet-mkhtml --refid=/Users/jung/jung/cvs/rivet/myrivet/data cascade.aida

If your data file is in a place where Rivet can find it (try 
`rivet-config --datadir`),
a simple

    rivet-mkhtml cascade.aida:"This is cascade"

is sufficient. If this doesn't work, your data file may not follow the
Rivet conventions.

Holger

>
> But I only get the MC predict....
>
> cheers
> Hannes
>
> On 13.03.2011, at 16:42, Holger Schulz wrote:
>
>> On 13/03/11 16:35, Hannes Jung wrote:
>>> Dear all
>>>
>>> is there a easy way to enter data points from a measurement
>>> into aida ref histo files ?
>>> In other words, is there a script which does a conversion from the simple text file
>>> with data plus uncertainties into aida format ?
>>>    
>> Hi Hannes,
>>
>> you can convert histograms in the AIDA-format into a FLAT format
>> by
>>
>>     aida2flat histo.aida > histo.dat
>>
>> Conversion from FLAT to AIDA is then done by calling
>>
>>     flat2aida histo.dat
>>
>> which will overwrite you existing histo.aida.
>>
>> What I usually do is to edit a FLAT histo and the reconvert to
>> AIDA.
>>
>> Hope that helps,
>> Holger
>>> Thanks a lot
>>>
>>> cheers
>>> Hannes
>>>
>>> ***********************************************************************
>>> Hannes Jung
>>> Email:Hannes.Jung at cern.ch
>>> mobile :+49 40 8998 93741
>>> http://www.desy.de/~jung
>>> Tel: +49 (0) 40 8998 3741 (DESY)
>>> Tel: +41 22 76 71691 (CERN)
>>> CERN - PH
>>> 40-3 B11
>>> CH-1211 Genève 23
>>> Switzerland
>>> ***********************************************************************
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Rivet mailing list
>>> Rivet at projects.hepforge.org
>>> http://www.hepforge.org/lists/listinfo/rivet
>>>    
>>
>
> ***********************************************************************
> Hannes Jung
> Email: Hannes.Jung at cern.ch <mailto:Hannes.Jung at cern.ch>
> mobile :+49 40 8998 93741
> http://www.desy.de/~jung <http://www.desy.de/%7Ejung>
> Tel: +49 (0) 40 8998 3741 (DESY)
> Tel: +41 22 76 71691 (CERN)
> CERN - PH
> 40-3 B11
> CH-1211 Genève 23
> Switzerland
> ***********************************************************************
>
>
>
>
>
>
>
>
>
> _______________________________________________
> Rivet mailing list
> Rivet at projects.hepforge.org
> http://www.hepforge.org/lists/listinfo/rivet

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.hepforge.org/lists-archive/rivet/attachments/20110313/5cc18f49/attachment.html>


More information about the Rivet mailing list