ATLAS Offline Software
LutCam.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TrigConf_LutCam
6 #define TrigConf_LutCam
7 
8 #include <string>
9 #include <inttypes.h>
10 #include <sys/types.h>
11 #include <vector>
13 
14 namespace TrigConf {
15 
16  class LutCam : public L1DataBaseclass {
17 
18  public:
19 
20  static const u_int ALL_LUT_SIZE = 49664; // the source of these numbers is the CtpcoreModule.cc (CtpcoreModule::LUT_ADDR_SIZE)
21  static const u_int ALL_CAM_SIZE = 8192;
22 
23  LutCam();
24  virtual ~LutCam() override = default;
25 
26  // Accessors
27 
28  // return copy of vector
29  const std::vector<uint32_t> & lut() const;
30  void setLut( const u_int l[], const int size);
31 
32  // return copy of vector
33  const std::vector<uint32_t> & cam() const;
34  void setCam( const u_int c[], const int size );
35 
36  virtual void print(const std::string& indent="", unsigned int detail=1) const override;
37 
38  private:
39  std::vector<uint32_t> m_lut;
40  std::vector<uint32_t> m_cam;
41  };
42 }
43 #endif
44 
TrigConf::LutCam::print
virtual void print(const std::string &indent="", unsigned int detail=1) const override
Definition: LutCam.cxx:41
TrigConf::LutCam::lut
const std::vector< uint32_t > & lut() const
Definition: LutCam.cxx:19
TrigConf::LutCam::ALL_LUT_SIZE
static const u_int ALL_LUT_SIZE
Definition: LutCam.h:20
detail
Definition: extract_histogram_tag.cxx:14
UploadAMITag.l
list l
Definition: UploadAMITag.larcaf.py:158
TrigConf::LutCam::setLut
void setLut(const u_int l[], const int size)
Definition: LutCam.cxx:24
TrigConf
Forward iterator to traverse the main components of the trigger configuration.
Definition: Config.h:22
python.setupRTTAlg.size
int size
Definition: setupRTTAlg.py:39
TrigConf::LutCam::m_lut
std::vector< uint32_t > m_lut
Definition: LutCam.h:39
TrigConf::LutCam::ALL_CAM_SIZE
static const u_int ALL_CAM_SIZE
Definition: LutCam.h:21
TrigConf::LutCam::~LutCam
virtual ~LutCam() override=default
TrigConf::LutCam::setCam
void setCam(const u_int c[], const int size)
Definition: LutCam.cxx:35
TrigConf::LutCam::cam
const std::vector< uint32_t > & cam() const
Definition: LutCam.cxx:30
TrigConf::LutCam::LutCam
LutCam()
Definition: LutCam.cxx:12
TrigConf::TrigConfData::indent
std::ostream & indent(std::ostream &o, int lvl, int size) const
Definition: TrigConfData.cxx:23
TrigConf::L1DataBaseclass
Definition: L1DataBaseclass.h:22
L1DataBaseclass.h
TrigConf::LutCam
Definition: LutCam.h:16
python.compressB64.c
def c
Definition: compressB64.py:93
TrigConf::LutCam::m_cam
std::vector< uint32_t > m_cam
Definition: LutCam.h:40