CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
GSSiTrackerRecHit2DLocalPos.h
Go to the documentation of this file.
1 #ifndef GSSiTrackerRecHit2DLocalPos_H
2 #define GSSiTrackerRecHit2DLocalPos_H
3 
7 
9 public:
10 
12 
14 
16  DetId id) : RecHit2DLocalPos(id), pos_(p), err_(e){}
17 
18  // virtual GSSiTrackerRecHit2DLocalPos * clone() const {return new GSSiTrackerRecHit2DLocalPos( * this); }
19 
20  virtual LocalPoint localPosition() const {return pos_;}
21 
22  virtual LocalError localPositionError() const{ return err_;}
23 
24  virtual void getKfComponents( KfComponentsHolder & holder ) const ;
25 
26  virtual bool sharesInput( const TrackingRecHit* other, SharedInputType what) const {return false;}
27  private:
28 
31 };
32 
33 // Comparison operators
34 inline bool operator<( const GSSiTrackerRecHit2DLocalPos& one, const GSSiTrackerRecHit2DLocalPos& other) {
35  return ( one.geographicalId() < other.geographicalId() );
36 }
37 
38 #endif
SharedInputType
definition of equality via shared input
virtual LocalError localPositionError() const
bool operator<(const FedChannelConnection &, const FedChannelConnection &)
virtual void getKfComponents(KfComponentsHolder &holder) const
GSSiTrackerRecHit2DLocalPos(const LocalPoint &p, const LocalError &e, DetId id)
Definition: DetId.h:20
virtual LocalPoint localPosition() const
DetId geographicalId() const
virtual bool sharesInput(const TrackingRecHit *other, SharedInputType what) const