Classes | |
class | multiThreadFragmentProcessing |
Public Types | |
using | RawDigitCollection = std::vector< raw::RawDigit > |
using | RawDigitCollectionPtr = std::unique_ptr< RawDigitCollection > |
using | ConcurrentRawDigitCol = tbb::concurrent_vector< raw::RawDigit > |
Public Member Functions | |
DaqDecoderICARUSTPC (fhicl::ParameterSet const &pset, art::ProcessingFrame const &frame) | |
virtual | ~DaqDecoderICARUSTPC () |
Destructor. More... | |
virtual void | configure (fhicl::ParameterSet const &pset) |
virtual void | produce (art::Event &e, art::ProcessingFrame const &frame) |
virtual void | beginJob (art::ProcessingFrame const &frame) |
Begin job method. More... | |
virtual void | endJob (art::ProcessingFrame const &frame) |
End job method. More... | |
void | processSingleFragment (size_t, detinfo::DetectorClocksData const &clockData, art::Handle< artdaq::Fragments >, ConcurrentRawDigitCol &, ConcurrentRawDigitCol &, ConcurrentRawDigitCol &) const |
Private Member Functions | |
void | saveRawDigits (const icarus_signal_processing::ArrayFloat &, const icarus_signal_processing::VectorFloat &, const icarus_signal_processing::VectorFloat &, const icarus_signal_processing::VectorInt &, ConcurrentRawDigitCol &) const |
Private Attributes | |
std::vector< std::unique_ptr < IDecoderFilter > > | fDecoderToolVec |
Decoder tools. More... | |
std::vector< art::InputTag > | fFragmentsLabelVec |
The input artdaq fragment label vector (for more than one) More... | |
bool | fOutputRawWaveform |
Should we output pedestal corrected (not noise filtered)? More... | |
bool | fOutputCorrection |
Should we output the coherent noise correction vectors? More... | |
std::string | fOutputRawWavePath |
Path to assign to the output if asked for. More... | |
std::string | fOutputCoherentPath |
Path to assign to the output if asked for. More... | |
unsigned int | fPlaneToSimulate |
Use to get fragment offset. More... | |
float | fSigmaForTruncation |
This determines the point at which we truncate bins for the RMS calc. More... | |
int | fNumEvent |
Number of events seen. More... | |
size_t | fFragmentOffset |
The fragment offset to set channel numbering. More... | |
geo::GeometryCore const * | fGeometry |
pointer to Geometry service More... | |
Definition at line 57 of file DaqDecoderICARUSTPC_module.cc.
using daq::DaqDecoderICARUSTPC::ConcurrentRawDigitCol = tbb::concurrent_vector<raw::RawDigit> |
Definition at line 74 of file DaqDecoderICARUSTPC_module.cc.
using daq::DaqDecoderICARUSTPC::RawDigitCollection = std::vector<raw::RawDigit> |
Definition at line 72 of file DaqDecoderICARUSTPC_module.cc.
using daq::DaqDecoderICARUSTPC::RawDigitCollectionPtr = std::unique_ptr<RawDigitCollection> |
Definition at line 73 of file DaqDecoderICARUSTPC_module.cc.
|
explicit |
Constructor.
Arguments:
pset - Fcl parameters.
Definition at line 151 of file DaqDecoderICARUSTPC_module.cc.
|
virtual |
|
virtual |
Begin job method.
Definition at line 245 of file DaqDecoderICARUSTPC_module.cc.
|
virtual |
Reconfigure method.
Arguments:
pset - Fcl parameter set.
Definition at line 232 of file DaqDecoderICARUSTPC_module.cc.
|
virtual |
End job method.
Definition at line 469 of file DaqDecoderICARUSTPC_module.cc.
void daq::DaqDecoderICARUSTPC::processSingleFragment | ( | size_t | idx, |
detinfo::DetectorClocksData const & | clockData, | ||
art::Handle< artdaq::Fragments > | fragmentHandle, | ||
ConcurrentRawDigitCol & | rawDigitCollection, | ||
ConcurrentRawDigitCol & | rawRawDigitCollection, | ||
ConcurrentRawDigitCol & | coherentCollection | ||
) | const |
Definition at line 347 of file DaqDecoderICARUSTPC_module.cc.
|
virtual |
Produce method.
Arguments:
evt - Art event.
This is the primary method.
Definition at line 259 of file DaqDecoderICARUSTPC_module.cc.
|
private |
Definition at line 426 of file DaqDecoderICARUSTPC_module.cc.
|
private |
Decoder tools.
Definition at line 122 of file DaqDecoderICARUSTPC_module.cc.
|
private |
The fragment offset to set channel numbering.
Definition at line 136 of file DaqDecoderICARUSTPC_module.cc.
|
private |
The input artdaq fragment label vector (for more than one)
Definition at line 125 of file DaqDecoderICARUSTPC_module.cc.
|
private |
pointer to Geometry service
Definition at line 139 of file DaqDecoderICARUSTPC_module.cc.
|
private |
Number of events seen.
Definition at line 134 of file DaqDecoderICARUSTPC_module.cc.
|
private |
Path to assign to the output if asked for.
Definition at line 129 of file DaqDecoderICARUSTPC_module.cc.
|
private |
Should we output the coherent noise correction vectors?
Definition at line 127 of file DaqDecoderICARUSTPC_module.cc.
|
private |
Should we output pedestal corrected (not noise filtered)?
Definition at line 126 of file DaqDecoderICARUSTPC_module.cc.
|
private |
Path to assign to the output if asked for.
Definition at line 128 of file DaqDecoderICARUSTPC_module.cc.
|
private |
Use to get fragment offset.
Definition at line 130 of file DaqDecoderICARUSTPC_module.cc.
|
private |
This determines the point at which we truncate bins for the RMS calc.
Definition at line 131 of file DaqDecoderICARUSTPC_module.cc.