CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SiStripRecHit1D.h
Go to the documentation of this file.
1 #ifndef SiStripRecHit1D_H
2 #define SiStripRecHit1D_H
3 
4 
5 
7 
9 
10 class SiStripRecHit1D GCC11_FINAL : public TrackerSingleRecHit {
11 public:
12 
13 
14  SiStripRecHit1D(): sigmaPitch_(-1.){}
15 
16 
19 
20 
22  const DetId& id,
23  OmniClusterRef const& clus) : TrackerSingleRecHit(p,e,id,clus), sigmaPitch_(-1.){}
24 
26  const DetId& id,
27  ClusterRef const& clus) : TrackerSingleRecHit(p,e,id,clus), sigmaPitch_(-1.){}
28 
30  const DetId& id,
31  ClusterRegionalRef const& clus) : TrackerSingleRecHit(p,e,id,clus), sigmaPitch_(-1.){}
32 
34  SiStripRecHit1D(const SiStripRecHit2D*);
35 
36  ClusterRef cluster() const { return cluster_strip() ; }
37  void setClusterRef(ClusterRef const & ref) {setClusterStripRef(ref);}
38 
39 
40  virtual SiStripRecHit1D * clone() const {return new SiStripRecHit1D( * this); }
41 
42 
43  virtual int dimension() const {return 1;}
44  virtual void getKfComponents( KfComponentsHolder & holder ) const {getKfComponents1D(holder);}
45 
46 
47  double sigmaPitch() const { return sigmaPitch_;}
48  void setSigmaPitch(double sigmap) const { sigmaPitch_=sigmap;}
49 
50 private:
51 
53  mutable double sigmaPitch_; // transient....
54 };
55 
56 #endif
ClusterStripRef cluster_strip() const
OmniClusterRef::ClusterRegionalRef ClusterRegionalRef
void setClusterStripRef(ClusterStripRef const &ref)
SiStripRecHit1D(const LocalPoint &p, const LocalError &e, const DetId &id, OmniClusterRef const &clus)
double sigmaPitch_
cache for the matcher....
void setSigmaPitch(double sigmap) const
void setClusterRef(ClusterRef const &ref)
OmniClusterRef::ClusterStripRef ClusterRef
virtual void getKfComponents(KfComponentsHolder &holder) const
double sigmaPitch() const
virtual int dimension() const
Definition: DetId.h:20
SiStripRecHit1D(const LocalPoint &p, const LocalError &e, const DetId &id, ClusterRef const &clus)
void getKfComponents1D(KfComponentsHolder &holder) const
virtual SiStripRecHit1D * clone() const
ClusterRef cluster() const
SiStripRecHit1D(const LocalPoint &p, const LocalError &e, const DetId &id, ClusterRegionalRef const &clus)
Our base class.
Definition: SiPixelRecHit.h:22