14 #ifndef OVERLAY_DATAOVERLAY_RAWDIGITMIXER_H 15 #define OVERLAY_DATAOVERLAY_RAWDIGITMIXER_H 19 #include <unordered_map> 27 #pragma clang diagnostic push 28 #pragma clang diagnostic ignored "-Wunused-private-field" 50 void DeclareData(std::vector<raw::RawDigit>
const& dataVector);
51 void Mix(std::vector<raw::RawDigit>
const& mcVector,
52 std::unordered_map<raw::ChannelID_t,float>
const& map);
87 #pragma clang diagnostic pop virtual ~RawDigitMixer()
Default destructor.
std::vector< short > waveform
Defintion for a class to add two vectors together, and give an "added" waveform.
void FillRawDigitOutput(std::vector< raw::RawDigit > &output)
Definition of basic raw digits.
RawDigitAdder_35t fRDAdderAlg
void SetMCMixTicks(size_t start, size_t end)
decltype(auto) constexpr end(T &&obj)
ADL-aware version of std::end.
Collect all the RawData header files together.
void SetStuckBitRetentionMethod(bool b)
void Mix(std::vector< raw::RawDigit > const &mcVector, std::unordered_map< raw::ChannelID_t, float > const &map)
std::unordered_map< raw::ChannelID_t, size_t > fChannelIndexMap
RawDigitMixer(bool p=false)
Default constructor.
void DeclareData(std::vector< raw::RawDigit > const &dataVector)
unsigned int ChannelID_t
Type representing the ID of a readout channel.
void SetDataMixTicks(size_t start, size_t end)
std::vector< RD_Info > fOutputWaveforms