[Rivet] [Rivet-svn] r3060 - trunk/src/Core

Andy Buckley andy.buckley at ed.ac.uk
Thu Apr 14 22:46:48 BST 2011


D'oh! Thanks Holger... one for 1.5.1.

Andy


On 14/04/11 17:56, blackhole at projects.hepforge.org wrote:
> Author: holsch
> Date: Thu Apr 14 17:56:34 2011
> New Revision: 3060
> 
> Log:
> Bug fix for isCompatible. The second beam energy accidently was set as first beam energy too which made it impossible to run any DIS analysis
> 
> Modified:
>    trunk/src/Core/Analysis.cc
> 
> Modified: trunk/src/Core/Analysis.cc
> ==============================================================================
> --- trunk/src/Core/Analysis.cc	Thu Apr 14 16:05:55 2011	(r3059)
> +++ trunk/src/Core/Analysis.cc	Thu Apr 14 17:56:34 2011	(r3060)
> @@ -119,8 +119,8 @@
>  
>  
>    bool Analysis::isCompatible(const ParticlePair& beams) const {
> -    return isCompatible(beams.first.pdgId(), beams.second.pdgId(),
> -                        beams.first.energy(), beams.first.energy());
> +    return isCompatible(beams.first.pdgId(),  beams.second.pdgId(),
> +                        beams.first.energy(), beams.second.energy());
>    }
>  
>  
> _______________________________________________
> Rivet-svn mailing list
> Rivet-svn at projects.hepforge.org
> http://www.hepforge.org/lists/listinfo/rivet-svn
> 


-- 
Dr Andy Buckley
SUPA Advanced Research Fellow
Particle Physics Experiment Group, University of Edinburgh

The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.



More information about the Rivet mailing list