pflib v3.13.3-1-gf856638
Pretty Fine HGCROC Interaction Library
Loading...
Searching...
No Matches
trig.cxx File Reference

TRIG menu commands. More...

#include "pflib/TRIG.h"
#include "algo.h"
#include "align.h"
#include "decode_multi_sample.h"
#include "histo.h"
#include "pflib/packing/DecompressAEBM.h"
#include "pflib/packing/SingleECONTCaptureFrame.h"
#include "pflib/zcu/zcu_trig.h"
#include "self_trig.h"
#include "timein.h"
#include "watch_run.h"
#include <optional>
#include "../pftool.h"
Include dependency graph for trig.cxx:

Functions

 ENABLE_LOGGING ()
 
void trig_render (Target *tgt)
 
void trig (const std::string &cmd, Target *target)
 Interaction with trigger alignment, capture, and algo.
 
void ztrig (const std::string &cmd, Target *tgt)
 ZCU trigger-specific stuff.
 
void setup (Target *tgt)
 TRIG.SETUP.
 

Detailed Description

TRIG menu commands.

Function Documentation

◆ setup()

void setup ( Target * tgt)

TRIG.SETUP.

apply the various time offset parameters that were deduced in TIMEIN and SELF_TRIG

◆ trig()

void trig ( const std::string & cmd,
Target * target )

Interaction with trigger alignment, capture, and algo.

Commands

  • RESET : call reset on the TRIG block (TRIG::reset)
  • ELINK_SPY : spy on six TRIG elinks (Elinks::spy)
  • EVENT_SPY : readout the last captured event (TRIG::read_event)
  • PIPELINE : change depth of capture buffer for readout
  • SAMPLES_PER_L1A : number of samples to readout per l1a
  • PRESAMPLES : number of "pre-samples" to include in readout