CMS 3D CMS Logo

SiStripSubStructure.h
Go to the documentation of this file.
1 #ifndef DataFormats_TrackerCommon_SiStripSubStructure_h
2 #define DataFormats_TrackerCommon_SiStripSubStructure_h
3 // -*- C++ -*-
4 //
5 // Package: SiStripDetId
6 // Class : SiStripSubStructure
7 //
18 //
19 // Original Author: dkcira
20 // Created: Wed Jan 25 07:18:21 CET 2006
21 //
22 
23 #include <cstdint>
24 #include <vector>
25 
26 class TrackerTopology;
27 
29  void getTIBDetectors(const std::vector<uint32_t> &inputDetRawIds, // INPUT
30  std::vector<uint32_t> &tibDetRawIds, // OUTPUT
31  const TrackerTopology *trackerTopology, // TrackerTopology
32  uint32_t layer = 0, // SELECTION: layer = 1..4, 0(ALL)
33  uint32_t bkw_frw = 0, // bkw_frw = 1(TIB-), 2(TIB+) 0(ALL)
34  uint32_t int_ext = 0, // int_ext = 1 (internal), 2(external), 0(ALL)
35  uint32_t string = 0); // string = 1..N, 0(ALL)
36 
37  void getTIDDetectors(const std::vector<uint32_t> &inputDetRawIds, // INPUT
38  std::vector<uint32_t> &tidDetRawIds, // OUTPUT
39  const TrackerTopology *trackerTopology, // TrackerTopology
40  uint32_t side = 0, // SELECTION: side = 1(back), 2(front), 0(ALL)
41  uint32_t wheel = 0, // wheel = 1..3, 0(ALL)
42  uint32_t ring = 0, // ring = 1..3, 0(ALL)
43  uint32_t ster = 0); // ster = 1(stereo), else (nonstereo), 0(ALL)
44 
45  void getTOBDetectors(const std::vector<uint32_t> &inputDetRawIds, // INPUT
46  std::vector<uint32_t> &tobDetRawIds, // OUTPUT
47  const TrackerTopology *trackerTopology, // TrackerTopology
48  uint32_t layer = 0, // SELECTION: layer = 1..6, 0(ALL)
49  uint32_t bkw_frw = 0, // bkw_frw = 1(TOB-) 2(TOB+) 0(everything)
50  uint32_t rod = 0); // rod = 1..N, 0(ALL)
51 
52  void getTECDetectors(const std::vector<uint32_t> &inputDetRawIds, // INPUT
53  std::vector<uint32_t> &tecDetRawIds, // OUTPUT
54  const TrackerTopology *trackerTopology, // TrackerTopology
55  uint32_t side = 0, // SELECTION: side = 1(TEC-), 2(TEC+), 0(ALL)
56  uint32_t wheel = 0, // wheel = 1..9, 0(ALL)
57  uint32_t petal_bkw_frw = 0, // petal_bkw_frw = 1(backward) 2(forward) 0(all)
58  uint32_t petal = 0, // petal = 1..8, 0(ALL)
59  uint32_t ring = 0, // ring = 1..7, 0(ALL)
60  uint32_t ster = 0); // ster = 1(sterero), else(nonstereo), 0(ALL)
61 }; // namespace SiStripSubStructure
62 #endif
SiStripSubStructure::getTIDDetectors
void getTIDDetectors(const std::vector< uint32_t > &inputDetRawIds, std::vector< uint32_t > &tidDetRawIds, const TrackerTopology *trackerTopology, uint32_t side=0, uint32_t wheel=0, uint32_t ring=0, uint32_t ster=0)
SiStripSubStructure::getTIBDetectors
void getTIBDetectors(const std::vector< uint32_t > &inputDetRawIds, std::vector< uint32_t > &tibDetRawIds, const TrackerTopology *trackerTopology, uint32_t layer=0, uint32_t bkw_frw=0, uint32_t int_ext=0, uint32_t string=0)
TrackerTopology
Definition: TrackerTopology.h:16
SiStripSubStructure
Definition: SiStripSubStructure.h:28
SiStripSubStructure::getTECDetectors
void getTECDetectors(const std::vector< uint32_t > &inputDetRawIds, std::vector< uint32_t > &tecDetRawIds, const TrackerTopology *trackerTopology, uint32_t side=0, uint32_t wheel=0, uint32_t petal_bkw_frw=0, uint32_t petal=0, uint32_t ring=0, uint32_t ster=0)
phase1PixelTopology::layer
constexpr std::array< uint8_t, layerIndexSize > layer
Definition: phase1PixelTopology.h:99
makeMuonMisalignmentScenario.wheel
wheel
Definition: makeMuonMisalignmentScenario.py:319
SiStripSubStructure::getTOBDetectors
void getTOBDetectors(const std::vector< uint32_t > &inputDetRawIds, std::vector< uint32_t > &tobDetRawIds, const TrackerTopology *trackerTopology, uint32_t layer=0, uint32_t bkw_frw=0, uint32_t rod=0)
relativeConstraints.ring
ring
Definition: relativeConstraints.py:68