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 11 of file SignalPoint.h.

Constructor & Destructor Documentation

◆ SignalPoint() [1/2]

SignalPoint::SignalPoint ( )
inline

Definition at line 13 of file SignalPoint.h.

13 : _pos(0, 0), _sigma(0), _amplitude(0) {}
LocalPoint _pos
Definition: SignalPoint.h:28
float _amplitude
Definition: SignalPoint.h:30
float _sigma
Definition: SignalPoint.h:29

◆ SignalPoint() [2/2]

SignalPoint::SignalPoint ( float  x,
float  y,
float  s,
float  a = 1.0 
)
inline

Definition at line 15 of file SignalPoint.h.

15 : _pos(x, y), _sigma(s), _amplitude(a) {}
LocalPoint _pos
Definition: SignalPoint.h:28
float _amplitude
Definition: SignalPoint.h:30
float x() const
Definition: SignalPoint.h:18
double a
Definition: hdecay.h:119
float y() const
Definition: SignalPoint.h:19
float _sigma
Definition: SignalPoint.h:29

Member Function Documentation

◆ amplitude()

float SignalPoint::amplitude ( ) const
inline

Definition at line 21 of file SignalPoint.h.

References _amplitude.

21 { return _amplitude; }
float _amplitude
Definition: SignalPoint.h:30

◆ position()

const LocalPoint& SignalPoint::position ( ) const
inline

Definition at line 17 of file SignalPoint.h.

References _pos.

17 { return _pos; }
LocalPoint _pos
Definition: SignalPoint.h:28

◆ set_amplitude()

SignalPoint& SignalPoint::set_amplitude ( float  amp)
inline

Definition at line 22 of file SignalPoint.h.

References _amplitude.

22  {
23  _amplitude = amp;
24  return *this;
25  }
float _amplitude
Definition: SignalPoint.h:30

◆ sigma()

float SignalPoint::sigma ( ) const
inline

Definition at line 20 of file SignalPoint.h.

References _sigma.

20 { return _sigma; }
float _sigma
Definition: SignalPoint.h:29

◆ x()

float SignalPoint::x ( ) const
inline

◆ y()

float SignalPoint::y ( ) const
inline

Member Data Documentation

◆ _amplitude

float SignalPoint::_amplitude
private

Definition at line 30 of file SignalPoint.h.

Referenced by amplitude(), and set_amplitude().

◆ _pos

LocalPoint SignalPoint::_pos
private

Definition at line 28 of file SignalPoint.h.

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

◆ _sigma

float SignalPoint::_sigma
private

Definition at line 29 of file SignalPoint.h.

Referenced by sigma().