DataFormats
Alignment
interface
SiStripLaserRecHit2D.h
Go to the documentation of this file.
1
2
#ifndef SiStripLaserRecHit2D_H
3
#define SiStripLaserRecHit2D_H
4
5
#include "
DataFormats/TrackingRecHit/interface/RecHit2DLocalPos.h
"
6
#include "
DataFormats/GeometrySurface/interface/LocalError.h
"
7
#include "
DataFormats/SiStripDetId/interface/SiStripDetId.h
"
8
12
class
SiStripLaserRecHit2D
:
public
RecHit2DLocalPos
{
13
public
:
14
SiStripLaserRecHit2D
() :
RecHit2DLocalPos
(0) {}
15
~SiStripLaserRecHit2D
()
override
{}
16
SiStripLaserRecHit2D
(
const
LocalPoint
&
p
,
const
LocalError
&
e
,
const
SiStripDetId
&
id
)
17
:
RecHit2DLocalPos
(
id
),
position
(
p
),
error
(
e
) {
18
detId
=
id
;
19
}
20
21
LocalPoint
localPosition
()
const override
{
return
position
; }
22
LocalError
localPositionError
()
const override
{
return
error
; }
23
SiStripLaserRecHit2D
*
clone
()
const override
{
return
new
SiStripLaserRecHit2D
(*
this
); }
24
25
const
SiStripDetId
&
getDetId
(
void
)
const
{
return
detId
; }
26
27
private
:
28
LocalPoint
position
;
29
LocalError
error
;
30
SiStripDetId
detId
;
31
};
32
36
inline
bool
operator<
(
const
SiStripLaserRecHit2D
&
one
,
const
SiStripLaserRecHit2D
&
other
) {
37
return
(
one
.geographicalId() <
other
.geographicalId());
38
}
39
40
#endif
SiStripLaserRecHit2D
Definition:
SiStripLaserRecHit2D.h:12
SiPixelPI::one
Definition:
SiPixelPayloadInspectorHelper.h:39
SiStripLaserRecHit2D::localPosition
LocalPoint localPosition() const override
Definition:
SiStripLaserRecHit2D.h:21
SiStripLaserRecHit2D::~SiStripLaserRecHit2D
~SiStripLaserRecHit2D() override
Definition:
SiStripLaserRecHit2D.h:15
SiStripLaserRecHit2D::clone
SiStripLaserRecHit2D * clone() const override
Definition:
SiStripLaserRecHit2D.h:23
operator<
bool operator<(const SiStripLaserRecHit2D &one, const SiStripLaserRecHit2D &other)
Definition:
SiStripLaserRecHit2D.h:36
SiStripDetId.h
SiStripLaserRecHit2D::detId
SiStripDetId detId
Definition:
SiStripLaserRecHit2D.h:30
SiStripLaserRecHit2D::SiStripLaserRecHit2D
SiStripLaserRecHit2D(const LocalPoint &p, const LocalError &e, const SiStripDetId &id)
Definition:
SiStripLaserRecHit2D.h:16
SiStripLaserRecHit2D::position
LocalPoint position
Definition:
SiStripLaserRecHit2D.h:28
LocalError.h
SiStripLaserRecHit2D::SiStripLaserRecHit2D
SiStripLaserRecHit2D()
Definition:
SiStripLaserRecHit2D.h:14
RecHit2DLocalPos::LocalPoint
GloballyPositioned< float >::LocalPoint LocalPoint
Definition:
RecHit2DLocalPos.h:10
trackingPlots.other
other
Definition:
trackingPlots.py:1464
SiStripLaserRecHit2D::localPositionError
LocalError localPositionError() const override
Definition:
SiStripLaserRecHit2D.h:22
AlCaHLTBitMon_ParallelJobs.p
def p
Definition:
AlCaHLTBitMon_ParallelJobs.py:153
LocalError
Definition:
LocalError.h:12
RecHit2DLocalPos
Definition:
RecHit2DLocalPos.h:8
triggerObjects_cff.id
id
Definition:
triggerObjects_cff.py:29
SiStripLaserRecHit2D::error
LocalError error
Definition:
SiStripLaserRecHit2D.h:29
SiStripDetId
Detector identifier class for the strip tracker.
Definition:
SiStripDetId.h:18
SiStripLaserRecHit2D::getDetId
const SiStripDetId & getDetId(void) const
Definition:
SiStripLaserRecHit2D.h:25
MillePedeFileConverter_cfg.e
e
Definition:
MillePedeFileConverter_cfg.py:37
RecHit2DLocalPos.h
Generated for CMSSW Reference Manual by
1.8.16