[Rivet] how to get insoire ID for data points

Hannes Jung hannes.jung at desy.de
Wed May 7 21:38:20 BST 2014


Hi Andy

thanks a lot,... this is good

For the version 2.0, yes I tried to bootstrap script.

I had to chenge the bootstrap for 

function wget_untar { wget --no-check-certificate $1 -O- | tar xz; }
 
the "--no-check-certificate" was needed.
I'll try now with the environment variables you mention below.... 
yes, I have OSX Mavericks
grrr, but when I try with the clang compiler, 
I get an error:
libtool: compile:  clang++ -DHAVE_CONFIG_H -I. -I../../../include/fastjet -Qunused-arguments -O3 -Wall -g -Woverloaded-virtual -DDROP_CGAL -I. -I./../../../include -MT libCDFcode_la-JetCluAlgorithm.lo -MD -MP -MF .deps/libCDFcode_la-JetCluAlgorithm.Tpo -c JetCluAlgorithm.cc  -fno-common -DPIC -o .libs/libCDFcode_la-JetCluAlgorithm.o
libtool: compile:  clang++ -DHAVE_CONFIG_H -I. -I../../../include/fastjet -Qunused-arguments -O3 -Wall -g -Woverloaded-virtual -DDROP_CGAL -I. -I./../../../include -MT libCDFcode_la-MidPointAlgorithm.lo -MD -MP -MF .deps/libCDFcode_la-MidPointAlgorithm.Tpo -c MidPointAlgorithm.cc  -fno-common -DPIC -o .libs/libCDFcode_la-MidPointAlgorithm.o
JetCluAlgorithm.cc:81:16: error: use of undeclared identifier 'abs'; did you
      mean 'fabs'?
          int dIEta = abs(iEtaSeedTower - iEtaPreClusterTower);
                      ^~~
                      fabs
/usr/include/math.h:431:15: note: 'fabs' declared here
extern double fabs(double);
              ^
JetCluAlgorithm.cc:82:16: error: use of undeclared identifier 'abs'; did you
      mean 'fabs'?
          int dIPhi = abs(iPhiSeedTower - iPhiPreClusterTower);
                      ^~~
                      fabs
/usr/include/math.h:431:15: note: 'fabs' declared here
extern double fabs(double);
              ^
