Skip to content

Commit d87cc4d

Browse files
authored
Update SBNDPTBDecoder_module.cc
Applied Henry's comments
1 parent 6be31f0 commit d87cc4d

1 file changed

Lines changed: 0 additions & 11 deletions

File tree

sbndcode/Decoders/PTB/SBNDPTBDecoder_module.cc

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -79,13 +79,7 @@ SBNDPTBDecoder::SBNDPTBDecoder(fhicl::ParameterSet const & p)
7979
int _run; int _subrun; int _event;
8080
void SBNDPTBDecoder::produce(art::Event & evt)
8181
{
82-
_run = evt.id().run();
83-
_subrun = evt.id().subRun();
84-
_event = evt.id().event();
85-
std::cout << "Run: " << _run << " SubRun: " << _subrun << " Event: " << _event << std::endl;
86-
8782
// look first for container fragments and then non-container fragments
88-
8983
std::vector<raw::ptb::sbndptb> sbndptbs;
9084

9185
art::InputTag itag1(fInputLabel, fInputContainerInstance);
@@ -217,11 +211,6 @@ void SBNDPTBDecoder::_process_PTB_AUX(const artdaq::Fragment& frag, ptbsv_t &sou
217211
ix = sout.HLTrigs.size();
218212
sout.HLTrigs.push_back(tstruct);
219213

220-
//Make sure HLT words are printing correctly
221-
//print_fragment_words(frag, iword, 192 );
222-
//std::cout <<"Gate Counter: " << tstruct.gate_counter << " | Trigger Payload: " << tstruct.trigger_word << " | Previous Timestamp: " << tstruct.prev_timestamp << std::endl;
223-
224-
225214
if (fDebugLevel > 0)
226215
{
227216
std::cout << "SBNDPTBDecoder_module: found HLT: " << wt << " " << ix << std::endl;

0 commit comments

Comments
 (0)