CMS 3D CMS Logo

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

#include <DigitizerUtility.h>

Public Member Functions

float amplitude () const
 
const PSimHithit ()
 
const LocalPointposition () const
 
SignalPointset_amplitude (float amp)
 
float sigma_x () const
 
float sigma_y () const
 
 SignalPoint ()
 
 SignalPoint (float x, float y, float sigma_x, float sigma_y, float t, const PSimHit &hit, float a=1.0)
 
 SignalPoint (float x, float y, float sigma_x, float sigma_y, float t, float a=1.0)
 
float time () const
 
float x () const
 
float y () const
 

Private Attributes

float _amplitude
 
const PSimHit_hitp
 
LocalPoint _pos
 
float _sigma_x
 
float _sigma_y
 
float _time
 

Detailed Description

Definition at line 96 of file DigitizerUtility.h.

Constructor & Destructor Documentation

◆ SignalPoint() [1/3]

DigitizerUtility::SignalPoint::SignalPoint ( )
inline

Definition at line 98 of file DigitizerUtility.h.

98 : _pos(0, 0), _time(0), _amplitude(0), _sigma_x(1.), _sigma_y(1.), _hitp(nullptr) {}

◆ SignalPoint() [2/3]

DigitizerUtility::SignalPoint::SignalPoint ( float  x,
float  y,
float  sigma_x,
float  sigma_y,
float  t,
float  a = 1.0 
)
inline

Definition at line 100 of file DigitizerUtility.h.

101  : _pos(x, y), _time(t), _amplitude(a), _sigma_x(sigma_x), _sigma_y(sigma_y), _hitp(nullptr) {}

◆ SignalPoint() [3/3]

DigitizerUtility::SignalPoint::SignalPoint ( float  x,
float  y,
float  sigma_x,
float  sigma_y,
float  t,
const PSimHit hit,
float  a = 1.0 
)
inline

Definition at line 103 of file DigitizerUtility.h.

Member Function Documentation

◆ amplitude()

float DigitizerUtility::SignalPoint::amplitude ( ) const
inline

Definition at line 112 of file DigitizerUtility.h.

112 { return _amplitude; }

References _amplitude.

◆ hit()

const PSimHit& DigitizerUtility::SignalPoint::hit ( )
inline

Definition at line 113 of file DigitizerUtility.h.

113 { return *_hitp; }

References _hitp.

◆ position()

const LocalPoint& DigitizerUtility::SignalPoint::position ( ) const
inline

Definition at line 106 of file DigitizerUtility.h.

106 { return _pos; }

References _pos.

◆ set_amplitude()

SignalPoint& DigitizerUtility::SignalPoint::set_amplitude ( float  amp)
inline

Definition at line 114 of file DigitizerUtility.h.

114  {
115  _amplitude = amp;
116  return *this;
117  }

References _amplitude.

◆ sigma_x()

float DigitizerUtility::SignalPoint::sigma_x ( ) const
inline

Definition at line 109 of file DigitizerUtility.h.

109 { return _sigma_x; }

References _sigma_x.

◆ sigma_y()

float DigitizerUtility::SignalPoint::sigma_y ( ) const
inline

Definition at line 110 of file DigitizerUtility.h.

110 { return _sigma_y; }

References _sigma_y.

◆ time()

float DigitizerUtility::SignalPoint::time ( ) const
inline

Definition at line 111 of file DigitizerUtility.h.

111 { return _time; }

References _time.

◆ x()

float DigitizerUtility::SignalPoint::x ( ) const
inline

◆ y()

float DigitizerUtility::SignalPoint::y ( ) const
inline

Member Data Documentation

◆ _amplitude

float DigitizerUtility::SignalPoint::_amplitude
private

Definition at line 122 of file DigitizerUtility.h.

Referenced by amplitude(), and set_amplitude().

◆ _hitp

const PSimHit* DigitizerUtility::SignalPoint::_hitp
private

Definition at line 125 of file DigitizerUtility.h.

Referenced by hit().

◆ _pos

LocalPoint DigitizerUtility::SignalPoint::_pos
private

Definition at line 120 of file DigitizerUtility.h.

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

◆ _sigma_x

float DigitizerUtility::SignalPoint::_sigma_x
private

Definition at line 123 of file DigitizerUtility.h.

Referenced by sigma_x().

◆ _sigma_y

float DigitizerUtility::SignalPoint::_sigma_y
private

Definition at line 124 of file DigitizerUtility.h.

Referenced by sigma_y().

◆ _time

float DigitizerUtility::SignalPoint::_time
private

Definition at line 121 of file DigitizerUtility.h.

Referenced by time().

PV3DBase::x
T x() const
Definition: PV3DBase.h:59
DigitizerUtility::SignalPoint::x
float x() const
Definition: DigitizerUtility.h:107
DigitizerUtility::SignalPoint::_pos
LocalPoint _pos
Definition: DigitizerUtility.h:120
DigitizerUtility::SignalPoint::sigma_x
float sigma_x() const
Definition: DigitizerUtility.h:109
DigitizerUtility::SignalPoint::_time
float _time
Definition: DigitizerUtility.h:121
OrderedSet.t
t
Definition: OrderedSet.py:90
DigitizerUtility::SignalPoint::_sigma_x
float _sigma_x
Definition: DigitizerUtility.h:123
a
double a
Definition: hdecay.h:119
DigitizerUtility::SignalPoint::_sigma_y
float _sigma_y
Definition: DigitizerUtility.h:124
PV3DBase::y
T y() const
Definition: PV3DBase.h:60
DigitizerUtility::SignalPoint::_hitp
const PSimHit * _hitp
Definition: DigitizerUtility.h:125
DigitizerUtility::SignalPoint::_amplitude
float _amplitude
Definition: DigitizerUtility.h:122
DigitizerUtility::SignalPoint::y
float y() const
Definition: DigitizerUtility.h:108
DigitizerUtility::SignalPoint::sigma_y
float sigma_y() const
Definition: DigitizerUtility.h:110
hit
Definition: SiStripHitEffFromCalibTree.cc:88