Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2025-03-05 03:16:36

0001 #ifndef L1Trigger_L1TGEM_ME0StubAlgoPartition_H
0002 #define L1Trigger_L1TGEM_ME0StubAlgoPartition_H
0003 
0004 #include "L1Trigger/L1TGEM/interface/ME0StubAlgoSubfunction.h"
0005 #include "L1Trigger/L1TGEM/interface/ME0StubAlgoPatUnitMux.h"
0006 
0007 namespace l1t {
0008   namespace me0 {
0009     bool isGhost(const ME0StubPrimitive& segment,
0010                  const ME0StubPrimitive& comparison,
0011                  bool checkIds = false,
0012                  bool checkStrips = false);
0013     bool isAtEdge(int x, int groupWidth, int edgeDistance);
0014     std::vector<ME0StubPrimitive> cancelEdges(const std::vector<ME0StubPrimitive>& segments,
0015                                               int groupWidth = 8,
0016                                               int ghostWidth = 2,
0017                                               int edgeDistance = 2,
0018                                               bool verbose = false);
0019     std::vector<ME0StubPrimitive> processPartition(const std::vector<UInt192>& partitionData,
0020                                                    const std::vector<std::vector<int>>& partitionBxData,
0021                                                    int partition,
0022                                                    Config& config);
0023   }  // namespace me0
0024 }  // namespace l1t
0025 
0026 #endif