All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Classes | Functions
daq Namespace Reference

Namespaces

 details
 

Classes

class  DaqDecoderICARUSPMT
 
class  DaqDecoderIcarusPMTold
 
class  DaqDecoderICARUSTPC
 
class  DaqDecoderICARUSTPCwROI
 
class  DaqDecoderICARUSTrigger
 
class  FakeParticle
 FakeParticle class definiton. More...
 
class  IDecoder
 IDecoder interface class definiton. More...
 
class  IDecoderFilter
 IDecoderFilter interface class definiton. More...
 
class  IFakeParticle
 IFakeParticle interface class definiton. More...
 
class  INoiseFilter
 IDecoderFilter interface class definiton. More...
 
class  PMTDecoder
 Turns PMT readout fragments from DAQ into LArSoft data products. More...
 
class  TPCDecoder
 TPCDecoder class definiton. More...
 
class  TPCDecoderFilter1D
 TPCDecoderFilter1D class definiton. More...
 
class  TPCDecoderFilter2D
 TPCDecoderFilter2D class definiton. More...
 
class  TPCNoiseFilter1DMC
 TPCNoiseFilter1DMC class definiton. More...
 
class  TPCNoiseFilterCannyMC
 TPCNoiseFilterCannyMC class definiton. More...
 
class  TriggerDecoder
 Tool decoding the trigger information from DAQ. More...
 
class  FilterNoiseICARUS
 
class  MCDecoderICARUSTPCwROI
 

Functions

details::BoardSetup_t convert (PMTDecoder::BoardSetupConfig const &config)
 Special function fhicl::TableAs uses to convert BoardSetupConfig. More...
 
std::ostream & operator<< (std::ostream &out, PMTDecoder::SplitTimestamp_t const &time)
 

Function Documentation

details::BoardSetup_t daq::convert ( PMTDecoder::BoardSetupConfig const &  config)

Special function fhicl::TableAs uses to convert BoardSetupConfig.

Definition at line 619 of file PMTDecoder_tool.cc.

619  {
620 
622  return {
623  config.Name() // name
624  , getOptionalValue(config.FragmentID)
625  .value_or(details::BoardSetup_t::NoFragmentID) // fragmentID
626  , config.TriggerDelay() // triggerDelay
627  };
628  } // convert(BoardSetupConfig)
std::optional< typename Optional::value_type > getOptionalValue(Optional const &parameter)
Returns the value of an optional parameter as std::optional.
Definition: FHiCLutils.h:188
std::ostream& daq::operator<< ( std::ostream &  out,
PMTDecoder::SplitTimestamp_t const &  time 
)

Definition at line 649 of file PMTDecoder_tool.cc.

649  {
650  out << time.split.seconds << '.'
651  << std::setfill('0') << std::setw(9) << time.split.nanoseconds;
652  return out;
653  } // operator<< (std::ostream&, PMTDecoder::SplitTimestamp_t)