9#ifndef RECON_TRIGGER_TRIGGERPROCESSOR_H_
10#define RECON_TRIGGER_TRIGGERPROCESSOR_H_
13#include "Ecal/Event/EcalHit.h"
15#include "Framework/Configure/Parameters.h"
Base classes for all user event processing components to extend.
Class that represents the trigger decision (pass/fail) for reconstruction.
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.
Provides a trigger decision for recon using a TriggerResult object.
std::vector< double > layer_e_sum_cuts_
The energy sum to make cut on.
std::string input_coll_
The name of the input collection (the Ecal hits_).
TString algo_name_
The name of the trigger algorithm used.
int start_layer_
The first layer of layer sum.
double beam_energy_
The Beam energy [MeV].
void configure(framework::config::Parameters ¶meters) override
Configure the processor using the given user specified parameters.
virtual ~TriggerProcessor()
Class destructor.
TriggerProcessor(const std::string &name, framework::Process &process)
Class constructor.
int mode_
The trigger mode to run in.
int end_layer_
The endpoint layer of layer sum.
std::string output_coll_
The name of the output collection (the trigger decision).
void produce(framework::Event &event) override
Run the trigger algorithm and create a TriggerResult object to contain info about the trigger decisio...
std::string input_pass_
The pass name of the input (the Ecal hits_).
All classes in the ldmx-sw project use this namespace.