PandaRoot
PndSttGeomPoint Class Reference

#include <PndSttGeomPoint.h>

Inheritance diagram for PndSttGeomPoint:

Public Member Functions

 PndSttGeomPoint ()
 
 PndSttGeomPoint (Double_t x, Double_t y, Double_t z, Double_t dx=0., Double_t dy=0., Double_t dz=0.)
 
 PndSttGeomPoint (PndSttGeomPoint const &other)
 
virtual ~PndSttGeomPoint ()
 
Double_t GetX () const
 
Double_t GetY () const
 
Double_t GetZ () const
 
void SetX (Double_t newX)
 
void SetY (Double_t newY)
 
void SetZ (Double_t newZ)
 
Double_t GetErrorX () const
 
Double_t GetErrorY () const
 
Double_t GetErrorZ () const
 
void SetErrorX (Double_t newErrorX)
 
void SetErrorY (Double_t newErrorY)
 
void SetErrorZ (Double_t newErrorZ)
 
Bool_t Is2D () const
 
Bool_t IsBetween (PndSttGeomPoint thisCenter, PndSttGeomPoint otherCenter) const
 
void Transform (Double_t x, Double_t y, Double_t z)
 
Double_t DistanceTo (PndSttGeomPoint myPoint) const
 
void Draw (Double_t size=0.5, Int_t color=1) const
 
PndSttGeomPointoperator= (const PndSttGeomPoint &)
 

Detailed Description

Definition at line 18 of file PndSttGeomPoint.h.

Constructor & Destructor Documentation

◆ PndSttGeomPoint() [1/3]

PndSttGeomPoint::PndSttGeomPoint ( )

Default constructor

◆ PndSttGeomPoint() [2/3]

PndSttGeomPoint::PndSttGeomPoint ( Double_t  x,
Double_t  y,
Double_t  z,
Double_t  dx = 0.,
Double_t  dy = 0.,
Double_t  dz = 0. 
)

Standard constructor

◆ PndSttGeomPoint() [3/3]

PndSttGeomPoint::PndSttGeomPoint ( PndSttGeomPoint const &  other)

Copy constructor

◆ ~PndSttGeomPoint()

virtual PndSttGeomPoint::~PndSttGeomPoint ( )
virtual

Destructor

Member Function Documentation

◆ DistanceTo()

Double_t PndSttGeomPoint::DistanceTo ( PndSttGeomPoint  myPoint) const

Referenced by SetErrorZ().

◆ Draw()

void PndSttGeomPoint::Draw ( Double_t  size = 0.5,
Int_t  color = 1 
) const

Referenced by SetErrorZ().

◆ GetErrorX()

Double_t PndSttGeomPoint::GetErrorX ( ) const
inline

Definition at line 40 of file PndSttGeomPoint.h.

40 { return fErrorX; }

◆ GetErrorY()

Double_t PndSttGeomPoint::GetErrorY ( ) const
inline

Definition at line 41 of file PndSttGeomPoint.h.

41 { return fErrorY; }

◆ GetErrorZ()

Double_t PndSttGeomPoint::GetErrorZ ( ) const
inline

Definition at line 42 of file PndSttGeomPoint.h.

42 { return fErrorZ; }

◆ GetX()

Double_t PndSttGeomPoint::GetX ( ) const
inline

Definition at line 32 of file PndSttGeomPoint.h.

32 { return fX; }

◆ GetY()

Double_t PndSttGeomPoint::GetY ( ) const
inline

Definition at line 33 of file PndSttGeomPoint.h.

33 { return fY; }

◆ GetZ()

Double_t PndSttGeomPoint::GetZ ( ) const
inline

Definition at line 34 of file PndSttGeomPoint.h.

34 { return fZ; }

◆ Is2D()

Bool_t PndSttGeomPoint::Is2D ( ) const

Referenced by SetErrorZ().

◆ IsBetween()

Bool_t PndSttGeomPoint::IsBetween ( PndSttGeomPoint  thisCenter,
PndSttGeomPoint  otherCenter 
) const

Referenced by SetErrorZ().

◆ operator=()

PndSttGeomPoint& PndSttGeomPoint::operator= ( const PndSttGeomPoint )
inline

Definition at line 60 of file PndSttGeomPoint.h.

60 { return *this; };

◆ SetErrorX()

void PndSttGeomPoint::SetErrorX ( Double_t  newErrorX)
inline

Definition at line 44 of file PndSttGeomPoint.h.

44 { fErrorX = newErrorX; }

◆ SetErrorY()

void PndSttGeomPoint::SetErrorY ( Double_t  newErrorY)
inline

Definition at line 45 of file PndSttGeomPoint.h.

45 { fErrorY = newErrorY; }

◆ SetErrorZ()

void PndSttGeomPoint::SetErrorZ ( Double_t  newErrorZ)
inline

Definition at line 46 of file PndSttGeomPoint.h.

References DistanceTo(), Draw(), Is2D(), IsBetween(), and Transform().

46 { fErrorZ = newErrorZ; }

◆ SetX()

void PndSttGeomPoint::SetX ( Double_t  newX)
inline

Definition at line 36 of file PndSttGeomPoint.h.

36 { fX = newX; }

◆ SetY()

void PndSttGeomPoint::SetY ( Double_t  newY)
inline

Definition at line 37 of file PndSttGeomPoint.h.

37 { fY = newY; }

◆ SetZ()

void PndSttGeomPoint::SetZ ( Double_t  newZ)
inline

Definition at line 38 of file PndSttGeomPoint.h.

38 { fZ = newZ; }

◆ Transform()

void PndSttGeomPoint::Transform ( Double_t  x,
Double_t  y,
Double_t  z 
)

Referenced by SetErrorZ().


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