LDMX Software
Trigger.h
1#ifndef DQM_TRIGGER_H
2#define DQM_TRIGGER_H
3
4// LDMX Framework
5#include "Framework/Configure/Parameters.h" // Needed to import parameters from configuration file
6#include "Framework/EventProcessor.h" //Needed to declare processor
7
8namespace dqm {
9
15 public:
21 Trigger(const std::string& name, framework::Process& process)
22 : framework::Analyzer(name, process) {}
23
28
32 virtual void onProcessStart();
33
37 virtual void analyze(const framework::Event& event);
38
39 private:
41 std::string trigger_collName_;
42
44 std::string trigger_passName_;
45};
46} // namespace dqm
47
48#endif /* DQM_TRIGGER_H */
Base classes for all user event processing components to extend.
Generate histograms to check digi pipeline performance.
Definition Trigger.h:14
virtual void configure(framework::config::Parameters &ps)
Input python configuration parameters.
Definition Trigger.cxx:8
Trigger(const std::string &name, framework::Process &process)
Constructor.
Definition Trigger.h:21
virtual void onProcessStart()
Method executed before processing of events begins.
Definition Trigger.cxx:15
virtual void analyze(const framework::Event &event)
Fills histograms.
Definition Trigger.cxx:44
std::string trigger_passName_
Trigger collection pass name.
Definition Trigger.h:44
std::string trigger_collName_
Trigger collection name.
Definition Trigger.h:41
Base class for a module which does not produce a data product.
Analyzer(const std::string &name, Process &process)
Class constructor.
Implements an event buffer system for storing event data.
Definition Event.h:41
Class which represents the process under execution.
Definition Process.h:36
Class encapsulating parameters for configuring a processor.
Definition Parameters.h:27
All classes in the ldmx-sw project use this namespace.
Definition PerfDict.cxx:45