Classes | |
class | multiThreadImageProcessing |
Public Types | |
using | RawDigitCollection = std::vector< raw::RawDigit > |
using | RawDigitCollectionPtr = std::unique_ptr< RawDigitCollection > |
using | WireCollection = std::vector< recob::Wire > |
using | WireCollectionPtr = std::unique_ptr< WireCollection > |
using | ConcurrentRawDigitCol = tbb::concurrent_vector< raw::RawDigit > |
using | ConcurrentWireCol = tbb::concurrent_vector< recob::Wire > |
using | PlaneIdxToImagePair = std::pair< unsigned int, icarus_signal_processing::ArrayFloat > |
using | PlaneIdxToImageMap = std::map< unsigned int, icarus_signal_processing::ArrayFloat > |
using | ChannelVec = std::vector< raw::ChannelID_t > |
using | PlaneIdxToChannelPair = std::pair< unsigned int, ChannelVec > |
using | PlaneIdxToChannelMap = std::map< unsigned int, ChannelVec > |
using | ChannelArrayPair = std::pair< daq::INoiseFilter::ChannelPlaneVec, icarus_signal_processing::ArrayFloat > |
using | ChannelArrayPairVec = std::vector< ChannelArrayPair > |
Public Member Functions | |
MCDecoderICARUSTPCwROI (fhicl::ParameterSet const &pset, art::ProcessingFrame const &frame) | |
virtual | ~MCDecoderICARUSTPCwROI () |
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 | processSingleImage (const detinfo::DetectorClocksData &, const ChannelArrayPair &, size_t, ConcurrentRawDigitCol &, ConcurrentRawDigitCol &, ConcurrentRawDigitCol &, ConcurrentWireCol &) const |
Private Types | |
using | PlaneToROPPlaneMap = std::map< geo::PlaneID, unsigned int > |
using | PlaneToWireOffsetMap = std::map< geo::PlaneID, raw::ChannelID_t > |
using | ROPToNumWiresMap = std::map< unsigned int, unsigned int > |
using | WirePlanePair = std::pair< unsigned int, unsigned int > |
using | BoardWirePlanePair = std::pair< unsigned int, WirePlanePair > |
using | ChannelToBoardWirePlaneMap = std::map< unsigned int, BoardWirePlanePair > |
Private Member Functions | |
void | processSingleLabel (art::Event &, const art::InputTag &, detinfo::DetectorClocksData const &, ChannelArrayPairVec const &, size_t const &, ConcurrentRawDigitCol &, ConcurrentRawDigitCol &, ConcurrentRawDigitCol &, ConcurrentWireCol &) const |
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< art::InputTag > | fRawDigitLabelVec |
The input artdaq fragment label vector (for more than one) More... | |
std::vector< std::string > | fOutInstanceLabelVec |
The output instance labels to apply. 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... | |
bool | fDiagnosticOutput |
Set this to get lots of messages. More... | |
size_t | fCoherentNoiseGrouping |
channels in common for coherent noiseMore... | |
const std::string | fLogCategory |
Output category when logging messages. More... | |
int | fNumEvent |
Number of events seen. More... | |
PlaneToROPPlaneMap | fPlaneToROPPlaneMap |
PlaneToWireOffsetMap | fPlaneToWireOffsetMap |
ROPToNumWiresMap | fROPToNumWiresMap |
unsigned int | fNumROPs |
ChannelToBoardWirePlaneMap | fChannelToBoardWirePlaneMap |
std::vector< std::unique_ptr < INoiseFilter > > | fDecoderToolVec |
Decoder tools. More... | |
geo::GeometryCore const * | fGeometry |
pointer to Geometry service More... | |
const icarusDB::IICARUSChannelMap * | fChannelMap |
Definition at line 56 of file MCDecoderICARUSTPCwROI_module.cc.
|
private |
Definition at line 189 of file MCDecoderICARUSTPCwROI_module.cc.
using daq::MCDecoderICARUSTPCwROI::ChannelArrayPair = std::pair<daq::INoiseFilter::ChannelPlaneVec,icarus_signal_processing::ArrayFloat> |
Definition at line 90 of file MCDecoderICARUSTPCwROI_module.cc.
using daq::MCDecoderICARUSTPCwROI::ChannelArrayPairVec = std::vector<ChannelArrayPair> |
Definition at line 91 of file MCDecoderICARUSTPCwROI_module.cc.
|
private |
Definition at line 190 of file MCDecoderICARUSTPCwROI_module.cc.
using daq::MCDecoderICARUSTPCwROI::ChannelVec = std::vector<raw::ChannelID_t> |
Definition at line 86 of file MCDecoderICARUSTPCwROI_module.cc.
using daq::MCDecoderICARUSTPCwROI::ConcurrentRawDigitCol = tbb::concurrent_vector<raw::RawDigit> |
Definition at line 75 of file MCDecoderICARUSTPCwROI_module.cc.
using daq::MCDecoderICARUSTPCwROI::ConcurrentWireCol = tbb::concurrent_vector<recob::Wire> |
Definition at line 76 of file MCDecoderICARUSTPCwROI_module.cc.
using daq::MCDecoderICARUSTPCwROI::PlaneIdxToChannelMap = std::map<unsigned int,ChannelVec> |
Definition at line 88 of file MCDecoderICARUSTPCwROI_module.cc.
using daq::MCDecoderICARUSTPCwROI::PlaneIdxToChannelPair = std::pair<unsigned int,ChannelVec> |
Definition at line 87 of file MCDecoderICARUSTPCwROI_module.cc.
using daq::MCDecoderICARUSTPCwROI::PlaneIdxToImageMap = std::map<unsigned int,icarus_signal_processing::ArrayFloat> |
Definition at line 85 of file MCDecoderICARUSTPCwROI_module.cc.
using daq::MCDecoderICARUSTPCwROI::PlaneIdxToImagePair = std::pair<unsigned int,icarus_signal_processing::ArrayFloat> |
Definition at line 84 of file MCDecoderICARUSTPCwROI_module.cc.
|
private |
Definition at line 179 of file MCDecoderICARUSTPCwROI_module.cc.
|
private |
Definition at line 180 of file MCDecoderICARUSTPCwROI_module.cc.
using daq::MCDecoderICARUSTPCwROI::RawDigitCollection = std::vector<raw::RawDigit> |
Definition at line 71 of file MCDecoderICARUSTPCwROI_module.cc.
using daq::MCDecoderICARUSTPCwROI::RawDigitCollectionPtr = std::unique_ptr<RawDigitCollection> |
Definition at line 72 of file MCDecoderICARUSTPCwROI_module.cc.
|
private |
Definition at line 181 of file MCDecoderICARUSTPCwROI_module.cc.
using daq::MCDecoderICARUSTPCwROI::WireCollection = std::vector<recob::Wire> |
Definition at line 73 of file MCDecoderICARUSTPCwROI_module.cc.
using daq::MCDecoderICARUSTPCwROI::WireCollectionPtr = std::unique_ptr<WireCollection> |
Definition at line 74 of file MCDecoderICARUSTPCwROI_module.cc.
|
private |
Definition at line 188 of file MCDecoderICARUSTPCwROI_module.cc.
|
explicit |
Constructor.
Arguments:
pset - Fcl parameters.
Definition at line 211 of file MCDecoderICARUSTPCwROI_module.cc.
|
virtual |
|
virtual |
Begin job method.
Definition at line 345 of file MCDecoderICARUSTPCwROI_module.cc.
|
virtual |
Reconfigure method.
Arguments:
pset - Fcl parameter set.
Definition at line 330 of file MCDecoderICARUSTPCwROI_module.cc.
|
virtual |
End job method.
Definition at line 756 of file MCDecoderICARUSTPCwROI_module.cc.
void daq::MCDecoderICARUSTPCwROI::processSingleImage | ( | const detinfo::DetectorClocksData & | clockData, |
const ChannelArrayPair & | channelArrayPair, | ||
size_t | coherentNoiseGrouping, | ||
ConcurrentRawDigitCol & | concurrentRawDigitCol, | ||
ConcurrentRawDigitCol & | concurrentRawRawDigitCol, | ||
ConcurrentRawDigitCol & | coherentRawDigitCol, | ||
ConcurrentWireCol & | concurrentROIs | ||
) | const |
Definition at line 617 of file MCDecoderICARUSTPCwROI_module.cc.
|
private |
Definition at line 480 of file MCDecoderICARUSTPCwROI_module.cc.
|
virtual |
Produce method.
Arguments:
evt - Art event.
This is the primary method.
Definition at line 359 of file MCDecoderICARUSTPCwROI_module.cc.
|
private |
Definition at line 713 of file MCDecoderICARUSTPCwROI_module.cc.
|
private |
Definition at line 199 of file MCDecoderICARUSTPCwROI_module.cc.
|
private |
Definition at line 192 of file MCDecoderICARUSTPCwROI_module.cc.
|
private |
Definition at line 171 of file MCDecoderICARUSTPCwROI_module.cc.
|
private |
Decoder tools.
Definition at line 195 of file MCDecoderICARUSTPCwROI_module.cc.
|
private |
Set this to get lots of messages.
Definition at line 170 of file MCDecoderICARUSTPCwROI_module.cc.
|
private |
pointer to Geometry service
Definition at line 198 of file MCDecoderICARUSTPCwROI_module.cc.
|
private |
Output category when logging messages.
Definition at line 173 of file MCDecoderICARUSTPCwROI_module.cc.
|
private |
Number of events seen.
Definition at line 176 of file MCDecoderICARUSTPCwROI_module.cc.
|
private |
Definition at line 186 of file MCDecoderICARUSTPCwROI_module.cc.
|
private |
The output instance labels to apply.
Definition at line 165 of file MCDecoderICARUSTPCwROI_module.cc.
|
private |
Path to assign to the output if asked for.
Definition at line 169 of file MCDecoderICARUSTPCwROI_module.cc.
|
private |
Should we output the coherent noise correction vectors?
Definition at line 167 of file MCDecoderICARUSTPCwROI_module.cc.
|
private |
Should we output pedestal corrected (not noise filtered)?
Definition at line 166 of file MCDecoderICARUSTPCwROI_module.cc.
|
private |
Path to assign to the output if asked for.
Definition at line 168 of file MCDecoderICARUSTPCwROI_module.cc.
|
private |
Definition at line 183 of file MCDecoderICARUSTPCwROI_module.cc.
|
private |
Definition at line 184 of file MCDecoderICARUSTPCwROI_module.cc.
|
private |
The input artdaq fragment label vector (for more than one)
Definition at line 164 of file MCDecoderICARUSTPCwROI_module.cc.
|
private |
Definition at line 185 of file MCDecoderICARUSTPCwROI_module.cc.