CMS 3D CMS Logo

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

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

Internal use only.

Definition at line 205 of file SiPixelDigitizerAlgorithm.h.

Constructor & Destructor Documentation

◆ SignalPoint() [1/3]

SiPixelDigitizerAlgorithm::SignalPoint::SignalPoint ( )
inline

Definition at line 207 of file SiPixelDigitizerAlgorithm.h.

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

◆ SignalPoint() [2/3]

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

Definition at line 209 of file SiPixelDigitizerAlgorithm.h.

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

◆ SignalPoint() [3/3]

SiPixelDigitizerAlgorithm::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 212 of file SiPixelDigitizerAlgorithm.h.

Member Function Documentation

◆ amplitude()

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

Definition at line 221 of file SiPixelDigitizerAlgorithm.h.

221 { return _amplitude; }

References _amplitude.

◆ hit()

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

Definition at line 222 of file SiPixelDigitizerAlgorithm.h.

222 { return *_hitp; }

References _hitp.

◆ position()

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

Definition at line 215 of file SiPixelDigitizerAlgorithm.h.

215 { return _pos; }

References _pos.

◆ set_amplitude()

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

Definition at line 223 of file SiPixelDigitizerAlgorithm.h.

223  {
224  _amplitude = amp;
225  return *this;
226  }

References _amplitude.

◆ sigma_x()

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

Definition at line 218 of file SiPixelDigitizerAlgorithm.h.

218 { return _sigma_x; }

References _sigma_x.

◆ sigma_y()

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

Definition at line 219 of file SiPixelDigitizerAlgorithm.h.

219 { return _sigma_y; }

References _sigma_y.

◆ time()

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

Definition at line 220 of file SiPixelDigitizerAlgorithm.h.

220 { return _time; }

References _time.

◆ x()

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

◆ y()

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

Member Data Documentation

◆ _amplitude

float SiPixelDigitizerAlgorithm::SignalPoint::_amplitude
private

Definition at line 231 of file SiPixelDigitizerAlgorithm.h.

Referenced by amplitude(), and set_amplitude().

◆ _hitp

const PSimHit* SiPixelDigitizerAlgorithm::SignalPoint::_hitp
private

Definition at line 234 of file SiPixelDigitizerAlgorithm.h.

Referenced by hit().

◆ _pos

LocalPoint SiPixelDigitizerAlgorithm::SignalPoint::_pos
private

Definition at line 229 of file SiPixelDigitizerAlgorithm.h.

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

◆ _sigma_x

float SiPixelDigitizerAlgorithm::SignalPoint::_sigma_x
private

Definition at line 232 of file SiPixelDigitizerAlgorithm.h.

Referenced by sigma_x().

◆ _sigma_y

float SiPixelDigitizerAlgorithm::SignalPoint::_sigma_y
private

Definition at line 233 of file SiPixelDigitizerAlgorithm.h.

Referenced by sigma_y().

◆ _time

float SiPixelDigitizerAlgorithm::SignalPoint::_time
private

Definition at line 230 of file SiPixelDigitizerAlgorithm.h.

Referenced by time().

SiPixelDigitizerAlgorithm::SignalPoint::_hitp
const PSimHit * _hitp
Definition: SiPixelDigitizerAlgorithm.h:234
SiPixelDigitizerAlgorithm::SignalPoint::x
float x() const
Definition: SiPixelDigitizerAlgorithm.h:216
PV3DBase::x
T x() const
Definition: PV3DBase.h:59
SiPixelDigitizerAlgorithm::SignalPoint::_amplitude
float _amplitude
Definition: SiPixelDigitizerAlgorithm.h:231
SiPixelDigitizerAlgorithm::SignalPoint::sigma_x
float sigma_x() const
Definition: SiPixelDigitizerAlgorithm.h:218
SiPixelDigitizerAlgorithm::SignalPoint::sigma_y
float sigma_y() const
Definition: SiPixelDigitizerAlgorithm.h:219
OrderedSet.t
t
Definition: OrderedSet.py:90
SiPixelDigitizerAlgorithm::SignalPoint::_pos
LocalPoint _pos
Definition: SiPixelDigitizerAlgorithm.h:229
a
double a
Definition: hdecay.h:119
PV3DBase::y
T y() const
Definition: PV3DBase.h:60
SiPixelDigitizerAlgorithm::SignalPoint::y
float y() const
Definition: SiPixelDigitizerAlgorithm.h:217
SiPixelDigitizerAlgorithm::SignalPoint::_sigma_x
float _sigma_x
Definition: SiPixelDigitizerAlgorithm.h:232
SiPixelDigitizerAlgorithm::SignalPoint::_time
float _time
Definition: SiPixelDigitizerAlgorithm.h:230
SiPixelDigitizerAlgorithm::SignalPoint::_sigma_y
float _sigma_y
Definition: SiPixelDigitizerAlgorithm.h:233
hit
Definition: SiStripHitEffFromCalibTree.cc:88