@@ -113,24 +113,8 @@ std::vector<ME0StubPrimitive> l1t::me0::process_partition(const std::vector<UInt
113113 std::vector<ME0StubPrimitive> max_segs;
114114 const std::vector<ME0StubPrimitive> segments = pat_mux (partition_data, partition_bx_data, partition, config);
115115
116- // //debug
117- // std::cout<<"Partition = "<<partition<<std::endl;
118- // std::cout<<std::endl;
119- // std::cout<<"before pre-deghost"<<std::endl;
120- // for (auto seg : segments) {
121- // if (seg.PatternId()!=0) std::cout<<seg<<std::endl;
122- // }
123- // std::cout<<std::endl;
124-
125116 if (config.deghost_pre ) {tmp = cancel_edges (segments, config.group_width , config.ghost_width , config.edge_distance );}
126117 else {tmp = segments;}
127-
128- // debug
129- // std::cout<<"before chunk"<<std::endl;
130- // for (auto seg : segments) {
131- // if (seg.PatternId()!=0) std::cout<<seg<<std::endl;
132- // }
133- // std::cout<<std::endl;
134118
135119 std::vector<std::vector<ME0StubPrimitive>> chunked = chunk (tmp, config.group_width );
136120 for (const std::vector<ME0StubPrimitive>& seg_v : chunked) {
@@ -141,22 +125,8 @@ std::vector<ME0StubPrimitive> l1t::me0::process_partition(const std::vector<UInt
141125 max_segs.push_back (max_seg);
142126 }
143127
144- // //debug
145- // std::cout<<"before post deghost"<<std::endl;
146- // for (auto seg : max_segs) {
147- // if (seg.PatternId()!=0) std::cout<<seg<<std::endl;
148- // }
149- // std::cout<<std::endl;
150-
151128 if (config.deghost_post ) {out = cancel_edges (max_segs, 0 , 1 , 1 );}
152129 else {out = max_segs;}
153130
154- // //debug
155- // std::cout<<"after post deghost"<<std::endl;
156- // for (auto seg : max_segs) {
157- // if (seg.PatternId()!=0) std::cout<<seg<<std::endl;
158- // }
159- // std::cout<<std::endl;
160-
161131 return out;
162132}
0 commit comments