2 errors generated.
make[3]: *** [libCDFcode_la-JetCluAlgorithm.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
libtool: compile:  clang++ -DHAVE_CONFIG_H -I. -I../../../include/fastjet -Qunused-arguments -O3 -Wall -g -Woverloaded-virtual -DDROP_CGAL -I. -I./../../../include -MT libCDFcode_la-MidPointAlgorithm.lo -MD -MP -MF .deps/libCDFcode_la-MidPointAlgorithm.Tpo -c MidPointAlgorithm.cc -o libCDFcode_la-MidPointAlgorithm.o >/dev/null 2>&1
mv -f .deps/libCDFcode_la-MidPointAlgorithm.Tpo .deps/libCDFcode_la-MidPointAlgorithm.Plo
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
~/jung/cvs/rivet2/build> 

I did not have that with the g++ compiler...

Cheers
Hannes





On 07.05.2014, at 22:20, Andy Buckley <andy.buckley at cern.ch> wrote:

> Ah, I see. The old version is the problem, since newer versions of
> rivet-mkanalysis have these lines:
> 
> if INSPIRE_SPIRES == "I":
>    hdurl = "http://hepdata.cedar.ac.uk/view/ins%s/yoda" % ANAINSPIREID
> elif INSPIRE_SPIRES == "S":
>    hdurl = "http://hepdata.cedar.ac.uk/view/irn%s/yoda" % ANAINSPIREID
> 
> i.e. we pick different URLs based on whether there is an I or an S in
> the analysis name. Sorry Mike & Graeme, I guess this wasn't a HepData
> change after all!
> 
> 
> Hannes, have you tried using the new bootstrap script to get Rivet 2.x
> building on your Mac? The latest set of instructions should work widely,
> apart from a recent OS X bug where Apple didn't update Python when they
> distributed a new version of the clang compiler which removed support
> for some command line flags. If you are using OS X Mavericks with the
> clang compiler then you should set these environment variables before
> building Rivet:
> 
> export CC=clang
> export CXX=clang++
> export CFLAGS=-Qunused-arguments
> export CPPFLAGS=-Qunused-arguments
> 
> For earlier Mac setups it should hopefully "just work" (of course the
> problem with development tools on Macs as opposed to Linux has been that
> historically they *don't* "just work"! But once this latest OS X build
> tools bug has been fixed, the system tools should finally be reliable
> and hopefully we'll have fewer Mac support calls to respond to ;-) )
> 
> If nothing else, please update at least to version 1.9.0!
> 
> Andy
> 
> 
> On 07/05/14 21:59, Hannes Jung wrote:
>> perfect... yes this is working...
>> hmmm. I am still using an old version 1.8.3.... sorry..... 
>> still having problems with 2.X to get working on my mac....
>> 
>> Cheers
>> Hannes
>> 
>> On 07.05.2014, at 21:56, Holger Schulz <hschulz at physik.hu-berlin.de
>> <mailto:hschulz at physik.hu-berlin.de>> wrote:
>> 
>>> On 07/05/14 20:51, Hannes Jung wrote:
>>>> Hi Holger
>>>> 
>>>> thanks a lot for this superfast response..... great....
>>>> 
>>>> it's not only for this file but for several papers I tried...
>>>> Is there an easy way to fix this ?
>>> Yes. If it's the same error all over, edit whatever `which
>>> rivet-mkanalysis`
>>> returns. Look for the line that looks like this:
>>> 
>>>    hdurl = "http://hepdata.cedar.ac.uk/view/*irn*%s/aida" % ANAINSPIREID
>>> 
>>> and change it to
>>> 
>>>    hdurl = "http://hepdata.cedar.ac.uk/view/*ins*%s/aida" % ANAINSPIREID
>>> 
>>> 
>>> Please report back on your findings and which version of rivet you are
>>> using.
>>> 
>>> Thanks,
>>> Holger
>>>> 
>>>> cheers
>>>> Hannes
>>>> 
>>>> On 07.05.2014, at 21:48, Holger Schulz <hschulz at physik.hu-berlin.de
>>>> <mailto:hschulz at physik.hu-berlin.de>> wrote:
>>>> 
>>>>> On 07/05/14 20:32, Hannes Jung wrote:
>>>>> 
>>>>> Hi Hannes,
>>>>> 
>>>>> for some reason the URL has of the data file on HepData has changed from
>>>>> 
>>>>>    http://hepdata.cedar.ac.uk/view/irn1279489/aida
>>>>> 
>>>>> to
>>>>> 
>>>>>    http://hepdata.cedar.ac.uk/view/ins1279489/aida
>>>>> 
>>>>> 
>>>>> I need to find out whether this happened erroneous or if a more
>>>>> refined url specification in rivet-mkanalysis is needed.
>>>>> 
>>>>> I attached the aida file to this mail for you to proceed.
>>>>> 
>>>>> Best regards,
>>>>> Holger
>>>>>> Dear Rivet gurus
>>>>>> 
>>>>>> I am trying to code some analysis in Rivet, which is already 
>>>>>> published and where the data points are on Hepdata:
>>>>>> For example https://inspirehep.net/record/1279489?ln=en
>>>>>> 
>>>>>> if i then do 
>>>>>> 
>>>>>> rivet-mkanalysis ATLAS_2014_I1279489
>>>>>> 
>>>>>> I was hoping to get the aida or yoda file with the data points,
>>>>>> but I don't. What am I doing wrong ?
>>>>>> Is the Inspire ID wrong, and if yes, where do I get it from ?
>>>>>> 
>>>>>> Thanks a lot
>>>>>> Cheers
>>>>>> Hannes
>>>>>> 
>>>>>> 
>>>>>> ***********************************************************************
>>>>>> Hannes Jung 
>>>>>> Email: Hannes.Jung at desy.de 
>>>>>> mobile :+49 40 8998 93741
>>>>>> http://www.desy.de/~jung                                  
>>>>>> Tel: +49 (0) 40 8998 3741         
>>>>>> Fax: +49 (0) 40 8994 3741
>>>>>> DESY, CMS 01B/02.213
>>>>>> Notkestr.85, 22603 Hamburg, FRG   
>>>>>> ***********************************************************************
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> _______________________________________________
>>>>>> Rivet mailing list
>>>>>> Rivet at projects.hepforge.org
>>>>>> https://www.hepforge.org/lists/listinfo/rivet
>>>>> 
>>>>> <ATLAS_2014_I1279489.aida>
>>>> 
>>>> ***********************************************************************
>>>> Hannes Jung 
>>>> Email: Hannes.Jung at desy.de <mailto:Hannes.Jung at desy.de> 
>>>> mobile :+49 40 8998 93741
>>>> http://www.desy.de/~jung <http://www.desy.de/%7Ejung>              
>>>> 
>>>> Tel: +49 (0) 40 8998 3741         
>>>> Fax: +49 (0) 40 8994 3741
>>>> DESY, CMS 01B/02.213
>>>> Notkestr.85, 22603 Hamburg, FRG   
>>>> ***********************************************************************
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>> 
>> 
>> ***********************************************************************
>> Hannes Jung 
>> Email: Hannes.Jung at desy.de <mailto:Hannes.Jung at desy.de> 
>> mobile :+49 40 8998 93741
>> http://www.desy.de/~jung                                  
>> Tel: +49 (0) 40 8998 3741         
>> Fax: +49 (0) 40 8994 3741
>> DESY, CMS 01B/02.213
>> Notkestr.85, 22603 Hamburg, FRG   
>> ***********************************************************************
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> _______________________________________________
>> Rivet mailing list
>> Rivet at projects.hepforge.org
>> https://www.hepforge.org/lists/listinfo/rivet
>> 
> 
> 
> -- 
> Dr Andy Buckley, Royal Society University Research Fellow
> Particle Physics Expt Group, University of Glasgow / PH Dept, CERN

***********************************************************************
Hannes Jung 
Email: Hannes.Jung at desy.de 
mobile :+49 40 8998 93741
http://www.desy.de/~jung                                  
Tel: +49 (0) 40 8998 3741         
Fax: +49 (0) 40 8994 3741
DESY, CMS 01B/02.213
Notkestr.85, 22603 Hamburg, FRG   
***********************************************************************







More information about the Rivet mailing list