CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
SiStripLaserRecHit2D.h
Go to the documentation of this file.
1 
2 #ifndef SiStripLaserRecHit2D_H
3 #define SiStripLaserRecHit2D_H
4 
8 
13 public:
15  ~SiStripLaserRecHit2D() override {}
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:
31 };
32 
36 inline bool operator<(const SiStripLaserRecHit2D& one, const SiStripLaserRecHit2D& other) {
37  return (one.geographicalId() < other.geographicalId());
38 }
39 
40 #endif
LocalPoint localPosition() const override
uint16_t *__restrict__ id
SiStripLaserRecHit2D * clone() const override
SiStripLaserRecHit2D(const LocalPoint &p, const LocalError &e, const SiStripDetId &id)
LocalError localPositionError() const override
Detector identifier class for the strip tracker.
Definition: SiStripDetId.h:18
const SiStripDetId & getDetId(void) const
bool operator<(DTCELinkId const &lhs, DTCELinkId const &rhs)
Definition: DTCELinkId.h:70
GloballyPositioned< float >::LocalPoint LocalPoint
DetId geographicalId() const