AMSDST
Public Member Functions | Protected Attributes | List of all members
myDir Class Reference

#include <myPoint.h>

Inheritance diagram for myDir:
myPoint

Public Member Functions

 myDir (float theta=PI/2.0, float phi=0, bool ignstream=true)
 Constructor.
 
 myDir (const myDir &dir, bool ignstream=true)
 Copy constructor.
 
 ~myDir ()
 Default destructor.
 
void setd (float theta=PI/2.0, float phi=0)
 
float theta () const
 
float phi () const
 
float gettheta () const
 
float getphi () const
 
 ClassDef (myDir, 4)
 
void setp (float x=0, float y=0, float z=0)
 
float x () const
 
float y () const
 
float z () const
 
float & operator[] (int i)
 it allows the use of the array notation for an AMSPoint
 
float operator[] (int i) const
 it allow the use of the array notation for an AMSPoint
 
void Print (Option_t *option="") const
 
 ClassDef (myPoint, 5)
 

Protected Attributes

Float_t _theta
 
Float_t _phi
 
Float_t _x
 
Float_t _y
 
Float_t _z
 

Detailed Description

Definition at line 59 of file myPoint.h.

Constructor & Destructor Documentation

myDir::myDir ( float  theta = PI/2.0,
float  phi = 0,
bool  ignstream = true 
)

Constructor.

Definition at line 77 of file myPoint.cxx.

References PRINTDEBUG.

myDir::myDir ( const myDir dir,
bool  ignstream = true 
)

Copy constructor.

Definition at line 101 of file myPoint.cxx.

References phi(), PRINTDEBUG, theta(), myPoint::x(), myPoint::y(), and myPoint::z().

myDir::~myDir ( )

Default destructor.

Definition at line 111 of file myPoint.cxx.

References PRINTDEBUG.

Member Function Documentation

myPoint::ClassDef ( myPoint  ,
 
)
inherited
myDir::ClassDef ( myDir  ,
 
)
float myDir::getphi ( ) const
inline

Definition at line 94 of file myPoint.h.

References _phi.

float myDir::gettheta ( ) const
inline

Definition at line 93 of file myPoint.h.

References _theta.

float& myPoint::operator[] ( int  i)
inlineinherited

it allows the use of the array notation for an AMSPoint

Definition at line 46 of file myPoint.h.

References myPoint::_x, myPoint::_y, and myPoint::_z.

float myPoint::operator[] ( int  i) const
inlineinherited

it allow the use of the array notation for an AMSPoint

Definition at line 49 of file myPoint.h.

References myPoint::_x, myPoint::_y, and myPoint::_z.

float myDir::phi ( ) const
inline

Definition at line 92 of file myPoint.h.

References _phi.

Referenced by myDir().

void myPoint::Print ( Option_t *  option = "") const
inherited

Definition at line 72 of file myPoint.cxx.

void myDir::setd ( float  theta = PI/2.0,
float  phi = 0 
)

Definition at line 179 of file myPoint.cxx.

void myPoint::setp ( float  x = 0,
float  y = 0,
float  z = 0 
)
inherited

Definition at line 65 of file myPoint.cxx.

Referenced by myEvent::GetRTIdL1L9().

float myDir::theta ( ) const
inline

Definition at line 91 of file myPoint.h.

References _theta.

Referenced by myDir().

float myPoint::x ( ) const
inlineinherited

Definition at line 41 of file myPoint.h.

References myPoint::_x.

Referenced by myDir(), and myPoint::myPoint().

float myPoint::y ( ) const
inlineinherited

Definition at line 42 of file myPoint.h.

References myPoint::_y.

Referenced by myDir(), and myPoint::myPoint().

float myPoint::z ( ) const
inlineinherited

Definition at line 43 of file myPoint.h.

References myPoint::_z.

Referenced by myDir(), and myPoint::myPoint().

Member Data Documentation

Float_t myDir::_phi
protected

Definition at line 62 of file myPoint.h.

Referenced by getphi(), and phi().

Float_t myDir::_theta
protected

Definition at line 61 of file myPoint.h.

Referenced by gettheta(), and theta().

Float_t myPoint::_x
protectedinherited

Definition at line 16 of file myPoint.h.

Referenced by myPoint::operator[](), and myPoint::x().

Float_t myPoint::_y
protectedinherited

Definition at line 17 of file myPoint.h.

Referenced by myPoint::operator[](), and myPoint::y().

Float_t myPoint::_z
protectedinherited

Definition at line 18 of file myPoint.h.

Referenced by myPoint::operator[](), and myPoint::z().


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