7#ifndef TRIGSCINT_TRIGSCINTCLUSTERPRODUCER_H
8#define TRIGSCINT_TRIGSCINTCLUSTERPRODUCER_H
13#include "Framework/Configure/Parameters.h"
17#include "TrigScint/Event/TrigScintCluster.h"
18#include "TrigScint/Event/TrigScintHit.h"
46 std::vector<ldmx::TrigScintCluster> clusters_;
64 double time_tolerance_{0.};
67 std::string input_collection_;
70 std::string output_collection_;
73 std::string pass_name_{
""};
76 int vert_bar_start_idx_{52};
82 float centroid_x_{-1};
85 float centroid_y_{-1};
94 std::vector<unsigned int> v_added_indices_;
97 std::vector<unsigned int> v_used_indices_;
107 std::map<int, int> hit_channel_map_;
Class providing string constants for the event model.
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.
void onProcessStart() override
Callback for the EventProcessor to take any necessary action when the processing of events starts,...
void produce(framework::Event &event) override
Process the event and put new data products into it.
void onProcessEnd() override
Callback for the EventProcessor to take any necessary action when the processing of events finishes,...
virtual void addHit(uint idx, ldmx::TrigScintHit hit)
add a hit at index idx to a cluster
void configure(framework::config::Parameters &ps) override
Callback for the EventProcessor to configure itself from the given set of parameters.