[Rivet] c++11 features in Rivet routines

Andy Buckley andy.buckley at cern.ch
Tue Dec 9 01:20:52 GMT 2014


Exactly. There's lots of C++11 features that I think will allow Rivet
code to be cleaner and more expressive, but SLC6 is rather a sticking
point (I would rather that SL didn't have compiler installed -- since
the LHC experiments always override it with something much newer,
there's little incentive to update, but there are quite a lot of users
who expect that vanilla SLC6 should be functional. Maybe we should
challenge that assumption, but we prefer not to annoy people ;-)

As far as I know, C++11 is not universally supported in ATLAS dev build
code yet, either, so I would certainly prefer to wait for that to work
before we switch to requiring it in headers that ATLAS needs to compile
against. (That doesn't apply to analysis plugin code, though, but I
think when we make the switch we'll do it everywhere, not just in
unexposed code.)

Andy


On 08/12/14 23:10, David Grellscheid wrote:
> Hi Roman,
> 
> for now, Rivet analyses must compile cleanly with standard C++98. The
> main constraint here is the widespread adoption of the (by now
> 4-year-old) SLC6 which as default does not come with a useable C++11
> compiler. I expect that we'll review this point once CC7 is in
> production (maybe 2015-Q1 according to
> http://linux.web.cern.ch/linux/centos7/).
> 
> See you,
> 
>   David
> 
> 
> 
> On 08/12/2014 20:35, roman lysak wrote:
>>
>>    Dear Rivet authors,
>>
>> we are in the process of validating one ATLAS analysis which using some
>> C+11 features (e.g. brace-enclosed initializer of the list). I wonder
>> what is your general view on this: do you accept such code already, or
>> you would prefer to avoid such features for now? Specifically for this
>> analysis, it should be easy to avoid c++11 features, but it would be
>> good to know this also for the future analyses.
>>
>> Thanks,
>>    Roman
>>
>>
>> _______________________________________________
>> 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


-- 
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