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) {}

◆ 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) {}

Member Function Documentation

◆ amplitude()

float SignalPoint::amplitude ( ) const
inline

Definition at line 21 of file SignalPoint.h.

21 { return _amplitude; }

References _amplitude.

◆ position()

const LocalPoint& SignalPoint::position ( ) const
inline

Definition at line 17 of file SignalPoint.h.

17 { return _pos; }

References _pos.

◆ set_amplitude()

SignalPoint& SignalPoint::set_amplitude ( float  amp)
inline

Definition at line 22 of file SignalPoint.h.

22  {
23  _amplitude = amp;
24  return *this;
25  }

References _amplitude.

◆ sigma()

float SignalPoint::sigma ( ) const
inline

Definition at line 20 of file SignalPoint.h.

20 { return _sigma; }

References _sigma.

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

SignalPoint::y
float y() const
Definition: SignalPoint.h:19
PV3DBase::x
T x() const
Definition: PV3DBase.h:59
SignalPoint::_sigma
float _sigma
Definition: SignalPoint.h:29
SignalPoint::_amplitude
float _amplitude
Definition: SignalPoint.h:30
SignalPoint::_pos
LocalPoint _pos
Definition: SignalPoint.h:28
alignCSCRings.s
s
Definition: alignCSCRings.py:92
a
double a
Definition: hdecay.h:119
SignalPoint::x
float x() const
Definition: SignalPoint.h:18
PV3DBase::y
T y() const
Definition: PV3DBase.h:60