CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
EnergySegmentFP420 Class Reference

#include <EnergySegmentFP420.h>

Public Member Functions

float energy () const
 
 EnergySegmentFP420 ()
 
 EnergySegmentFP420 (float energy, float x, float y, float z)
 
 EnergySegmentFP420 (float energy, Local3DPoint position)
 
float x () const
 
float y () const
 
float z () const
 

Private Attributes

float _energy
 
Local3DPoint _position
 

Detailed Description

Definition at line 11 of file EnergySegmentFP420.h.

Constructor & Destructor Documentation

EnergySegmentFP420::EnergySegmentFP420 ( )
inline

Definition at line 13 of file EnergySegmentFP420.h.

13 : _energy(0),_position(0,0,0){}
EnergySegmentFP420::EnergySegmentFP420 ( float  energy,
float  x,
float  y,
float  z 
)
inline

Definition at line 15 of file EnergySegmentFP420.h.

EnergySegmentFP420::EnergySegmentFP420 ( float  energy,
Local3DPoint  position 
)
inline

Definition at line 21 of file EnergySegmentFP420.h.

21  :
22  _energy(energy),_position(position){}
float energy() const

Member Function Documentation

float EnergySegmentFP420::energy ( void  ) const
inline

Definition at line 27 of file EnergySegmentFP420.h.

References _energy.

27 { return _energy;}
float EnergySegmentFP420::x ( ) const
inline
float EnergySegmentFP420::y ( ) const
inline
float EnergySegmentFP420::z ( ) const
inline

Definition at line 26 of file EnergySegmentFP420.h.

References _position, and PV3DBase< T, PVType, FrameType >::z().

Referenced by geometryXMLparser.Alignable::pos().

26 {return _position.z();}
T z() const
Definition: PV3DBase.h:63

Member Data Documentation

float EnergySegmentFP420::_energy
private

Definition at line 29 of file EnergySegmentFP420.h.

Referenced by energy().

Local3DPoint EnergySegmentFP420::_position
private

Definition at line 31 of file EnergySegmentFP420.h.

Referenced by x(), y(), and z().