CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/RecoTracker/TkDetLayers/src/DetGroupMerger.h

Go to the documentation of this file.
00001 #ifndef TkDetLayers_DetGroupMerger_h
00002 #define TkDetLayers_DetGroupMerger_h
00003 
00004 #include "TrackingTools/DetLayers/interface/DetGroup.h"
00005 
00006 #pragma GCC visibility push(hidden)
00007 class DetGroupMerger {
00008 public:
00009 
00010   static void orderAndMergeTwoLevels( const std::vector<DetGroup>& one,  
00011                                       const std::vector<DetGroup>& two,
00012                                       std::vector<DetGroup>& result,
00013                                       int firstIndex, 
00014                                       int firstCrossed);
00015   
00016   static void mergeTwoLevels( const std::vector<DetGroup>& one,  
00017                               const std::vector<DetGroup>& two,
00018                               std::vector<DetGroup>& result);
00019   
00020   static void addSameLevel( const std::vector<DetGroup>& gvec, std::vector<DetGroup>& result);
00021   
00022   static void doubleIndexSize( std::vector<DetGroup>& vec);
00023   
00024   static void incrementAndDoubleSize( std::vector<DetGroup>& vec);
00025   
00026 };
00027 
00028 #pragma GCC visibility pop
00029 #endif