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
double sigmaPitch() const
virtual void getKfComponents(KfComponentsHolder &holder) const
SiStripRecHit1D(const LocalPoint &p, const LocalError &e, const DetId &id, ClusterRef const &clus)
void setClusterStripRef(ClusterStripRef const &ref)
OmniClusterRef::ClusterRegionalRef ClusterRegionalRef
SiStripRecHit1D(const LocalPoint &p, const LocalError &e, const DetId &id, OmniClusterRef const &clus)
double sigmaPitch_
cache for the matcher....
void setClusterRef(ClusterRef const &ref)
void setSigmaPitch(double sigmap) const
OmniClusterRef::ClusterStripRef ClusterRef
Definition: DetId.h:18
ClusterRef cluster() const
void getKfComponents1D(KfComponentsHolder &holder) const
SiStripRecHit1D(const LocalPoint &p, const LocalError &e, const DetId &id, ClusterRegionalRef const &clus)
virtual SiStripRecHit1D * clone() const
virtual int dimension() const
Unlimited (trivial) bounds.