SimTracker
SiStripDigitizer
plugins
SignalPoint.h
Go to the documentation of this file.
1
#ifndef Tracker_SignalPoint_H
2
#define Tracker_SignalPoint_H
3
4
#include "
DataFormats/GeometryVector/interface/LocalPoint.h
"
5
#include "
DataFormats/GeometryVector/interface/LocalVector.h
"
6
11
class
SignalPoint
{
12
public
:
13
SignalPoint
() :
_pos
(0, 0),
_sigma
(0),
_amplitude
(0) {}
14
15
SignalPoint
(
float
x
,
float
y
,
float
s
,
float
a
= 1.0) :
_pos
(
x
,
y
),
_sigma
(
s
),
_amplitude
(
a
) {}
16
17
const
LocalPoint
&
position
()
const
{
return
_pos
; }
18
float
x
()
const
{
return
_pos
.
x
(); }
19
float
y
()
const
{
return
_pos
.
y
(); }
20
float
sigma
()
const
{
return
_sigma
; }
21
float
amplitude
()
const
{
return
_amplitude
; }
22
SignalPoint
&
set_amplitude
(
float
amp) {
23
_amplitude
= amp;
24
return
*
this
;
25
}
26
27
private
:
28
LocalPoint
_pos
;
29
float
_sigma
;
30
float
_amplitude
;
31
};
32
#endif
LocalPoint.h
SignalPoint::_pos
LocalPoint _pos
Definition:
SignalPoint.h:28
SignalPoint::_amplitude
float _amplitude
Definition:
SignalPoint.h:30
alignCSCRings.s
s
Definition:
alignCSCRings.py:92
SignalPoint
Definition:
SignalPoint.h:11
SignalPoint::sigma
float sigma() const
Definition:
SignalPoint.h:20
SignalPoint::SignalPoint
SignalPoint(float x, float y, float s, float a=1.0)
Definition:
SignalPoint.h:15
SignalPoint::SignalPoint
SignalPoint()
Definition:
SignalPoint.h:13
SignalPoint::set_amplitude
SignalPoint & set_amplitude(float amp)
Definition:
SignalPoint.h:22
PV3DBase::x
T x() const
Definition:
PV3DBase.h:59
PV3DBase::y
T y() const
Definition:
PV3DBase.h:60
SignalPoint::x
float x() const
Definition:
SignalPoint.h:18
Point3DBase< float, LocalTag >
a
double a
Definition:
hdecay.h:119
SignalPoint::amplitude
float amplitude() const
Definition:
SignalPoint.h:21
SignalPoint::position
const LocalPoint & position() const
Definition:
SignalPoint.h:17
SignalPoint::y
float y() const
Definition:
SignalPoint.h:19
SignalPoint::_sigma
float _sigma
Definition:
SignalPoint.h:29
LocalVector.h
Generated for CMSSW Reference Manual by
1.8.14