Class mutrig::Mutrig3Config

ClassList > mutrig > Mutrig3Config

Inherits the following classes: mudaq::ASICConfigBase

Public Types inherited from mudaq::ASICConfigBase

See mudaq::ASICConfigBase

Type Name
typedef std::tuple< std::string, size_t, std::vector< uint8_t > > para_t
mutrig parameter (name, number of bits, bit order)
typedef std::vector< para_t > paras_t
mutrig parameter in correct order (starting at bit offset 0)

Public Attributes inherited from mudaq::ASICConfigBase

See mudaq::ASICConfigBase

Type Name
uint8_t * bitpattern_r
bitpattern to be written
uint8_t * bitpattern_w
readback bitpattern
size_t length
length of bitpattern in full bytes
size_t length_32bits
length of bitpattern in 32bit words
size_t length_bits
length of bitpattern in bits

Public Static Attributes

Type Name
odb MUTRIG_CH_SETTINGS
odb MUTRIG_GLOBAL_SETTINGS = /* multi line expression */
odb MUTRIG_TDC_SETTINGS

Public Functions

Type Name
void MapConfigFromDB (odb & settings_asics, int asic)
Mutrig3Config ()
void Parse_CH_from_struct (odb & o, int tdc, int channel)
void Parse_GLOBAL_from_struct (odb & o)
void Parse_TDC_from_struct (odb & o)
void Parse_TDC_from_struct (odb & o, int tdc)
void setASICParameterODBpp (std::string paraName, odb & o, int num)
void setCHParameterODBpp (std::string paraName, odb & o, int channel, int gchannel)
void setParameterODBpp (std::string paraName, odb & o)
~Mutrig3Config ()

Public Functions inherited from mudaq::ASICConfigBase

See mudaq::ASICConfigBase

Type Name
ASICConfigBase ()
std::string GetVerificationError ()
int VerifyReadbackPattern ()
uint32_t getParameter (std::string name, bool reverse=false)
const paras_offset_t & getParameters () const
std::string getPattern ()
int reset (char o='b')
int setParameter (std::string name, uint32_t value, bool reverse=false)
~ASICConfigBase ()

Public Static Functions inherited from mudaq::ASICConfigBase

See mudaq::ASICConfigBase

Type Name
para_t make_param (std::string name, size_t nbits, bool endianess)
para_t make_param (std::string name, size_t nbits, std::vector< uint8_t > bitorder)
para_t make_param (std::string name, std::string bitorderstring)

Protected Types inherited from mudaq::ASICConfigBase

See mudaq::ASICConfigBase

Type Name
typedef std::tuple< unsigned int, size_t, std::vector< uint8_t > > para_offset_t
mutrig parameter offset/nbits/endianess pair (offset, endianess)
typedef std::map< std::string, para_offset_t > paras_offset_t
mutrig parameters offset/nbits/endianess map

Protected Attributes inherited from mudaq::ASICConfigBase

See mudaq::ASICConfigBase

Type Name
std::string m_verification_error
paras_offset_t paras_offsets
initialized from parameters on construction

Protected Functions inherited from mudaq::ASICConfigBase

See mudaq::ASICConfigBase

Type Name
void addPara (const para_t & para, const std::string postfix)

Public Static Attributes Documentation

variable MUTRIG_CH_SETTINGS

odb mutrig::Mutrig3Config::MUTRIG_CH_SETTINGS;

variable MUTRIG_GLOBAL_SETTINGS

odb mutrig::Mutrig3Config::MUTRIG_GLOBAL_SETTINGS;

variable MUTRIG_TDC_SETTINGS

odb mutrig::Mutrig3Config::MUTRIG_TDC_SETTINGS;

Public Functions Documentation

function MapConfigFromDB

void mutrig::Mutrig3Config::MapConfigFromDB (
    odb & settings_asics,
    int asic
) 

Functions to parse MIDAS structs to MuTRiG patterns


function Mutrig3Config

mutrig::Mutrig3Config::Mutrig3Config () 

function Parse_CH_from_struct

void mutrig::Mutrig3Config::Parse_CH_from_struct (
    odb & o,
    int tdc,
    int channel
) 

function Parse_GLOBAL_from_struct

void mutrig::Mutrig3Config::Parse_GLOBAL_from_struct (
    odb & o
) 

function Parse_TDC_from_struct [1/2]

void mutrig::Mutrig3Config::Parse_TDC_from_struct (
    odb & o
) 

function Parse_TDC_from_struct [2/2]

void mutrig::Mutrig3Config::Parse_TDC_from_struct (
    odb & o,
    int tdc
) 

function setASICParameterODBpp

void mutrig::Mutrig3Config::setASICParameterODBpp (
    std::string paraName,
    odb & o,
    int num
) 

function setCHParameterODBpp

void mutrig::Mutrig3Config::setCHParameterODBpp (
    std::string paraName,
    odb & o,
    int channel,
    int gchannel
) 

function setParameterODBpp

void mutrig::Mutrig3Config::setParameterODBpp (
    std::string paraName,
    odb & o
) 

function ~Mutrig3Config

mutrig::Mutrig3Config::~Mutrig3Config () 


The documentation for this class was generated from the following file midas_fe/libmudaq/Mutrig3Config.h