@@ -109,7 +109,7 @@ sbnd::crt::CRTVetoProducer::CRTVetoProducer(fhicl::ParameterSet const& p)
109109 , fCRTClusterModuleLabel (p.get<std::string>(" CRTClusterModuleLabel" ))
110110 , fCRTSpacePointModuleLabel (p.get<std::string>(" CRTSpacePointModuleLabel" ))
111111 , fCRTTimingReferenceInfoLabel (p.get<std::string>(" CRTTimingReferenceInfoLabel" ))
112- , fSPECTDCModuleLabel (p.get<std::string>(" SPECTDCModuleLabel" ))
112+ , fSPECTDCModuleLabel (p.get<std::string>(" SPECTDCModuleLabel" , " " ))
113113 , fIsData (p.get<bool >(" IsData" ))
114114 , fDAQHeaderModuleLabel (p.get<std::string>(" DAQHeaderModuleLabel" , " " ))
115115 , fDAQHeaderInstanceLabel (p.get<std::string>(" DAQHeaderInstanceLabel" , " " ))
@@ -137,8 +137,9 @@ void sbnd::crt::CRTVetoProducer::produce(art::Event& e)
137137 std::cout << std::endl;
138138
139139 // May only be needed for BNB+Light Data --> TODO
140- uint64_t raw_ts = 0 , ref_time = 0 ;
141- uint32_t ref_time_ns = 0 ;
140+ uint64_t raw_ts = 0 ;
141+ int64_t ref_time = 0 ;
142+ int64_t ref_time_ns = 0 ;
142143
143144 // Data needs to be handled differently than MC
144145
@@ -197,7 +198,7 @@ void sbnd::crt::CRTVetoProducer::produce(art::Event& e)
197198 std::cout << std::endl;
198199 std::cout << std::endl;
199200 }
200- ref_time_ns = ref_time % static_cast <uint64_t >(1e9 );
201+ ref_time_ns = ref_time % static_cast <int64_t >(1e9 );
201202
202203 } // end of check for Data
203204
@@ -278,7 +279,10 @@ void sbnd::crt::CRTVetoProducer::produce(art::Event& e)
278279 }
279280 } // end loop over space points
280281 } // end of loop over clusters
281-
282+
283+ std::cout << " Finished Loop over Clusters --> Produce CRTVeto products" << std::endl;
284+ std::cout << std::endl;
285+
282286 int Nwalls_all = S + N + E + W;
283287 int Nwalls_noNorth = S + E + W;
284288 int Ntop = TL + TH ;
0 commit comments