opdet::OpticalRawDigitReformatter::OpticalRawDigitReformatter |
( |
const fhicl::ParameterSet & |
pset | ) |
|
|
explicit |
void opdet::OpticalRawDigitReformatter::produce |
( |
art::Event & |
evt | ) |
|
Definition at line 78 of file OpticalRawDigitReformatter_module.cc.
82 std::vector<std::unique_ptr<std::vector<raw::OpDetWaveform>>> RawOpDetVecs;
84 std::unique_ptr<std::vector<raw::OpDetWaveform>> tmp(
new std::vector<raw::OpDetWaveform>);
85 RawOpDetVecs.push_back(std::move(tmp));
88 std::vector<const sim::BeamGateInfo*> beamGateArray;
92 catch (art::Exception
const&
err) {
93 if (err.categoryCode() != art::errors::ProductNotFound)
throw;
97 art::Handle<std::vector<optdata::OpticalRawDigit>> ordHandle;
99 std::vector<optdata::OpticalRawDigit>
const& ord_vec(*ordHandle);
101 auto const clock_data =
102 art::ServiceHandle<detinfo::DetectorClocksService const>()->DataFor(
evt);
104 for (
auto ord : ord_vec) {
112 double timeStamp = clock_data.OpticalClock().Time(timeSlice, frame);
EResult err(const char *call)
enum optdata::_optical_category_t Optical_Category_t
std::size_t size(FixedBins< T, C > const &) noexcept
std::vector<std::string> opdet::OpticalRawDigitReformatter::CategoryLabels |
|
private |
std::string opdet::OpticalRawDigitReformatter::fGenModule |
|
private |
std::string opdet::OpticalRawDigitReformatter::fInputModule |
|
private |
The documentation for this class was generated from the following file: