CMS 3D CMS Logo

DetGroupMerger.h
Go to the documentation of this file.
1 #ifndef TkDetLayers_DetGroupMerger_h
2 #define TkDetLayers_DetGroupMerger_h
3 
5 
6 #pragma GCC visibility push(hidden)
8 public:
9  static void orderAndMergeTwoLevels(std::vector<DetGroup>&& one,
10  std::vector<DetGroup>&& two,
11  std::vector<DetGroup>& result,
12  int firstIndex,
13  int firstCrossed);
14 
15  static void mergeTwoLevels(std::vector<DetGroup>&& one, std::vector<DetGroup>&& two, std::vector<DetGroup>& result);
16 
17  static void addSameLevel(std::vector<DetGroup>&& gvec, std::vector<DetGroup>& result);
18 
19  static void doubleIndexSize(std::vector<DetGroup>& vec);
20 
21  static void incrementAndDoubleSize(std::vector<DetGroup>& vec);
22 };
23 
24 #pragma GCC visibility pop
25 #endif
static void incrementAndDoubleSize(std::vector< DetGroup > &vec)
static void mergeTwoLevels(std::vector< DetGroup > &&one, std::vector< DetGroup > &&two, std::vector< DetGroup > &result)
static void addSameLevel(std::vector< DetGroup > &&gvec, std::vector< DetGroup > &result)
static void doubleIndexSize(std::vector< DetGroup > &vec)
static void orderAndMergeTwoLevels(std::vector< DetGroup > &&one, std::vector< DetGroup > &&two, std::vector< DetGroup > &result, int firstIndex, int firstCrossed)