CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SiTrackerGSMatchedRecHit2D.h
Go to the documentation of this file.
1 #ifndef SiTrackerGSMatchedRecHit2D_H
2 #define SiTrackerGSMatchedRecHit2D_H
3 
7 
9 
10 public:
11 
13  simhitId_(),
14  simtrackId_(),
15  eeId_(),
16  cluster_(),
19  isMatched_(),
21  componentStereo_() {}
22 
24 
27 
28 
30  GeomDet const & idet,
31  const int simhitId,
32  const int simtrackId,
33  const uint32_t eeId,
34  ClusterRef const& cluster,
35  const int pixelMultiplicityX,
36  const int pixelMultiplicityY,
37  const bool isMatched,
38  const SiTrackerGSRecHit2D* rMono,
39  const SiTrackerGSRecHit2D* rStereo
40  );
41 
43  GeomDet const & idet,
44  const int simhitId,
45  const int simtrackId,
46  const uint32_t eeId,
47  ClusterRef const& cluster,
48  const int pixelMultiplicityX,
49  const int pixelMultiplicityY
50  );
51 
53 
54  const int& simhitId() const { return simhitId_;}
55  const int& simtrackId() const { return simtrackId_;}
56  const uint32_t& eeId() const { return eeId_;}
57  const int& simMultX() const { return pixelMultiplicityAlpha_;}
58  const int& simMultY() const { return pixelMultiplicityBeta_;}
59  const bool& isMatched() const { return isMatched_;}
60  const SiTrackerGSRecHit2D *monoHit() const { return &componentMono_;}
61  const SiTrackerGSRecHit2D *stereoHit() const { return &componentStereo_;}
62 
63  ClusterRef const& cluster() const { return cluster_;}
64  void setClusterRef(const ClusterRef &ref) { cluster_ = ref; }
65 
66 
67  virtual bool sharesInput( const TrackingRecHit* other, SharedInputType what) const;
68 
69 private:
70  int const simhitId_;
71  int const simtrackId_;
72  uint32_t const eeId_;
76  bool isMatched_;
77 
80 };
81 
82 
83 
84 #endif
SharedInputType
definition of equality via shared input
edm::RefProd< FastTrackerClusterCollection > ClusterRefProd
virtual bool sharesInput(const TrackingRecHit *other, SharedInputType what) const
const SiTrackerGSRecHit2D * stereoHit() const
const SiTrackerGSRecHit2D * monoHit() const
virtual SiTrackerGSMatchedRecHit2D * clone() const
ClusterRef const & cluster() const
const uint32_t & eeId() const
void setClusterRef(const ClusterRef &ref)
edm::Ref< FastTrackerClusterCollection, FastTrackerCluster > ClusterRef