LDMX Software
SequentialTrigger.h
Go to the documentation of this file.
1
10#ifndef RECON_TRIGGER_SEQUENTIALTRIGGER_H_
11#define RECON_TRIGGER_SEQUENTIALTRIGGER_H_
12
13// LDMX
14#include "Event/TriggerResult.h"
15#include "Framework/Configure/Parameters.h"
17
18namespace recon {
19
35 public:
39 SequentialTrigger(const std::string& name, framework::Process& process)
40 : framework::Producer(name, process) {}
41
45 virtual ~SequentialTrigger() = default;
46
52 void configure(framework::config::Parameters& parameters) override;
53
60 void produce(framework::Event& event) override;
61
62 private:
64 std::vector<std::string> trigger_list_;
65
67 std::vector<std::string> trigger_passNames_;
68
70 bool doOR_;
71 bool doAND_;
72
77 bool doVAL_;
78};
79
80} // namespace recon
81
82#endif
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.
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.
Producer(const std::string &name, Process &process)
Class constructor.
Class encapsulating parameters for configuring a processor.
Definition Parameters.h:27
Class that provides a trigger skimming decision from multiple Triggers based on either AND or OR.
bool doVAL_
enables a output collection with the keep tag for the purposes of validation
void configure(framework::config::Parameters &parameters) override
Configure the processor using the given user specified parameters.
virtual ~SequentialTrigger()=default
Class destructor.
std::vector< std::string > trigger_list_
The name of the input collection of triggers.
SequentialTrigger(const std::string &name, framework::Process &process)
Class constructor.
std::vector< std::string > trigger_passNames_
pass name of the triggers
bool doOR_
options to enable OR or AND skimming
void produce(framework::Event &event) override
Run the doOR or doAND check and create a SequentialTrigger object to contain the pass boolean value.
All classes in the ldmx-sw project use this namespace.
Definition PerfDict.cxx:45