CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DetHitAccess.h
Go to the documentation of this file.
1 #ifndef RoadSearch_DetHitAccess_h
2 #define RoadSearch_DetHitAccess_h
3 
4 #include <string>
5 #include <vector>
6 #include <algorithm>
7 
13 
21 
22 class DetHitAccess {
23 
24  public:
25 
27 
28  DetHitAccess();
29 
30  ~DetHitAccess();
31 
32  DetHitAccess(const SiStripRecHit2DCollection* rphiRecHits,
33  const SiStripRecHit2DCollection* stereoRecHits,
34  const SiStripMatchedRecHit2DCollection* matchedRecHits,
35  const SiPixelRecHitCollection* pixelRecHits);
36 
37  void setCollections(const SiStripRecHit2DCollection* rphiRecHits,
38  const SiStripRecHit2DCollection* stereoRecHits,
39  const SiStripMatchedRecHit2DCollection* matchedRecHits,
40  const SiPixelRecHitCollection* pixelRecHits);
41 
42  std::vector<TrackingRecHit*> getHitVector(const DetId* detid);
43 
47 
48  private:
49 
51 
54 
59 
60 };
61 
62 #endif
const SiStripRecHit2DCollection * stereoHits_
Definition: DetHitAccess.h:56
void setCollections(const SiStripRecHit2DCollection *rphiRecHits, const SiStripRecHit2DCollection *stereoRecHits, const SiStripMatchedRecHit2DCollection *matchedRecHits, const SiPixelRecHitCollection *pixelRecHits)
Definition: DetHitAccess.cc:42
void use_rphiRecHits(bool input)
Definition: DetHitAccess.h:45
bool use_stereoRecHits_
Definition: DetHitAccess.h:53
const SiPixelRecHitCollection * pixelHits_
Definition: DetHitAccess.h:58
std::vector< TrackingRecHit * > getHitVector(const DetId *detid)
Definition: DetHitAccess.cc:55
const SiStripRecHit2DCollection * rphiHits_
Definition: DetHitAccess.h:55
void use_stereoRecHits(bool input)
Definition: DetHitAccess.h:46
Definition: DetId.h:20
void setMode(accessMode input)
Definition: DetHitAccess.h:44
const SiStripMatchedRecHit2DCollection * matchedHits_
Definition: DetHitAccess.h:57
bool use_rphiRecHits_
Definition: DetHitAccess.h:52
accessMode accessMode_
Definition: DetHitAccess.h:50