Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:27:43

0001 #ifndef TkDetLayers_DetGroupMerger_h
0002 #define TkDetLayers_DetGroupMerger_h
0003 
0004 #include "TrackingTools/DetLayers/interface/DetGroup.h"
0005 
0006 #pragma GCC visibility push(hidden)
0007 class DetGroupMerger {
0008 public:
0009   static void orderAndMergeTwoLevels(std::vector<DetGroup>&& one,
0010                                      std::vector<DetGroup>&& two,
0011                                      std::vector<DetGroup>& result,
0012                                      int firstIndex,
0013                                      int firstCrossed);
0014 
0015   static void mergeTwoLevels(std::vector<DetGroup>&& one, std::vector<DetGroup>&& two, std::vector<DetGroup>& result);
0016 
0017   static void addSameLevel(std::vector<DetGroup>&& gvec, std::vector<DetGroup>& result);
0018 
0019   static void doubleIndexSize(std::vector<DetGroup>& vec);
0020 
0021   static void incrementAndDoubleSize(std::vector<DetGroup>& vec);
0022 };
0023 
0024 #pragma GCC visibility pop
0025 #endif