Skip to content

Commit

Permalink
removed function in DAQ/CRV that depends on a future release of artda…
Browse files Browse the repository at this point in the history
…q_core_mu2e
  • Loading branch information
ehrlich-uva committed Apr 29, 2024
1 parent 716ed99 commit 89b1b84
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions DAQ/src/CrvDigisFromFragments_module.cc
Original file line number Diff line number Diff line change
Expand Up @@ -110,12 +110,15 @@ void CrvDigisFromFragments::produce(Event& event)
continue;
}
auto header = block->GetHeader();
/*
FIXME: This function will be available in a new release of artdaq_core_mu2e
if(!header->isValid())
{
std::cerr << "CRV packet is not valid." << std::endl;
std::cerr << "sub system ID: "<<(uint16_t)header->GetSubsystemID()<<" packet count: "<<header->GetPacketCount() << std::endl;
continue;
}
*/
if(header->GetSubsystemID() != DTCLib::DTC_Subsystem::DTC_Subsystem_CRV)
{
std::cerr << "CRV packet does not have system ID 2." << std::endl;
Expand Down

0 comments on commit 89b1b84

Please sign in to comment.