DUNE StandardRecord
Base object for DUNE analysis files (CAFs)
Public Member Functions | Public Attributes | List of all members
caf::SRVector3D Class Reference

A 3-vector with more efficient storage than TVector3. More...

#include <SRVector3D.h>

Public Member Functions

 SRVector3D (float x, float y, float z)
 
 SRVector3D (const TVector3 &v)
 Easy conversion from TVector3.
 
void SetXYZ (float x, float y, float z)
 
 operator TVector3 () const
 Easy conversion to and from TVector3.
 
SRVector3Doperator= (const TVector3 &vec)
 
void SetX (float _x)
 
void SetY (float _y)
 
void SetZ (float _z)
 
float X () const
 
float Y () const
 
float Z () const
 
float Mag2 () const
 
float Mag () const
 
float Dot (const SRVector3D &v) const
 
SRVector3D Unit () const
 
SRVector3D operator+ (const SRVector3D &other) const
 
SRVector3D operator- (const SRVector3D &other) const
 

Public Attributes

float x
 
float y
 
float z
 

Detailed Description

A 3-vector with more efficient storage than TVector3.


The documentation for this class was generated from the following files: