QwAnalysis
QwMagneticField.cc File Reference
#include "QwMagneticField.h"
#include "TMath.h"
#include "QwLog.h"
#include "QwUnits.h"
+ Include dependency graph for QwMagneticField.cc:

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &stream, const double v[3])
 

Function Documentation

std::ostream& operator<< ( std::ostream &  stream,
const double  v[3] 
)
inline

Method to print arrays conveniently

Parameters
streamOutput stream
vArray of 3 doubles
Returns
Output stream

Definition at line 36 of file QwMagneticField.cc.

37 {
38  return stream << "(" << v[0] << "," << v[1] << "," << v[2] << ")";
39 }