LDMX Software
RawTrackerDecoder.h
1#pragma once
2
3#include <string>
4
5#include "Framework/Configure/Parameters.h"
6#include "Framework/Event.h"
8
9namespace tracking::reco {
10
16 public:
17 RawTrackerDecoder(const std::string& name, framework::Process& process)
18 : Producer(name, process) {}
19
20 virtual ~RawTrackerDecoder() = default;
21
23
24 void produce(framework::Event& event) override;
25
26 private:
28 std::string input_collection_{"TrackerRawData"};
30 std::string input_pass_name_{""};
32 std::string output_collection_{"RawSiStripHits"};
34 int n_samples_{3};
35};
36
37} // namespace tracking::reco
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.
Definition Event.h:42
Class which represents the process under execution.
Definition Process.h:37
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.
Definition Parameters.h:29
Decodes raw Rogue frame data from SingleSubsystemUnpacker into a collection of RawSiStripHit objects ...
void configure(framework::config::Parameters &ps) override
Callback for the EventProcessor to configure itself from the given set of parameters.
int n_samples_
ADC samples per hit (always 3 for APV25).
std::string input_collection_
Raw byte buffer collection name from SingleSubsystemUnpacker.
void produce(framework::Event &event) override
Process the event and put new data products into it.
std::string output_collection_
Name for the output RawSiStripHit collection.
std::string input_pass_name_
Pass name of the upstream producer.