DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
dunedaq::trigger Namespace Reference

Namespaces

namespace  opmon
 

Classes

struct  HSISignal
 Struct holding configuration for one HSI signal bit. More...
 
class  HSISourceModel
 
class  Latency
 
class  LivetimeCounter
 LivetimeCounter counts the total time in milliseconds spent in each of the available states. More...
 
class  Set
 A set of TPs or TAs in a given time window, defined by its start and end times. More...
 
class  TAProcessor
 
struct  TAWrapper
 
class  TCProcessor
 
struct  TCWrapper
 
class  TokenManager
 TokenManager keeps track of the number of in-flight trigger decisions. More...
 
class  TPProcessor
 
class  TPRequestHandler
 
class  TriggerDataHandlingModel
 
class  TriggerGenericMaker
 
class  TriggerGenericWorker
 
class  TriggerGenericWorker< Set< A >, OUT, MAKER >
 
class  TriggerGenericWorker< Set< A >, Set< B >, MAKER >
 
struct  TriggerPrimitiveTypeAdapter
 

Typedefs

using TASet = Set<triggeralgs::TriggerActivity>
 
using TCSet = Set<triggeralgs::TriggerCandidate>
 
using TPSet = Set<trgdataformats::TriggerPrimitive>
 

Functions

std::unique_ptr< triggeralgs::TriggerActivityMakermake_ta_maker (std::string const &plugin_name)
 Load a TriggerActivityMaker plugin and return a unique_ptr to the contained class.
 
std::unique_ptr< triggeralgs::TriggerCandidateMakermake_tc_maker (std::string const &plugin_name)
 Load a TriggerCandidateMaker plugin and return a unique_ptr to the contained class.
 
std::unique_ptr< triggeralgs::TriggerDecisionMakermake_td_maker (std::string const &plugin_name)
 Load a TriggerDecisionMaker plugin and return a unique_ptr to the contained class.
 

Variables

const constexpr std::size_t kTriggerPrimitiveSize = sizeof(trgdataformats::TriggerPrimitive)
 

Typedef Documentation

◆ TASet

◆ TCSet

◆ TPSet

Function Documentation

◆ make_ta_maker()

std::unique_ptr< triggeralgs::TriggerActivityMaker > dunedaq::trigger::make_ta_maker ( std::string const & plugin_name)
inline

Load a TriggerActivityMaker plugin and return a unique_ptr to the contained class.

Parameters
plugin_nameName of the plugin
Returns
unique_ptr to created TriggerActivityMaker instance

Definition at line 32 of file AlgorithmPlugins.hpp.

33{
35 auto ta_maker = ta_factory->build_maker(plugin_name);
36 if (!ta_maker) {
37 throw MissingFactoryItemError(ERS_HERE, plugin_name);
38 }
39 return ta_maker;
40}
#define ERS_HERE
static std::shared_ptr< AbstractFactory< TriggerActivityMaker > > get_instance()

◆ make_tc_maker()

std::unique_ptr< triggeralgs::TriggerCandidateMaker > dunedaq::trigger::make_tc_maker ( std::string const & plugin_name)
inline

Load a TriggerCandidateMaker plugin and return a unique_ptr to the contained class.

Parameters
plugin_nameName of the plugin
Returns
unique_ptr to created TriggerCandidateMaker instance

Definition at line 52 of file AlgorithmPlugins.hpp.

53{
55 auto tc_maker = tc_factory->build_maker(plugin_name);
56 if (!tc_maker) {
57 throw MissingFactoryItemError(ERS_HERE, plugin_name);
58 }
59 return tc_maker;
60}

◆ make_td_maker()

std::unique_ptr< triggeralgs::TriggerDecisionMaker > dunedaq::trigger::make_td_maker ( std::string const & plugin_name)
inline

Load a TriggerDecisionMaker plugin and return a unique_ptr to the contained class.

Parameters
plugin_nameName of the plugin
Returns
unique_ptr to created TriggerDecisionMaker instance

Definition at line 86 of file AlgorithmPlugins.hpp.

87{
88 static cet::BasicPluginFactory bpf("duneTDMaker", "make");
89
90 // TODO Philip Rodrigues <philiprodrigues@github.com> Apr-04-2021: Rethrow any cetlib exception as an ERS issue
91 return bpf.makePlugin<std::unique_ptr<triggeralgs::TriggerDecisionMaker>>(plugin_name);
92}

Variable Documentation

◆ kTriggerPrimitiveSize

const constexpr std::size_t dunedaq::trigger::kTriggerPrimitiveSize = sizeof(trgdataformats::TriggerPrimitive)
constexpr

Definition at line 19 of file TriggerPrimitiveTypeAdapter.hpp.