test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
SimTracker
SiStripDigitizer
plugins
SignalPoint.h
Go to the documentation of this file.
1
#ifndef Tracker_SignalPoint_H
2
#define Tracker_SignalPoint_H
3
4
5
#include "
DataFormats/GeometryVector/interface/LocalPoint.h
"
6
#include "
DataFormats/GeometryVector/interface/LocalVector.h
"
7
12
class
SignalPoint
{
13
public
:
14
SignalPoint
() :
_pos
(0,0),
_sigma
(0),
_amplitude
(0) {}
15
16
SignalPoint
(
float
x
,
float
y
,
float
s
,
float
a
=1.0) :
17
_pos
(x,y),
_sigma
(s),
_amplitude
(
a
) {}
18
19
const
LocalPoint
&
position
()
const
{
return
_pos
;}
20
float
x
()
const
{
return
_pos
.
x
();}
21
float
y
()
const
{
return
_pos
.
y
();}
22
float
sigma
()
const
{
return
_sigma
;}
23
float
amplitude
()
const
{
return
_amplitude
;}
24
SignalPoint
&
set_amplitude
(
float
amp) {
_amplitude
= amp;
return
*
this
;}
25
private
:
26
LocalPoint
_pos
;
27
float
_sigma
;
28
float
_amplitude
;
29
};
30
#endif
LocalPoint.h
SignalPoint::_pos
LocalPoint _pos
Definition:
SignalPoint.h:26
SignalPoint::amplitude
float amplitude() const
Definition:
SignalPoint.h:23
SignalPoint::_amplitude
float _amplitude
Definition:
SignalPoint.h:28
PV3DBase::y
T y() const
Definition:
PV3DBase.h:63
SignalPoint
Definition:
SignalPoint.h:12
SignalPoint::SignalPoint
SignalPoint(float x, float y, float s, float a=1.0)
Definition:
SignalPoint.h:16
SignalPoint::y
float y() const
Definition:
SignalPoint.h:21
SignalPoint::SignalPoint
SignalPoint()
Definition:
SignalPoint.h:14
SignalPoint::set_amplitude
SignalPoint & set_amplitude(float amp)
Definition:
SignalPoint.h:24
SignalPoint::x
float x() const
Definition:
SignalPoint.h:20
SignalPoint::sigma
float sigma() const
Definition:
SignalPoint.h:22
SignalPoint::position
const LocalPoint & position() const
Definition:
SignalPoint.h:19
alignCSCRings.s
list s
Definition:
alignCSCRings.py:91
Point3DBase< float, LocalTag >
a
double a
Definition:
hdecay.h:121
PV3DBase::x
T x() const
Definition:
PV3DBase.h:62
SignalPoint::_sigma
float _sigma
Definition:
SignalPoint.h:27
LocalVector.h
Generated for CMSSW Reference Manual by
1.8.5