CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SiStripRecHit2D.h
Go to the documentation of this file.
1 #ifndef SiStripRecHit2D_H
2 #define SiStripRecHit2D_H
3 
5 
6 
7 class SiStripRecHit2D GCC11_FINAL : public TrackerSingleRecHit {
8 public:
9 
10  SiStripRecHit2D(): sigmaPitch_(-1.){}
11 
13 
16 
17  // no position (as in persistent)
19  OmniClusterRef const& clus) :
20  TrackerSingleRecHit(id, clus),
21  sigmaPitch_(-1.) {}
22 
23 
24  SiStripRecHit2D( const LocalPoint& pos, const LocalError& err,
25  const DetId& id,
26  OmniClusterRef const& clus) :
27  TrackerSingleRecHit(pos,err,id, clus),
28  sigmaPitch_(-1.) {}
29 
30  SiStripRecHit2D( const LocalPoint& pos, const LocalError& err,
31  const DetId& id,
32  ClusterRef const& clus) :
33  TrackerSingleRecHit(pos,err,id, clus),
34  sigmaPitch_(-1.) {}
35 
36 
37  SiStripRecHit2D(const LocalPoint& pos, const LocalError& err,
38  const DetId& id,
39  ClusterRegionalRef const& clus) :
40  TrackerSingleRecHit(pos,err,id, clus),
41  sigmaPitch_(-1.) {}
42 
43  ClusterRef cluster() const { return cluster_strip() ; }
44  void setClusterRef(ClusterRef const & ref) {setClusterStripRef(ref);}
45 
46  virtual SiStripRecHit2D * clone() const {return new SiStripRecHit2D( * this); }
47 
48  virtual int dimension() const {return 2;}
49  virtual void getKfComponents( KfComponentsHolder & holder ) const { getKfComponents2D(holder); }
50 
51 
52  double sigmaPitch() const { return sigmaPitch_;}
53  void setSigmaPitch(double sigmap) const { sigmaPitch_=sigmap;}
54 
55 
56 private:
57 
59  mutable double sigmaPitch_; // transient....
60 
61 
62 };
63 
64 #endif
ClusterStripRef cluster_strip() const
double sigmaPitch() const
virtual void getKfComponents(KfComponentsHolder &holder) const
void setClusterStripRef(ClusterStripRef const &ref)
OmniClusterRef::ClusterRegionalRef ClusterRegionalRef
SiStripRecHit2D(const DetId &id, OmniClusterRef const &clus)
void setClusterRef(ClusterRef const &ref)
void getKfComponents2D(KfComponentsHolder &holder) const
void setSigmaPitch(double sigmap) const
OmniClusterRef::ClusterStripRef ClusterRef
Definition: DetId.h:18
SiStripRecHit2D(const LocalPoint &pos, const LocalError &err, const DetId &id, ClusterRef const &clus)
ClusterRef cluster() const
SiStripRecHit2D(const LocalPoint &pos, const LocalError &err, const DetId &id, ClusterRegionalRef const &clus)
virtual SiStripRecHit2D * clone() const
virtual int dimension() const
SiStripRecHit2D(const LocalPoint &pos, const LocalError &err, const DetId &id, OmniClusterRef const &clus)
Unlimited (trivial) bounds.