7#ifndef TRIGSCINT_TRIGSCINTCLUSTERPRODUCER_H
8#define TRIGSCINT_TRIGSCINTCLUSTERPRODUCER_H
11#include "Framework/Configure/Parameters.h"
15#include "TrigScint/Event/TrigScintCluster.h"
16#include "TrigScint/Event/TrigScintHit.h"
44 std::vector<ldmx::TrigScintCluster> clusters_;
62 double timeTolerance_{0.};
65 std::string input_collection_;
68 std::string output_collection_;
71 std::string passName_{
""};
74 int vertBarStartIdx_{52};
92 std::vector<unsigned int> v_addedIndices_;
95 std::vector<unsigned int> v_usedIndices_;
105 std::map<int, int> hitChannelMap_;
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.
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.