CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CSCTriggerGeomManager.h
Go to the documentation of this file.
1 #ifndef CSCCommonTrigger_CSCTriggerGeomManager_h
2 #define CSCCommonTrigger_CSCTriggerGeomManager_h
3 
4 
19 #include <vector>
20 
22 {
23  public:
24 
28 
29  void setGeometry(const edm::ESHandle<CSCGeometry>& thegeom) { geom = const_cast<CSCGeometry*>(thegeom.product()); }
30 
32  std::vector<CSCChamber*> sectorOfChambersInStation(unsigned endcap, unsigned station,
33  unsigned sector, unsigned subsector) const;
34 
36  CSCChamber* chamber(unsigned endcap, unsigned station, unsigned sector,
37  unsigned subsector, unsigned tcscid) const;
38 
39  private:
40 
42 
43 };
44 
45 #endif
CSCChamber * chamber(unsigned endcap, unsigned station, unsigned sector, unsigned subsector, unsigned tcscid) const
Return the CSCChamber for a corresponding endcap/station/sector/subsector/trigger cscid...
parent
Definition: confdb.py:1052
CSCTriggerGeomManager(const CSCTriggerGeomManager &parent)
void setGeometry(const edm::ESHandle< CSCGeometry > &thegeom)
T const * product() const
Definition: ESHandle.h:86
std::vector< CSCChamber * > sectorOfChambersInStation(unsigned endcap, unsigned station, unsigned sector, unsigned subsector) const
Return a list of chambers in a given endcap/station/sector/subsector.