Skip to content

Commit

Permalink
Removing debug print statements
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Sutton committed Dec 3, 2024
1 parent f6a4350 commit d9fab3f
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions UserTools/PMTWaveformSim/PMTWaveformSim.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,6 @@ bool PMTWaveformSim::Execute()
for (auto mcHitsIt : *fMCHits) { // Loop over the hit PMTs
int PMTID = mcHitsIt.first;

std::cout << "PMT: " << PMTID << std::endl;

std::vector<MCHit> mcHits = mcHitsIt.second;

// Generate waveform samples from the MC hits
Expand All @@ -109,8 +107,6 @@ bool PMTWaveformSim::Execute()
uint16_t hit_t0 = uint16_t(mcHit.GetTime() / NS_PER_ADC_SAMPLE);
double hit_charge = mcHit.GetCharge();

std::cout << mcHit.GetTime() << ", " << hit_charge << std::endl;

// Set the readout window but don't allow negative times
uint16_t start_clocktick = (hit_t0 > fPrewindow)? hit_t0 - fPrewindow : 0;
uint16_t end_clocktick = start_clocktick + fReadoutWindow;
Expand Down Expand Up @@ -152,7 +148,6 @@ bool PMTWaveformSim::Execute()
}// end loop over PMTs

// Publish the waveforms to the ANNIEEvent store
std::cout << "PMTWaveformSim: Saving RawADCDataMC with size: " << RawADCDataMC.size() << std::endl;
m_data->Stores.at("ANNIEEvent")->Set("RawADCDataMC", RawADCDataMC);
m_data->Stores.at("ANNIEEvent")->Set("CalibratedADCData", CalADCDataMC);

Expand Down

0 comments on commit d9fab3f

Please sign in to comment.