@@ -147,7 +147,6 @@ bool PhaseIIADCHitFinder::Execute() {
147
147
HitsOnPMT = this ->convert_adcpulses_to_hits (channel_key,pulse_vec);
148
148
for (int j=0 ; j < HitsOnPMT.size (); j++){
149
149
Hit ahit = HitsOnPMT.at (j);
150
- std::cout << " EMPLACING HIT INTO HIT MAP,ID" << ahit.GetTubeId () << std::endl;
151
150
if (hit_map->count (channel_key)==0 ) hit_map->emplace (channel_key, std::vector<Hit>{ahit});
152
151
else hit_map->at (channel_key).push_back (ahit);
153
152
}
@@ -160,7 +159,6 @@ bool PhaseIIADCHitFinder::Execute() {
160
159
161
160
// Store the pulse and hit maps in the ANNIEEvent store
162
161
annie_event->Set (" RecoADCHits" , pulse_map);
163
- std::cout << " SETTING MAP, SIZE IS " << hit_map->size () << std::endl;
164
162
annie_event->Set (" Hits" , hit_map,true );
165
163
return true ;
166
164
}
@@ -381,15 +379,13 @@ std::vector<ADCPulse> PhaseIIADCHitFinder::find_pulses_bythreshold(
381
379
382
380
std::vector<Hit> PhaseIIADCHitFinder::convert_adcpulses_to_hits (unsigned long channel_key,std::vector<std::vector<ADCPulse>> pulses){
383
381
std::vector<Hit> thispmt_hits;
384
- std::cout << " FILLING PULSES INTO HITS NOW" << std::endl;
385
382
for (int i=0 ; i < pulses.size (); i++){
386
383
std::vector<ADCPulse> apulsevector = pulses.at (i);
387
384
for (int j=0 ; j < apulsevector.size (); j++){
388
385
ADCPulse apulse = apulsevector.at (j);
389
386
// Get the time and charge
390
387
double time = apulse.peak_time ();
391
388
double charge = apulse.charge ();
392
- std::cout << " TIME,CHARGE ARE" << time << " ," << charge << std::endl;
393
389
Hit ahit (channel_key, time , charge);
394
390
thispmt_hits.push_back (ahit);
395
391
}
0 commit comments