174 bool keep_event =
true;
179 art::Handle< std::vector<sbnd::ToF::ToF> > tofLhitListHandle;
180 std::vector< art::Ptr<sbnd::ToF::ToF> > tofLhitList;
182 art::fill_ptr_vector(tofLhitList, tofLhitListHandle);
184 std::vector<bool> is_cos_like;
186 for(
auto const& tf_lhit : tofLhitList){
187 if(tf_lhit->tof >=
ftof_Lhit_cut) is_cos_like.push_back(
false);
188 else is_cos_like.push_back(
true);
191 if(is_cos_like.size()){
193 for(
auto itr: is_cos_like){
200 if(!found_nu) keep_event=
false;
209 art::Handle< std::vector<sbnd::ToF::ToF> > tofChitListHandle;
210 std::vector< art::Ptr<sbnd::ToF::ToF> > tofChitList;
212 art::fill_ptr_vector(tofChitList, tofChitListHandle);
214 std::vector<bool> is_cos_like;
216 for(
auto const& tf_chit : tofChitList){
217 if(tf_chit->tof >=
ftof_Chit_cut) is_cos_like.push_back(
false);
218 else is_cos_like.push_back(
true);
221 if(is_cos_like.size()){
223 for(
auto itr: is_cos_like){
230 if(!found_nu) keep_event=
false;
239 art::Handle< std::vector<sbnd::ToF::ToF> > tofLflashListHandle;
240 std::vector< art::Ptr<sbnd::ToF::ToF> > tofLflashList;
242 art::fill_ptr_vector(tofLflashList, tofLflashListHandle);
244 std::vector<bool> is_cos_like;
246 for(
auto const& tf_lflash : tofLflashList){
247 if(tf_lflash->tof >=
ftof_Lflsh_cut) is_cos_like.push_back(
false);
248 else is_cos_like.push_back(
true);
251 if(is_cos_like.size()){
253 for(
auto itr: is_cos_like){
260 if(!found_nu) keep_event=
false;
269 art::Handle< std::vector<sbnd::ToF::ToF> > tofCflashListHandle;
270 std::vector< art::Ptr<sbnd::ToF::ToF> > tofCflashList;
272 art::fill_ptr_vector(tofCflashList, tofCflashListHandle);
274 std::vector<bool> is_cos_like;
276 for(
auto const& tf_cflash : tofCflashList){
277 if(tf_cflash->tof >=
ftof_Cflsh_cut) is_cos_like.push_back(
false);
278 else is_cos_like.push_back(
true);
281 if(is_cos_like.size()){
283 for(
auto itr: is_cos_like){
290 if(!found_nu) keep_event=
false;
299 art::Handle< std::vector<sbnd::ToF::ToF> > tofLflashhitListHandle;
300 std::vector< art::Ptr<sbnd::ToF::ToF> > tofLflashhitList;
302 art::fill_ptr_vector(tofLflashhitList, tofLflashhitListHandle);
304 std::vector<bool> is_cos_like;
306 for(
auto const& tf_lflashhit : tofLflashhitList){
308 else is_cos_like.push_back(
true);
311 if(is_cos_like.size()){
313 for(
auto itr: is_cos_like){
320 if(!found_nu) keep_event=
false;
329 art::Handle< std::vector<sbnd::ToF::ToF> > tofCflashhitListHandle;
330 std::vector< art::Ptr<sbnd::ToF::ToF> > tofCflashhitList;
332 art::fill_ptr_vector(tofCflashhitList, tofCflashhitListHandle);
334 std::vector<bool> is_cos_like;
336 for(
auto const& tf_cflashhit : tofCflashhitList){
338 else is_cos_like.push_back(
true);
341 if(is_cos_like.size()){
343 for(
auto itr: is_cos_like){
350 if(!found_nu) keep_event=
false;
art::InputTag ftofCflashLabel
art::InputTag ftofChitLabel
art::InputTag ftofCflashhitLabel
art::InputTag ftofLflashhitLabel
art::InputTag ftofLflashLabel
art::InputTag ftofLhitLabel