Skip to content

Commit 20fc456

Browse files
author
Teal Pershing
committed
Removed print statements used when debugging pulse-finding tools
1 parent 064ed08 commit 20fc456

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

UserTools/PhaseIIADCHitFinder/PhaseIIADCHitFinder.cpp

-4
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,6 @@ bool PhaseIIADCHitFinder::Execute() {
147147
HitsOnPMT = this->convert_adcpulses_to_hits(channel_key,pulse_vec);
148148
for(int j=0; j < HitsOnPMT.size(); j++){
149149
Hit ahit = HitsOnPMT.at(j);
150-
std::cout << "EMPLACING HIT INTO HIT MAP,ID"<< ahit.GetTubeId() << std::endl;
151150
if(hit_map->count(channel_key)==0) hit_map->emplace(channel_key, std::vector<Hit>{ahit});
152151
else hit_map->at(channel_key).push_back(ahit);
153152
}
@@ -160,7 +159,6 @@ bool PhaseIIADCHitFinder::Execute() {
160159

161160
//Store the pulse and hit maps in the ANNIEEvent store
162161
annie_event->Set("RecoADCHits", pulse_map);
163-
std::cout << "SETTING MAP, SIZE IS " << hit_map->size() << std::endl;
164162
annie_event->Set("Hits", hit_map,true);
165163
return true;
166164
}
@@ -381,15 +379,13 @@ std::vector<ADCPulse> PhaseIIADCHitFinder::find_pulses_bythreshold(
381379

382380
std::vector<Hit> PhaseIIADCHitFinder::convert_adcpulses_to_hits(unsigned long channel_key,std::vector<std::vector<ADCPulse>> pulses){
383381
std::vector<Hit> thispmt_hits;
384-
std::cout << "FILLING PULSES INTO HITS NOW" << std::endl;
385382
for(int i=0; i < pulses.size(); i++){
386383
std::vector<ADCPulse> apulsevector = pulses.at(i);
387384
for(int j=0; j < apulsevector.size(); j++){
388385
ADCPulse apulse = apulsevector.at(j);
389386
//Get the time and charge
390387
double time = apulse.peak_time();
391388
double charge = apulse.charge();
392-
std::cout << "TIME,CHARGE ARE" << time << "," << charge << std::endl;
393389
Hit ahit(channel_key, time, charge);
394390
thispmt_hits.push_back(ahit);
395391
}

0 commit comments

Comments
 (0)