LDMX Software
TrigHcalEnergySum.h
Go to the documentation of this file.
1
7#ifndef TRIGGERHCALENERGYSUM_H
8#define TRIGGERHCALENERGYSUM_H
9
10// LDMX Framework
11// #include "Hcal/HcalTriggerGeometry.h"
12#include "Framework/Configure/Parameters.h" // Needed to import parameters from configuration file
13#include "Framework/Event.h"
14#include "Framework/EventProcessor.h" //Needed to declare processor
15#include "ap_fixed.h"
16#include "ap_int.h"
17
18namespace trigger {
19
25 public:
26 TrigHcalEnergySum(const std::string& name, framework::Process& process)
27 : framework::Producer(name, process) {}
28
30
31 virtual void produce(framework::Event& event);
32
33 typedef ap_ufixed<16, 14> e_t; // [MeV] (Up to at least 8 GeV)
34
35 private:
36 // name of collection for trigger quads to be passed as input
37 std::string inProc_;
38 std::string quadCollName_;
39 std::string combinedQuadCollName_;
40};
41} // namespace trigger
42
43#endif /* TRIGGERECALENERGYSUM_H */
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.
Definition Event.h:41
Class which represents the process under execution.
Definition Process.h:36
Base class for a module which produces a data product.
Class encapsulating parameters for configuring a processor.
Definition Parameters.h:27
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.