CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ChamberSegmentUtility.h
Go to the documentation of this file.
1 #ifndef EstimatorTool_RecSegment_h
2 #define EstimatorTool_RecSegment_h
3 
33 
34 
36 
37  public:
38 
40 
41  // Get the 4D segments in a CSC chamber
42  std::vector<CSCSegment> getCSCSegmentsInChamber(CSCDetId);
43 
44  // Get the 4D segments in a DT chamber
45  std::vector<DTRecSegment4D> getDTSegmentsInChamber(DTChamberId);
46 
47  // Get the list of DT chambers with segments
48  const std::map<int, std::vector<DTRecSegment4D> >& getDTlist() const { return dtsegMap; };
49 
50  // Get the list of CSC chambers with segments
51  const std::map<int, std::vector<CSCSegment> >& getCSClist() const { return cscsegMap; };
52 
53  // Get the map association between segments4d and rechits
54  std::vector<DTRecHit1D> getDTRHmap(DTRecSegment4D);
55 
56  // Get the map association between segments4d and rechits
57  std::vector<CSCRecHit2D> getCSCRHmap(CSCSegment);
58 
59 
60  private:
61 
66 
67  std::vector<DTRecSegment4D> dtseg;
68  std::vector<CSCSegment> cscseg;
69  std::map<int, std::vector<DTRecSegment4D> > dtsegMap;
70  std::map<int, std::vector<CSCSegment> > cscsegMap;
73  std::vector<DTRecHit1D> phiSegRH;
74  std::vector<DTRecHit1D> zSegRH;
75 };
76 
77 #endif
78 
79 
ChamberSegmentUtility(const edm::Event &, const edm::EventSetup &)
edm::ESHandle< DTGeometry > dtGeom
std::vector< CSCRecHit2D > getCSCRHmap(CSCSegment)
std::map< int, std::vector< DTRecSegment4D > > dtsegMap
std::vector< DTRecSegment4D > getDTSegmentsInChamber(DTChamberId)
std::vector< CSCSegment > getCSCSegmentsInChamber(CSCDetId)
std::vector< DTRecHit1D > getDTRHmap(DTRecSegment4D)
const std::map< int, std::vector< CSCSegment > > & getCSClist() const
std::map< int, std::vector< CSCSegment > > cscsegMap
std::vector< DTRecSegment4D > dtseg
edm::ESHandle< CSCGeometry > cscGeometry
edm::Handle< CSCSegmentCollection > CSCSegments
std::vector< DTRecHit1D > phiSegRH
const std::map< int, std::vector< DTRecSegment4D > > & getDTlist() const
std::vector< CSCSegment > cscseg
edm::Handle< DTRecSegment4DCollection > all4DSegments
std::vector< DTRecHit1D > zSegRH