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 
8 public:
9 
11 
13 
16 
17  // no position (as in persistent)
19  OmniClusterRef const& clus) :
20  TrackerSingleRecHit(id, clus),
21  sigmaPitch_(-1.) {}
22 
23 
25  const DetId& id,
26  OmniClusterRef const& clus) :
27  TrackerSingleRecHit(pos,err,id, clus),
28  sigmaPitch_(-1.) {}
29 
31  const DetId& id,
32  ClusterRef const& clus) :
33  TrackerSingleRecHit(pos,err,id, clus),
34  sigmaPitch_(-1.) {}
35 
36 
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
void setClusterStripRef(ClusterStripRef const &ref)
SiStripRecHit2D(const LocalPoint &pos, const LocalError &err, const DetId &id, ClusterRef const &clus)
SiStripRecHit2D(const LocalPoint &pos, const LocalError &err, const DetId &id, OmniClusterRef const &clus)
virtual SiStripRecHit2D * clone() const
void setSigmaPitch(double sigmap) const
void setClusterRef(ClusterRef const &ref)
OmniClusterRef::ClusterStripRef ClusterRef
SiStripRecHit2D(const DetId &id, OmniClusterRef const &clus)
OmniClusterRef::ClusterRegionalRef ClusterRegionalRef
#define GCC11_FINAL
void getKfComponents2D(KfComponentsHolder &holder) const
ClusterRef cluster() const
virtual void getKfComponents(KfComponentsHolder &holder) const
Definition: DetId.h:20
virtual int dimension() const
SiStripRecHit2D(const LocalPoint &pos, const LocalError &err, const DetId &id, ClusterRegionalRef const &clus)
double sigmaPitch() const
double sigmaPitch_
cache for the matcher....