|
[Rivet-svn] rivet: Restore histo booking for this analysisRivet Mercurial rivet at projects.hepforge.orgTue Jul 19 23:30:02 BST 2016
details: https://rivet.hepforge.org/hg/rivet/rev/a7b42e3f115e branches: release-2-5-x changeset: 5319:a7b42e3f115e user: Holger Schulz <holger.schulz at durham.ac.uk> date: Tue Jul 19 23:28:35 2016 +0100 description: Restore histo booking for this analysis diffs (25 lines): --- a/src/Analyses/BABAR_2005_S6181155.cc Tue Jul 19 22:18:01 2016 +0100 +++ b/src/Analyses/BABAR_2005_S6181155.cc Tue Jul 19 23:28:35 2016 +0100 @@ -18,6 +18,14 @@ void init() { declare(Beam(), "Beams"); declare(UnstableFinalState(), "UFS"); + _histOnResonanceA = bookHisto1D(1,1,1); + _histOnResonanceB = bookHisto1D(2,1,1); + _histOffResonance = bookHisto1D(2,1,2); + _sigma = bookHisto1D(3,1,1); + _histOnResonanceA_norm = bookHisto1D(4,1,1); + _histOnResonanceB_norm = bookHisto1D(5,1,1); + _histOffResonance_norm = bookHisto1D(5,1,2); + } void analyze(const Event& e) { @@ -36,6 +44,7 @@ foreach (const Particle& p, ufs.particles()) { // 3-momentum in CMS frame + const double mom = cms_boost.transform(p.momentum()).vector3().mod(); // Only looking at Xi_c^0 if (p.abspid() != 4132 ) continue;
More information about the Rivet-svn mailing list |