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 
18  SiStripLaserRecHit2D( const LocalPoint& p, const LocalError& e, const SiStripDetId& id ) : RecHit2DLocalPos( id ), position( p ), error( e ) { detId = id; }
19 
20  virtual LocalPoint localPosition() const { return position; }
21  virtual LocalError localPositionError() const { return error; }
22  virtual SiStripLaserRecHit2D* clone() const { 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
virtual LocalPoint localPosition() const
SiStripLaserRecHit2D(const LocalPoint &p, const LocalError &e, const SiStripDetId &id)
bool operator<(const SiStripLaserRecHit2D &one, const SiStripLaserRecHit2D &other)
virtual LocalError localPositionError() const
Detector identifier class for the strip tracker.
Definition: SiStripDetId.h:17
const SiStripDetId & getDetId(void) const
GloballyPositioned< float >::LocalPoint LocalPoint
DetId geographicalId() const
virtual SiStripLaserRecHit2D * clone() const