CMS 3D CMS Logo

SiStripSubStructure.h
Go to the documentation of this file.
1 #ifndef SiStripDetId_SiStripSubStructure_h
2 #define SiStripDetId_SiStripSubStructure_h
3 // -*- C++ -*-
4 //
5 // Package: SiStripDetId
6 // Class : SiStripSubStructure
7 //
16 //
17 // Original Author: dkcira
18 // Created: Wed Jan 25 07:18:21 CET 2006
19 //
20 
21 #include <vector>
22 #include <stdint.h>
23 
25 {
26 
27  public:
30 
31  void getTIBDetectors(const std::vector<uint32_t> & inputDetRawIds, // INPUT
32  std::vector<uint32_t> & tibDetRawIds, // OUTPUT
33  uint32_t layer = 0, // SELECTION: layer = 1..4, 0(ALL)
34  uint32_t bkw_frw = 0, // bkw_frw = 1(TIB-), 2(TIB+) 0(ALL)
35  uint32_t int_ext = 0, // int_ext = 1 (internal), 2(external), 0(ALL)
36  uint32_t string = 0) const; // string = 1..N, 0(ALL)
37 
38  void getTIDDetectors(const std::vector<uint32_t> & inputDetRawIds, // INPUT
39  std::vector<uint32_t> & tidDetRawIds, // OUTPUT
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) const; // 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  uint32_t layer = 0, // SELECTION: layer = 1..6, 0(ALL)
48  uint32_t bkw_frw = 0, // bkw_frw = 1(TOB-) 2(TOB+) 0(everything)
49  uint32_t rod = 0) const; // rod = 1..N, 0(ALL)
50 
51 
52  void getTECDetectors(const std::vector<uint32_t> & inputDetRawIds, // INPUT
53  std::vector<uint32_t> & tecDetRawIds, // OUTPUT
54  uint32_t side = 0, // SELECTION: side = 1(TEC-), 2(TEC+), 0(ALL)
55  uint32_t wheel = 0, // wheel = 1..9, 0(ALL)
56  uint32_t petal_bkw_frw = 0, // petal_bkw_frw = 1(backward) 2(forward) 0(all)
57  uint32_t petal = 0, // petal = 1..8, 0(ALL)
58  uint32_t ring = 0, // ring = 1..7, 0(ALL)
59  uint32_t ster = 0) const; // ster = 1(sterero), else(nonstereo), 0(ALL)
60 
61  private:
62  SiStripSubStructure(const SiStripSubStructure&); // stop default
63 
64  const SiStripSubStructure& operator=(const SiStripSubStructure&); // stop default
65 
66  // ---------- member data --------------------------------
67 
68 };
69 
70 #endif
const SiStripSubStructure & operator=(const SiStripSubStructure &)
void getTOBDetectors(const std::vector< uint32_t > &inputDetRawIds, std::vector< uint32_t > &tobDetRawIds, uint32_t layer=0, uint32_t bkw_frw=0, uint32_t rod=0) const
void getTECDetectors(const std::vector< uint32_t > &inputDetRawIds, std::vector< uint32_t > &tecDetRawIds, 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) const
void getTIBDetectors(const std::vector< uint32_t > &inputDetRawIds, std::vector< uint32_t > &tibDetRawIds, uint32_t layer=0, uint32_t bkw_frw=0, uint32_t int_ext=0, uint32_t string=0) const
void getTIDDetectors(const std::vector< uint32_t > &inputDetRawIds, std::vector< uint32_t > &tidDetRawIds, uint32_t side=0, uint32_t wheel=0, uint32_t ring=0, uint32_t ster=0) const