MercuryDPM  0.10
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
StatisticsVector.hcc File Reference

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &os, const StatType S)
 

Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const StatType  S 
)
Bug:
{The code should also be able to handle 0 particles; right now it gives an error}

Definition at line 27 of file StatisticsVector.hcc.

References A, AZ, O, R, RA, RAZ, RZ, X, XY, XYZ, XZ, Y, YZ, and Z.

27  {
28  if (S==O) os << "O";
29  else if (S==X) os << "X";
30  else if (S==Y) os << "Y";
31  else if (S==Z) os << "Z";
32  else if (S==XY) os << "XY";
33  else if (S==XZ) os << "XZ";
34  else if (S==YZ) os << "YZ";
35  else if (S==XYZ) os << "XYZ";
36  else if (S==RAZ) os << "RAZ";
37  else if (S==RA) os << "RA";
38  else if (S==AZ) os << "AZ";
39  else if (S==RZ) os << "RZ";
40  else if (S==R) os << "R";
41  else if (S==A) os << "A";
42  return os;
43 }