test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Phase2TrackerRecHit1D.h
Go to the documentation of this file.
1 #ifndef DATAFORMATS_TRACKERRECHIT2D_PHASE2TRACKERRECHIT1D_H
2 #define DATAFORMATS_TRACKERRECHIT2D_PHASE2TRACKERRECHIT1D_H
3 
5 
7 
9 
10 public:
11 
13 
15 
17 
18  Phase2TrackerRecHit1D( const LocalPoint& pos, const LocalError& err,
19  GeomDet const & idet,
20  CluRef const& clus) : TrackerSingleRecHit(pos,err,idet,clus){}
21 
22  virtual Phase2TrackerRecHit1D * clone() const override { return new Phase2TrackerRecHit1D( * this); }
23 #ifndef __GCCXML__
24  virtual RecHitPointer cloneSH() const override { return std::make_shared<Phase2TrackerRecHit1D>(*this);}
25 #endif
26 
27  CluRef cluster() const { return cluster_phase2OT(); }
28  void setClusterRef(CluRef const & ref) {setClusterPhase2Ref(ref);}
29 
30  virtual bool isPhase2() const override { return true; }
31  //FIXME::check dimension of this!!
32  virtual int dimension() const override {return 2;}
33  virtual void getKfComponents( KfComponentsHolder & holder ) const override { getKfComponents2D(holder); }
34 
35 private:
36 
37 };
38 
40 
41 #endif
virtual bool isPhase2() const override
Phase2TrackerRecHit1D(const LocalPoint &pos, const LocalError &err, GeomDet const &idet, CluRef const &clus)
edmNew::DetSetVector< Phase2TrackerRecHit1D > Phase2TrackerRecHit1DCollectionNew
ClusterPhase2Ref cluster_phase2OT() const
virtual int dimension() const override
void getKfComponents2D(KfComponentsHolder &holder) const
virtual RecHitPointer cloneSH() const override
void setClusterRef(CluRef const &ref)
std::shared_ptr< TrackingRecHit const > RecHitPointer
void setClusterPhase2Ref(ClusterPhase2Ref const &ref)
virtual Phase2TrackerRecHit1D * clone() const override
virtual void getKfComponents(KfComponentsHolder &holder) const override
OmniClusterRef::Phase2Cluster1DRef CluRef