1#ifndef PFLIB_TRIG_H_INCLUDED
2#define PFLIB_TRIG_H_INCLUDED 1
46 int get_l1a_per_ror()
const;
58 virtual void setup_daq(
int pipeline,
int econ_id,
int samples_per_l1a,
62 virtual void get_daq_setup(
int& pipeline,
int& econ_id,
int& samples_per_l1a,
103 virtual bool get_enable_single_shot() = 0;
104 virtual int get_self_trigger_count() = 0;
105 virtual void enable_single_shot(
bool enable =
true) = 0;
106 virtual bool single_shot_fired() = 0;
107 virtual void reset_single_shot() = 0;
Trigger path management interface.
Definition TRIG.h:18
std::vector< uint32_t > read_event()
Read l1a_per_ror() number of samples and concatenate them into the same buffer.
Definition TRIG.cxx:11
virtual void setup_alignment_capture(int delay)=0
Set up the alignment capture function.
virtual void setup_daq(int pipeline, int econ_id, int samples_per_l1a, int presamples)=0
Setup the data collection of raw trigger data path.
virtual std::vector< uint32_t > get_algo_setup()=0
get the trigger algorithm configuration
virtual void reset()
Reset the internals.
Definition TRIG.h:21
virtual int n_elinks() const =0
How many elinks are there?
virtual bool is_algo_output_available()=0
Is there trigger algorithm output data?
virtual int get_alignment_capture()=0
Get the alignment capture function.
virtual void setup_algo(const std::vector< uint32_t > ¶meters)=0
configure the trigger algorithm
virtual void set_bx_delay(int ilink, int delay)=0
Set the BX delay for the given elink.
void set_l1a_per_ror(int l1a_per_ror)
Definition TRIG.cxx:7
virtual std::vector< uint32_t > read_algo_output_sample()=0
read the next sample of the output of the trigger algorithm
virtual std::vector< uint32_t > read_sample()=0
Read the next sample of raw trigger path data.
virtual bool is_sample_available()=0
Is there a sample available?
virtual int get_bx_delay(int ilink)=0
Get the BX delay for the given elink.
std::vector< uint32_t > read_algo_output()
read l1a_per_ror() number of samples of the algo output and concatenate them into the same buffer
Definition TRIG.cxx:25
virtual void get_daq_setup(int &pipeline, int &econ_id, int &samples_per_l1a, int &presamples)=0
get the data collection setup
virtual std::vector< uint32_t > read_capture_buffer(int ilink)=0
Read the capture block for the given elink.
This version of the fast control code interfaces with the CMS Fast control library which can be contr...
Definition Backend.cxx:3