25 #include "artdaq-core/Data/ContainerFragment.hh" 61 std::vector<raw::ctb::Trigger>
fTrigs;
93 std::vector<raw::ctb::pdspctb> pdspctbs;
99 for (
auto const& cont : *cont_frags)
101 artdaq::ContainerFragment cont_frag(cont);
102 for (
size_t ii = 0; ii < cont_frag.block_count(); ++ii)
113 for(
auto const& frag: *frags)
120 pdspctbs.push_back(ctbdp);
131 for (
size_t iword = 0; iword < ctbfrag.
NWords(); ++iword)
143 fTrigs.push_back(tstruct);
178 fMiscs.push_back(mstruct);
const ptb::content::word::ch_status_t * ChStatus(unsigned int i) const
Handle< PROD > getHandle(SelectorBase const &) const
std::string fInputNonContainerInstance
EDProducer(fhicl::ParameterSet const &pset)
const ptb::content::word::word_t * Word(unsigned int i) const
void produce(art::Event &e) override
std::vector< raw::ctb::Feedback > fFeedbacks
PDSPCTBRawDecoder & operator=(PDSPCTBRawDecoder const &)=delete
std::string fInputContainerInstance
#define DEFINE_ART_MODULE(klass)
ProductID put(std::unique_ptr< PROD > &&edp, std::string const &instance={})
std::vector< raw::ctb::Misc > fMiscs
const ptb::content::word::trigger_t * Trigger(unsigned int i) const
std::vector< raw::ctb::Trigger > fTrigs
std::vector< raw::ctb::ChStatus > fChStats
const ptb::content::word::feedback_t * Feedback(unsigned int i) const
void _process_CTB_AUX(const artdaq::Fragment &frag)
std::vector< raw::ctb::WordIndex > fWordIndexes
unsigned int NWords() const noexcept
std::vector< Fragment > Fragments
PDSPCTBRawDecoder(fhicl::ParameterSet const &p)