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_(),
22  componentStereo_() {}
23 
25 
28 
29 
31  GeomDet const & idet,
32  const int simhitId,
33  const int simtrackId,
34  const uint32_t eeId,
35  ClusterRef const& cluster,
36  const int pixelMultiplicityX,
37  const int pixelMultiplicityY,
38  const bool isMatched,
39  const SiTrackerGSRecHit2D* rMono,
40  const SiTrackerGSRecHit2D* rStereo
41  );
42 
44  GeomDet const & idet,
45  const int simhitId,
46  const int simtrackId,
47  const uint32_t eeId,
48  ClusterRef const& cluster,
49  const int pixelMultiplicityX,
50  const int pixelMultiplicityY
51  );
52 
54 
55  const int& simhitId() const { return simhitId_;}
56  const int& simtrackId() const { return simtrackId_;}
57  const uint32_t& eeId() const { return eeId_;}
58  const int& simMultX() const { return pixelMultiplicityAlpha_;}
59  const int& simMultY() const { return pixelMultiplicityBeta_;}
60  const bool& isMatched() const { return isMatched_;}
61  const SiTrackerGSRecHit2D *monoHit() const { return &componentMono_;}
62  const SiTrackerGSRecHit2D *stereoHit() const { return &componentStereo_;}
65 
66  ClusterRef const& cluster() const { return cluster_;}
67  void setClusterRef(const ClusterRef &ref) { cluster_ = ref; }
68  void setStereoLayerFirst(bool stereoHitFirst = true){stereoHitFirst_ = stereoHitFirst;}
69 
70  void setEeId(uint32_t eeId){eeId_ = eeId;}
71 
72  virtual bool sharesInput( const TrackingRecHit* other, SharedInputType what) const;
73 
74 private:
75  int const simhitId_;
76  int const simtrackId_;
77  uint32_t eeId_;
81  bool isMatched_;
83 
86 };
87 
88 
89 
90 #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 * secondHit() const
const SiTrackerGSRecHit2D * monoHit() const
virtual SiTrackerGSMatchedRecHit2D * clone() const
ClusterRef const & cluster() const
const uint32_t & eeId() const
void setStereoLayerFirst(bool stereoHitFirst=true)
const SiTrackerGSRecHit2D * firstHit() const
void setClusterRef(const ClusterRef &ref)
volatile std::atomic< bool > shutdown_flag false
edm::Ref< FastTrackerClusterCollection, FastTrackerCluster > ClusterRef