Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-03-17 11:05:26

0001 #ifndef GEOMETRY_TRACKERNUMBERINGBUILDER_UTILS_H
0002 #define GEOMETRY_TRACKERNUMBERINGBUILDER_UTILS_H
0003 
0004 #include "Geometry/TrackerNumberingBuilder/interface/GeometricDet.h"
0005 
0006 namespace TrackerGeometryUtils {
0007 
0008   /**
0009  * A helper method to get the full list of SiStrip DetIds from the GeometricDet
0010  *
0011  * The DetIds are sorted by subdetector, but otherwise keep the ordering from
0012  * GeometricDet::deepComponents (for compatibility with SiStripDetInfoFileReader)
0013  */
0014 
0015   std::vector<uint32_t> getSiStripDetIds(const GeometricDet& geomDet);
0016 
0017   /**
0018  * A helper method to get the full list of OuterTracker DetIds from the GeometricDet
0019  *
0020  * The DetIds are sorted by subdetector, but otherwise keep the ordering from
0021  * GeometricDet::deepComponents (for compatibility with SiStripDetInfoFileReader)
0022  */
0023 
0024   std::vector<uint32_t> getOuterTrackerDetIds(const GeometricDet& geomDet);
0025 
0026 }  // namespace TrackerGeometryUtils
0027 
0028 #endif  // GEOMETRY_TRACKERNUMBERINGBUILDER_UTILS_H