Public Member Functions | Protected Attributes | List of all members
rb::Vertex Class Reference

A 3D position and time representing an interaction vertex. More...

#include "/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N20-11-28/RecoBase/Vertex.h"

Public Member Functions

 Vertex ()
 
 Vertex (TVector3 xyz, double t)
 
 Vertex (double x, double y, double z, double t)
 
double GetX () const
 
double GetY () const
 
double GetZ () const
 
double GetT () const
 
TVector3 GetXYZ () const
 
void SetX (double x)
 
void SetY (double y)
 
void SetZ (double z)
 
void SetT (double t)
 
void SetXYZ (double x, double y, double z)
 
void SetXYZ (TVector3 xyz)
 

Protected Attributes

double fX
 X coordinate (cm) More...
 
double fY
 Y coordinate (cm) More...
 
double fZ
 Z coordinate (cm) More...
 
double fT
 Time (ns) More...
 

Detailed Description

A 3D position and time representing an interaction vertex.

Definition at line 15 of file Vertex.h.

Constructor & Destructor Documentation

rb::Vertex::Vertex ( )

Definition at line 15 of file Vertex.cxx.

15  :
16  fX(0),
17  fY(0),
18  fZ(0),
19  fT(0)
20  {
21  }
double fZ
Z coordinate (cm)
Definition: Vertex.h:39
double fX
X coordinate (cm)
Definition: Vertex.h:37
double fT
Time (ns)
Definition: Vertex.h:40
double fY
Y coordinate (cm)
Definition: Vertex.h:38
rb::Vertex::Vertex ( TVector3  xyz,
double  t 
)

Definition at line 25 of file Vertex.cxx.

25  :
26  fX(xyz.X()),
27  fY(xyz.Y()),
28  fZ(xyz.Z()),
29  fT(t)
30  {
31  }
double fZ
Z coordinate (cm)
Definition: Vertex.h:39
double fX
X coordinate (cm)
Definition: Vertex.h:37
double fT
Time (ns)
Definition: Vertex.h:40
double fY
Y coordinate (cm)
Definition: Vertex.h:38
rb::Vertex::Vertex ( double  x,
double  y,
double  z,
double  t 
)

Definition at line 35 of file Vertex.cxx.

35  :
36  fX(x),
37  fY(y),
38  fZ(z),
39  fT(t)
40  {
41  }
double fZ
Z coordinate (cm)
Definition: Vertex.h:39
double fX
X coordinate (cm)
Definition: Vertex.h:37
double fT
Time (ns)
Definition: Vertex.h:40
z
Definition: test.py:28
double fY
Y coordinate (cm)
Definition: Vertex.h:38

Member Function Documentation

double rb::Vertex::GetT ( ) const
inline

Definition at line 26 of file Vertex.h.

References fT, and GetXYZ().

Referenced by ve::VertexEva::analyze(), upmuana::UpMuRecoAna::analyze(), skim::SkimmingUtils::CopyVertex(), and trk::TrkAssn::produce().

26 {return fT;}
double fT
Time (ns)
Definition: Vertex.h:40
double rb::Vertex::GetX ( ) const
inline
TVector3 rb::Vertex::GetXYZ ( ) const

Definition at line 45 of file Vertex.cxx.

References fX, fY, and fZ.

Referenced by skim::SkimmingUtils::CopyVertex(), GetT(), dt::ViewMerger::MaybeExtendToVertex(), skim::ParametersNue::ParametersNue(), skim::ParametersNumu::ParametersNumu(), slid::Recluster::produce(), and fuzz::FuzzyKVertex::produce().

46  {
47  return TVector3(fX, fY, fZ);
48  }
double fZ
Z coordinate (cm)
Definition: Vertex.h:39
double fX
X coordinate (cm)
Definition: Vertex.h:37
double fY
Y coordinate (cm)
Definition: Vertex.h:38
double rb::Vertex::GetY ( ) const
inline
double rb::Vertex::GetZ ( ) const
inline
void rb::Vertex::SetT ( double  t)
inline

Definition at line 32 of file Vertex.h.

References fT, SetXYZ(), and confusionMatrixTree::t.

Referenced by vdt::VertexDT::produce().

32 {fT = t;}
double fT
Time (ns)
Definition: Vertex.h:40
void rb::Vertex::SetX ( double  x)
inline

Definition at line 29 of file Vertex.h.

References fX, and submit_syst::x.

Referenced by vdt::VertexDT::produce().

29 {fX = x;}
double fX
X coordinate (cm)
Definition: Vertex.h:37
void rb::Vertex::SetXYZ ( double  x,
double  y,
double  z 
)

Definition at line 52 of file Vertex.cxx.

References fX, fY, fZ, submit_syst::x, submit_syst::y, and test::z.

Referenced by SetT().

53  {
54  fX = x;
55  fY = y;
56  fZ = z;
57  }
double fZ
Z coordinate (cm)
Definition: Vertex.h:39
double fX
X coordinate (cm)
Definition: Vertex.h:37
z
Definition: test.py:28
double fY
Y coordinate (cm)
Definition: Vertex.h:38
void rb::Vertex::SetXYZ ( TVector3  xyz)

Definition at line 61 of file Vertex.cxx.

References fX, fY, and fZ.

62  {
63  fX = xyz.X();
64  fY = xyz.Y();
65  fZ = xyz.Z();
66  }
double fZ
Z coordinate (cm)
Definition: Vertex.h:39
double fX
X coordinate (cm)
Definition: Vertex.h:37
double fY
Y coordinate (cm)
Definition: Vertex.h:38
void rb::Vertex::SetY ( double  y)
inline

Definition at line 30 of file Vertex.h.

References fY, and submit_syst::y.

Referenced by vdt::VertexDT::produce().

30 {fY = y;}
double fY
Y coordinate (cm)
Definition: Vertex.h:38
void rb::Vertex::SetZ ( double  z)
inline

Definition at line 31 of file Vertex.h.

References fZ, and test::z.

Referenced by vdt::VertexDT::produce().

31 {fZ = z;}
double fZ
Z coordinate (cm)
Definition: Vertex.h:39
z
Definition: test.py:28

Member Data Documentation

double rb::Vertex::fT
protected

Time (ns)

Definition at line 40 of file Vertex.h.

Referenced by GetT(), and SetT().

double rb::Vertex::fX
protected

X coordinate (cm)

Definition at line 37 of file Vertex.h.

Referenced by GetX(), GetXYZ(), SetX(), and SetXYZ().

double rb::Vertex::fY
protected

Y coordinate (cm)

Definition at line 38 of file Vertex.h.

Referenced by GetXYZ(), GetY(), SetXYZ(), and SetY().

double rb::Vertex::fZ
protected

Z coordinate (cm)

Definition at line 39 of file Vertex.h.

Referenced by GetXYZ(), GetZ(), SetXYZ(), and SetZ().


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