Utilities for the conversion of trigger gate data formats. More...
#include "icaruscode/PMT/Trigger/Utilities/TrackedOpticalTriggerGate.h"
#include "icaruscode/Utilities/DataProductPointerMap.h"
#include "icaruscode/IcarusObj/OpDetWaveformMeta.h"
#include "sbnobj/ICARUS/PMT/Trigger/Data/OpticalTriggerGate.h"
#include "larcorealg/CoreUtils/enumerate.h"
#include "lardataobj/RawData/OpDetWaveform.h"
#include "art/Persistency/Common/PtrMaker.h"
#include "canvas/Persistency/Common/Assns.h"
#include "canvas/Persistency/Common/Ptr.h"
#include "canvas/Utilities/InputTag.h"
#include "cetlib_except/exception.h"
#include <map>
#include <vector>
#include <tuple>
#include <string>
#include <stdexcept>
#include <utility>
#include <type_traits>
Go to the source code of this file.
Classes | |
class | icarus::trigger::TriggerGateReader< OpDetInfo > |
Assembles and returns trigger gates from serialized data. More... | |
class | icarus::trigger::TriggerGateIndex< GateObject > |
Associates each optical detector channel to a gate. More... | |
class | icarus::trigger::TriggerGateReader< OpDetInfo > |
Assembles and returns trigger gates from serialized data. More... | |
Namespaces | |
icarus::trigger | |
Functions | |
template<typename Gates > | |
std::vector < icarus::trigger::OpticalTriggerGateData_t > | icarus::trigger::transformIntoOpticalTriggerGate (Gates &&gates) |
Returns the trigger gates in serializable format. More... | |
template<typename OpDetInfo = sbn::OpDetWaveformMeta> | |
std::tuple< std::vector < icarus::trigger::OpticalTriggerGateData_t > , art::Assns < icarus::trigger::OpticalTriggerGateData_t, OpDetInfo > > | icarus::trigger::transformIntoOpticalTriggerGate (std::vector< icarus::trigger::TrackedOpticalTriggerGate< OpDetInfo >> &&gates, art::PtrMaker< icarus::trigger::OpticalTriggerGateData_t > const &makeGatePtr, util::DataProductPointerMap_t< OpDetInfo > const &opDetInfoPtrs) |
Returns the trigger gates in serializable format. More... | |
template<typename OpDetInfo > | |
std::vector < icarus::trigger::TrackedOpticalTriggerGate < OpDetInfo > > | icarus::trigger::FillTriggerGates (std::vector< icarus::trigger::OpticalTriggerGateData_t > const &gates, art::Assns< icarus::trigger::OpticalTriggerGateData_t, OpDetInfo > const &gateToWaveformInfo) |
Creates a gate object out of trigger gate data products. More... | |
template<typename OpDetInfo = sbn::OpDetWaveformMeta, typename Event > | |
std::vector < icarus::trigger::TrackedOpticalTriggerGate < OpDetInfo > > | icarus::trigger::ReadTriggerGates (Event const &event, art::InputTag const &dataTag) |
Assembles and returns trigger gates from serialized data. More... | |
Utilities for the conversion of trigger gate data formats.
Definition in file TriggerDataUtils.h.