Skip to content

Commit 3072d22

Browse files
committed
Add ME0 Trigger Object (Stub) and Producer
1 parent 1cb7ef3 commit 3072d22

File tree

2 files changed

+0
-37
lines changed

2 files changed

+0
-37
lines changed

L1Trigger/L1TGEM/plugins/ME0StubBuilder.cc

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -134,13 +134,6 @@ void ME0StubBuilder::build(const GEMPadDigiCollection* paddigis, ME0StubCollecti
134134
SegList_processed.push_back(seg_final);
135135
}
136136

137-
//////////////////////////// debug ////////////////////////////
138-
// for (auto seg : SegList_processed) {
139-
// std::cout<<"region="<<id.region()<<", chamber="<<id.chamber()
140-
// <<", "<<seg<<std::endl;
141-
// }
142-
//////////////////////////// debug ////////////////////////////
143-
144137
oc.put(id, SegList_processed.begin(), SegList_processed.end());
145138
}
146139
}

L1Trigger/L1TGEM/src/ME0StubAlgoPartition.cc

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)