1#ifndef PFLIB_TRIG_H_INCLUDED
2#define PFLIB_TRIG_H_INCLUDED 1
33 uint8_t elinks_to_ignore,
34 bool bypass_pattern) = 0;
38 uint8_t& elinks_to_ignore,
39 bool& bypass_pattern) = 0;
49 int get_l1a_per_ror()
const;
63 virtual void setup_daq(
int pipeline,
int econ_id,
int samples_per_l1a,
67 virtual void get_daq_setup(
int& pipeline,
int& econ_id,
int& samples_per_l1a,
108 virtual bool get_enable_single_shot() = 0;
109 virtual int get_self_trigger_count() = 0;
110 virtual void enable_single_shot(
bool enable =
true) = 0;
111 virtual bool single_shot_fired() = 0;
112 virtual void reset_single_shot() = 0;
Trigger path management interface.
Definition TRIG.h:20
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(int delay, uint16_t pattern, uint8_t elinks_to_ignore, bool bypass_pattern)=0
Set up the alignment.
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:23
virtual int n_elinks() const =0
How many elinks are there?
virtual void get_alignment_setup(int &delay, uint16_t &pattern, uint8_t &elinks_to_ignore, bool &bypass_pattern)=0
Get the alignment setup.
virtual bool is_algo_output_available()=0
Is there trigger algorithm output data?
virtual void setup_algo(const std::vector< uint32_t > ¶meters)=0
configure the trigger algorithm
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 void reset_alignment()=0
reset the aligner block
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