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 
10  static void orderAndMergeTwoLevels( std::vector<DetGroup>&& one,
11  std::vector<DetGroup>&& two,
12  std::vector<DetGroup>& result,
13  int firstIndex,
14  int firstCrossed);
15 
16  static void mergeTwoLevels( std::vector<DetGroup>&& one,
17  std::vector<DetGroup>&& two,
18  std::vector<DetGroup>& result);
19 
20  static void addSameLevel( std::vector<DetGroup>&& gvec, std::vector<DetGroup>& result);
21 
22  static void doubleIndexSize( std::vector<DetGroup>& vec);
23 
24  static void incrementAndDoubleSize( std::vector<DetGroup>& vec);
25 
26 };
27 
28 #pragma GCC visibility pop
29 #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)