CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
SignalPoint Class Reference

#include <SignalPoint.h>

Public Member Functions

float amplitude () const
 
const LocalPointposition () const
 
SignalPointset_amplitude (float amp)
 
float sigma () const
 
 SignalPoint ()
 
 SignalPoint (float x, float y, float s, float a=1.0)
 
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.

14 : _pos(0,0), _sigma(0), _amplitude(0) {}
LocalPoint _pos
Definition: SignalPoint.h:26
float _amplitude
Definition: SignalPoint.h:28
float _sigma
Definition: SignalPoint.h:27
SignalPoint::SignalPoint ( float  x,
float  y,
float  s,
float  a = 1.0 
)
inline

Definition at line 16 of file SignalPoint.h.

16  :
17  _pos(x,y), _sigma(s), _amplitude(a) {}
LocalPoint _pos
Definition: SignalPoint.h:26
float _amplitude
Definition: SignalPoint.h:28
float y() const
Definition: SignalPoint.h:21
float x() const
Definition: SignalPoint.h:20
double a
Definition: hdecay.h:121
float _sigma
Definition: SignalPoint.h:27

Member Function Documentation

float SignalPoint::amplitude ( ) const
inline

Definition at line 23 of file SignalPoint.h.

References _amplitude.

23 { return _amplitude;}
float _amplitude
Definition: SignalPoint.h:28
const LocalPoint& SignalPoint::position ( ) const
inline

Definition at line 19 of file SignalPoint.h.

References _pos.

19 { return _pos;}
LocalPoint _pos
Definition: SignalPoint.h:26
SignalPoint& SignalPoint::set_amplitude ( float  amp)
inline

Definition at line 24 of file SignalPoint.h.

References _amplitude.

24 { _amplitude = amp; return *this;}
float _amplitude
Definition: SignalPoint.h:28
float SignalPoint::sigma ( ) const
inline

Definition at line 22 of file SignalPoint.h.

References _sigma.

22 { return _sigma;}
float _sigma
Definition: SignalPoint.h:27
float SignalPoint::x ( ) const
inline
float SignalPoint::y ( ) const
inline

Member Data Documentation

float SignalPoint::_amplitude
private

Definition at line 28 of file SignalPoint.h.

Referenced by amplitude(), and set_amplitude().

LocalPoint SignalPoint::_pos
private

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().