|
[Rivet-svn] rivet: 3 new changesetsRivet Mercurial rivet at projects.hepforge.orgTue Apr 5 15:15:01 BST 2016
details: https://rivet.hepforge.org/hg/rivet/rev/93d39f25a282 branches: changeset: 5094:93d39f25a282 user: Andy Buckley <andy at insectnation.org> date: Mon Apr 04 20:45:53 2016 +0100 description: Tweak API test code details: https://rivet.hepforge.org/hg/rivet/rev/506de9fec875 branches: changeset: 5095:506de9fec875 user: Andy Buckley <andy at insectnation.org> date: Tue Apr 05 15:08:28 2016 +0100 description: Adding setPE, setPM, setPtEtaPhiM, etc. methods and corresponding mk* static methods to FourMomentum, as well as adding more convenience aliases and vector attributes for completeness. Coordinate conversion functions taken from HEPUtils::P4. New attrs also mapped to ParticleBase. details: https://rivet.hepforge.org/hg/rivet/rev/9b7650911c12 branches: changeset: 5096:9b7650911c12 user: Andy Buckley <andy at insectnation.org> date: Tue Apr 05 15:08:45 2016 +0100 description: A first pop at electron efficiency and smearing functions diffs (truncated from 776 to 50 lines): --- a/ChangeLog Sat Apr 02 21:18:05 2016 +0100 +++ b/ChangeLog Tue Apr 05 15:08:45 2016 +0100 @@ -1,3 +1,11 @@ +2016-04-05 Andy Buckley <andy.buckley at cern.ch> + + * Adding setPE, setPM, setPtEtaPhiM, etc. methods and + corresponding mk* static methods to FourMomentum, as well as + adding more convenience aliases and vector attributes for + completeness. Coordinate conversion functions taken from + HEPUtils::P4. New attrs also mapped to ParticleBase. + 2016-03-29 Andy Buckley <andy.buckley at cern.ch> * ALEPH_1996_S3196992.cc, ATLAS_2010_S8914702.cc, --- a/include/Rivet/Math/Vector3.hh Sat Apr 02 21:18:05 2016 +0100 +++ b/include/Rivet/Math/Vector3.hh Tue Apr 05 15:08:45 2016 +0100 @@ -317,6 +317,15 @@ //@} + + /// @name Typedefs of vector types to short names + /// @todo Switch canonical and alias names + //@{ + //typedef Vector3 V3; //< generic + typedef Vector3 X3; //< spatial + //@} + + } #endif --- a/include/Rivet/Math/Vector4.hh Sat Apr 02 21:18:05 2016 +0100 +++ b/include/Rivet/Math/Vector4.hh Tue Apr 05 15:08:45 2016 +0100 @@ -17,6 +17,8 @@ /// @brief Specialisation of VectorN to a general (non-momentum) Lorentz 4-vector. + /// + /// @todo Add composite set/mk methods from different coord systems class FourVector : public Vector<4> { friend FourVector multiply(const double a, const FourVector& v); friend FourVector multiply(const FourVector& v, const double a); @@ -36,7 +38,7 @@ } FourVector(const Vector<4>& other) - : Vector<4>(other) { } + : Vector<4>(other) { }
More information about the Rivet-svn mailing list |