1#ifndef HCALALIGNPOLARFIRES_H
2#define HCALALIGNPOLARFIRES_H
34 const std::string& input_name,
35 const std::string& input_pass,
36 std::pair<int, int>& spill_counter);
46 std::queue<PolarfireQueueEntry>
pf0_queue, pf1_queue;
53 virtual ~HcalAlignPolarfires() =
default;
Base classes for all user event processing components to extend.
Class that represents a digitized hit in a calorimeter cell readout by an HGCROC.
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.
Class encapsulating parameters for configuring a processor.
Align the two polarfires with drop/keep hints signalling successful merge.
void configure(framework::config::Parameters &ps) override
Callback for the EventProcessor to configure itself from the given set of parameters.
std::vector< std::string > input_names_
input decoded objects (vector index == polarfire index)
static int max_tick_diff_
number of 5MHz ticks difference to consider polarfires aligned
void produce(framework::Event &event) override
Process the event and put new data products into it.
std::pair< int, int > pf0_spill_counter
spill counter
std::queue< PolarfireQueueEntry > pf0_queue
queue of unmatched digis
std::string input_pass_
pass name for decoded objects
std::string output_name_
output object name
Represents a collection of the digi hits readout by an HGCROC.
All classes in the ldmx-sw project use this namespace.
int ticks
ticks since spill