7#ifndef TRIGSCINT_TESTBEAMCLUSTERPRODUCER_H
8#define TRIGSCINT_TESTBEAMCLUSTERPRODUCER_H
11#include "Framework/Configure/Parameters.h"
16#include "TrigScint/Event/TrigScintCluster.h"
44 std::vector<ldmx::TrigScintCluster> clusters_;
56 int maxChannelID_{11};
65 double timeTolerance_{0.};
68 std::string input_collection_;
71 std::string output_collection_;
74 std::string passName_{
""};
86 std::vector<unsigned int> v_addedIndices_;
89 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.
Class that stores full reconstructed (linearized) readout QIE sample from the TS.
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.
virtual void configure(framework::config::Parameters &ps)
Callback for the EventProcessor to configure itself from the given set of parameters.
virtual void produce(framework::Event &event)
Process the event and put new data products into it.
bool doCleanHits_
boolean indicating whether we want to apply quality criteria from hit reconstruction
virtual void onProcessStart()
Callback for the EventProcessor to take any necessary action when the processing of events starts,...
virtual void addHit(uint idx, trigscint::TestBeamHit hit)
add a hit at index idx to a cluster
virtual void onProcessEnd()
Callback for the EventProcessor to take any necessary action when the processing of events finishes,...
This class represents the linearised QIE output from the trigger scintillator, in charge (fC).