/usr/include/Rivet/Projections/AxesDefinition.hh is in librivet-dev 1.8.3-1.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 | // -*- C++ -*-
#ifndef RIVET_AxesDefinition_HH
#define RIVET_AxesDefinition_HH
#include "Rivet/Projection.hh"
#include "Rivet/Event.hh"
namespace Rivet {
/**
@brief Base class for projections which define a spatial basis.
A pure virtual interface for projections which define a set of 3
basis vectors. This allows e.g. Thrust and Sphericity to be used
interchangeably as defining bases for e.g. hemisphere mass and broadening
calculations.
@author Andy Buckley
*/
class AxesDefinition : public Projection {
public:
/// Virtual destructor.
virtual ~AxesDefinition() { }
/// Clone on the heap.
virtual const Projection* clone() const = 0;
///@{ Axis accessors, in decreasing order of significance.
/// The main axis.
virtual const Vector3& axis1() const = 0;
/// The 2nd most significant ("major") axis.
virtual const Vector3& axis2() const = 0;
/// The least significant ("minor") axis.
virtual const Vector3& axis3() const = 0;
///@}
};
}
#endif
|