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 
31 
32 
34 
35  public:
36 
38 
39  // Get the 4D segments in a CSC chamber
40  std::vector<CSCSegment> getCSCSegmentsInChamber(CSCDetId);
41 
42  // Get the 4D segments in a DT chamber
43  std::vector<DTRecSegment4D> getDTSegmentsInChamber(DTChamberId);
44 
45  // Get the list of DT chambers with segments
46  const std::map<int, std::vector<DTRecSegment4D> >& getDTlist() const { return dtsegMap; };
47 
48  // Get the list of CSC chambers with segments
49  const std::map<int, std::vector<CSCSegment> >& getCSClist() const { return cscsegMap; };
50 
51  // Get the map association between segments4d and rechits
52  std::vector<DTRecHit1D> getDTRHmap(const DTRecSegment4D&);
53 
54  // Get the map association between segments4d and rechits
55  std::vector<CSCRecHit2D> getCSCRHmap(const CSCSegment&);
56 
57 
58  private:
59 
64 
65  std::vector<DTRecSegment4D> dtseg;
66  std::vector<CSCSegment> cscseg;
67  std::map<int, std::vector<DTRecSegment4D> > dtsegMap;
68  std::map<int, std::vector<CSCSegment> > cscsegMap;
71  std::vector<DTRecHit1D> phiSegRH;
72  std::vector<DTRecHit1D> zSegRH;
73 };
74 
75 #endif
76 
77 
ChamberSegmentUtility(const edm::Event &, const edm::EventSetup &)
edm::ESHandle< DTGeometry > dtGeom
std::map< int, std::vector< DTRecSegment4D > > dtsegMap
std::vector< DTRecSegment4D > getDTSegmentsInChamber(DTChamberId)
std::vector< CSCSegment > getCSCSegmentsInChamber(CSCDetId)
std::vector< CSCRecHit2D > getCSCRHmap(const CSCSegment &)
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 > getDTRHmap(const DTRecSegment4D &)
std::vector< DTRecHit1D > zSegRH