CMS 3D CMS Logo

CSCRecHitDBuilder.h
Go to the documentation of this file.
1 #ifndef CSCRecHitD_CSCRecHitDBuilder_h
2 #define CSCRecHitD_CSCRecHitDBuilder_h
3 
27 
29 
30 class CSCLayer;
31 class CSCGeometry;
32 class CSCDetId;
34 class CSCHitFromWireOnly;
35 class CSCMake2DRecHit;
36 class CSCRecoConditions;
37 
39 public:
44  explicit CSCRecHitDBuilder(const edm::ParameterSet& ps);
45 
47 
56  void build(const CSCStripDigiCollection* stripds, const CSCWireDigiCollection* wireds, CSCRecHit2DCollection& oc);
57 
61  void setGeometry(const CSCGeometry* geom) { geom_ = geom; }
62 
67 
68  const CSCLayer* getLayer(const CSCDetId& detId);
69 
70 private:
71  bool useCalib;
74 
82 
84 
85  /*
86  * Cache geometry for current event
87  */
89  /*
90  * Cache conditions data for current event - cannot be const because we need to update bad channels words
91  */
93 };
94 
95 #endif
const CSCGeometry * geom_
void setConditions(CSCRecoConditions *reco)
const CSCLayer * getLayer(const CSCDetId &detId)
void build(const CSCStripDigiCollection *stripds, const CSCWireDigiCollection *wireds, CSCRecHit2DCollection &oc)
CSCHitFromWireOnly * hitsFromWireOnly_
CSCRecoConditions * recoConditions_
CSCHitFromStripOnly * hitsFromStripOnly_
CSCRecHitDBuilder(const edm::ParameterSet &ps)
CSCMake2DRecHit * make2DHits_
fixed size matrix
void setGeometry(const CSCGeometry *geom)