CMS 3D CMS Logo

SiStripLaserRecHit2D.h
Go to the documentation of this file.
1 
2 #ifndef SiStripLaserRecHit2D_H
3 #define SiStripLaserRecHit2D_H
4 
8 
13 
14 public:
15 
17  ~SiStripLaserRecHit2D() override {}
18  SiStripLaserRecHit2D( const LocalPoint& p, const LocalError& e, const SiStripDetId& id ) : RecHit2DLocalPos( id ), position( p ), error( e ) { detId = id; }
19 
20  LocalPoint localPosition() const override { return position; }
21  LocalError localPositionError() const override { return error; }
22  SiStripLaserRecHit2D* clone() const override { return new SiStripLaserRecHit2D( *this ); }
23 
24  const SiStripDetId& getDetId( void ) const { return detId; }
25 
26  private:
27 
31 
32 };
33 
34 
35 
40  return( one.geographicalId() < other.geographicalId() );
41 }
42 
43 
44 #endif
SiStripLaserRecHit2D(const LocalPoint &p, const LocalError &e, const SiStripDetId &id)
SiStripLaserRecHit2D * clone() const override
bool operator<(const SiStripLaserRecHit2D &one, const SiStripLaserRecHit2D &other)
LocalError localPositionError() const override
Detector identifier class for the strip tracker.
Definition: SiStripDetId.h:17
const SiStripDetId & getDetId(void) const
LocalPoint localPosition() const override
GloballyPositioned< float >::LocalPoint LocalPoint
DetId geographicalId() const