Orion
high-rate readout
frontend.hpp
Go to the documentation of this file.
1 
5 #pragma once
6 
7 #include <map>
8 
9 #include "itk/logger.hpp"
10 #include "itk/fec/frontend.hpp"
11 #include "itk/star/chip_hcc.hpp"
12 #include "itk/star/chip_abc.hpp"
13 
14 namespace itk::star {
15 
16 using reg_t = uint16_t;
17 using fld_t = uint64_t;
18 
19 class FrontEnd : public itk::FrontEnd<hcc::Chip> {
20 public:
21 
22  struct Factory : itk::Factory<FrontEnd> {
23  virtual FrontEnd* operator()() = 0;
24  virtual FrontEnd* operator()(uint8_t hcc_id, netio_tag_t tx_fid, netio_tag_t rx_fid = -1) = 0;
25  };
26 
27 }; // FrontEnd
28 
29 } // itk::star
ABCstar Front-End Chip Interfaces.
HCCstar Front-End Chip Interfaces.
Templated implementation of Factory class.
Definition: factory.hpp:35
Interface definition for FrontEnd.
Definition: frontend.hpp:19
Definition: frontend.hpp:19
Logger definitions.
Definition: frontend.hpp:22