CMS 3D CMS Logo

Public Member Functions | Private Attributes

SignalPoint Class Reference

#include <SignalPoint.h>

List of all members.

Public Member Functions

float amplitude () const
const LocalPointposition () const
SignalPointset_amplitude (float amp)
float sigma () const
 SignalPoint (float x, float y, float s, float a=1.0)
 SignalPoint ()
float x () const
float y () const

Private Attributes

float _amplitude
LocalPoint _pos
float _sigma

Detailed Description

An elementar charge point, with position, sigma from diffusion and Amplitude. That describes the drifted charge seen on the surface of the sensors.

Definition at line 12 of file SignalPoint.h.


Constructor & Destructor Documentation

SignalPoint::SignalPoint ( ) [inline]

Definition at line 14 of file SignalPoint.h.

: _pos(0,0), _sigma(0), _amplitude(0) {}
SignalPoint::SignalPoint ( float  x,
float  y,
float  s,
float  a = 1.0 
) [inline]

Definition at line 16 of file SignalPoint.h.

                                                      : 
    _pos(x,y), _sigma(s), _amplitude(a) {}

Member Function Documentation

float SignalPoint::amplitude ( ) const [inline]

Definition at line 23 of file SignalPoint.h.

References _amplitude.

{ return _amplitude;}
const LocalPoint& SignalPoint::position ( void  ) const [inline]

Definition at line 19 of file SignalPoint.h.

References _pos.

{ return _pos;}
SignalPoint& SignalPoint::set_amplitude ( float  amp) [inline]

Definition at line 24 of file SignalPoint.h.

References _amplitude.

{ _amplitude = amp; return *this;} 
float SignalPoint::sigma ( ) const [inline]

Definition at line 22 of file SignalPoint.h.

References _sigma.

{ return _sigma;}
float SignalPoint::x ( ) const [inline]

Definition at line 20 of file SignalPoint.h.

References _pos, and PV3DBase< T, PVType, FrameType >::x().

{ return _pos.x();}
float SignalPoint::y ( ) const [inline]

Definition at line 21 of file SignalPoint.h.

References _pos, and PV3DBase< T, PVType, FrameType >::y().

{ return _pos.y();}

Member Data Documentation

float SignalPoint::_amplitude [private]

Definition at line 28 of file SignalPoint.h.

Referenced by amplitude(), and set_amplitude().

Definition at line 26 of file SignalPoint.h.

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

float SignalPoint::_sigma [private]

Definition at line 27 of file SignalPoint.h.

Referenced by sigma().