1#ifndef TRIGSCINT_ZCCMDECODER_H
2#define TRIGSCINT_ZCCMDECODER_H
9#include "Framework/Configure/Parameters.h"
12#include "TrigScint/Event/TrigScintQIEDigis.h"
13#include "TrigScint/Event/ZCCMOutput.h"
41 std::ifstream channel_map_file_;
42 std::map<int, int> channel_map_;
45 std::ifstream module_map_file_;
46 std::map<int, int> module_map_;
49 std::string input_collection_;
50 std::string output_collection_;
51 std::string input_pass_name_;
54 int number_of_lanes_{14};
59 int n_channels_{number_of_lanes_ * ZCCMOutput::NUM_CHAN_PER_LANE};
63 bool is_real_data_{
true};
65 int modules_used_[4] = {0};
Base classes for all user event processing components to extend.
Class implementing an event buffer system for storing event data.
Implements an event buffer system for storing event data.
Class which represents the process under execution.
Base class for a module which produces a data product.
Producer(const std::string &name, Process &process)
Class constructor.
virtual void process(Event &event) final
Processing an event for a Producer is calling produce.
Class encapsulating parameters for configuring a processor.
std::string channel_map_file_name_
the channel mapping
void produce(framework::Event &event) override
Process the event and put new data products into it.
void configure(framework::config::Parameters &ps) override
Configure our converter based off the configuration parameters decoded from the passed python script.
void onProcessEnd() override
Callback for the EventProcessor to take any necessary action when the processing of events finishes,...
virtual ~ZCCMDecoder()=default
Default destructor, closes up boost archive and input stream.
void onProcessStart() override
Callback for the EventProcessor to take any necessary action when the processing of events starts,...
std::string module_map_file_name_
the module mapping