All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SRVector3D.cxx
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 // \file SRVector3D.cxx
3 // \brief TVector3 have three doubles plus ROOT IDs. This adds up.
4 // SRVector3D contain only the 3 floats we need.
5 // \author Christopher Backhouse - bckhouse@caltech.edu
6 ////////////////////////////////////////////////////////////////////////
7 
9 
10 namespace caf
11 {
13  x(std::numeric_limits<float>::signaling_NaN()),
14  y(std::numeric_limits<float>::signaling_NaN()),
15  z(std::numeric_limits<float>::signaling_NaN())
16  {
17  }
18 
19  SRVector3D::SRVector3D(float _x, float _y, float _z) :
20  x(_x), y(_y), z(_z)
21  {
22  }
23 
24  SRVector3D::SRVector3D(const TVector3& v) :
25  x(v.X()), y(v.Y()), z(v.Z())
26  {
27  }
28 
30  {
31  }
32 
33  void SRVector3D::SetXYZ(float _x, float _y, float _z)
34  {
35  x = _x;
36  y = _y;
37  z = _z;
38  }
39 
40  SRVector3D::operator TVector3() const
41  {
42  return TVector3(x, y, z);
43  }
44 
45  } // end namespace caf
46 ////////////////////////////////////////////////////////////////////////
process_name opflash particleana ie ie ie z
double std(const std::vector< short > &wf, const double ped_mean, size_t start, size_t nsample)
Definition: UtilFunc.cxx:42
void SetXYZ(float x, float y, float z)
Definition: SRVector3D.cxx:33
process_name opflash particleana ie x
then echo echo For and will not be changed by echo further linking echo echo B echo The symbol is in the uninitialized data multiple common symbols may appear with the echo same name If the symbol is defined the common echo symbols are treated as undefined references For more echo details on common see the discussion of warn common echo in *Note Linker see the discussion of warn common echo in *Note Linker such as a global int variable echo as opposed to a large global array echo echo I echo The symbol is an indirect reference to another symbol This echo is a GNU extension to the a out object file format which is echo rarely used echo echo N echo The symbol is a debugging symbol echo echo R echo The symbol is in a read only data section echo echo S echo The symbol is in an uninitialized data section for small echo objects echo echo T echo The symbol is in the the normal defined echo symbol is used with no error When a weak undefined symbol echo is linked and the symbol is not the value of the echo weak symbol becomes zero with no error echo echo W echo The symbol is a weak symbol that has not been specifically echo tagged as a weak object symbol When a weak defined symbol echo is linked with a normal defined the normal defined echo symbol is used with no error When a weak undefined symbol echo is linked and the symbol is not the value of the echo weak symbol becomes zero with no error echo echo echo The symbol is a stabs symbol in an a out object file In echo this the next values printed are the stabs other echo the stabs desc and the stab type Stabs symbols are echo used to hold debugging information For more echo see *Note or object file format specific echo echo For Mac OS X
process_name opflash particleana ie ie y
virtual ~SRVector3D()
Definition: SRVector3D.cxx:29