Project
Loading...
Searching...
No Matches
o2::emcal::TriggerTRUDCS Class Reference

CCDB container for TRU DCS data in EMCAL. More...

#include <TriggerTRUDCS.h>

Public Member Functions

 TriggerTRUDCS ()=default
 default constructor
 
 TriggerTRUDCS (const TriggerTRUDCS &tru)=default
 copy constructor
 
TriggerTRUDCSoperator= (const TriggerTRUDCS &source)=default
 Assignment operator.
 
 TriggerTRUDCS (uint64_t selpf, uint64_t l0sel, uint64_t l0cosm, uint64_t gthrl0, uint64_t rlbkstu, uint64_t fw, std::array< uint32_t, 6 > maskReg)
 nomral constructor
 
 ~TriggerTRUDCS ()=default
 Destructor.
 
bool operator== (const TriggerTRUDCS &other) const
 Comparison of two TRU data.
 
std::string toJSON () const
 Serialize object to JSON format.
 
void setSELPF (uint64_t pf)
 
void setL0SEL (uint64_t la)
 
void setL0COSM (uint64_t lc)
 
void setGTHRL0 (uint64_t lg)
 
void setMaskReg (uint32_t msk, int pos)
 
void setRLBKSTU (uint64_t rb)
 
void setFw (uint64_t fw)
 
uint64_t getSELPF () const
 
uint64_t getL0SEL () const
 
uint64_t getL0COSM () const
 
uint64_t getGTHRL0 () const
 
uint32_t getMaskReg (int pos) const
 
uint64_t getRLBKSTU () const
 
uint64_t getFw () const
 
void PrintStream (std::ostream &stream) const
 Print TRUs on a given stream.
 

Detailed Description

CCDB container for TRU DCS data in EMCAL.

Author
Hadi Hassan hadi..nosp@m.hass.nosp@m.an@ce.nosp@m.rn.c.nosp@m.h, Oak Ridge National Laboratory
Since
December 4th, 2019

based on AliEMCALTriggerTRUDCSConfig class authored by R. GUERNANE

Definition at line 32 of file TriggerTRUDCS.h.

Constructor & Destructor Documentation

◆ TriggerTRUDCS() [1/3]

o2::emcal::TriggerTRUDCS::TriggerTRUDCS ( )
default

default constructor

◆ TriggerTRUDCS() [2/3]

o2::emcal::TriggerTRUDCS::TriggerTRUDCS ( const TriggerTRUDCS tru)
default

copy constructor

◆ TriggerTRUDCS() [3/3]

TriggerTRUDCS::TriggerTRUDCS ( uint64_t  selpf,
uint64_t  l0sel,
uint64_t  l0cosm,
uint64_t  gthrl0,
uint64_t  rlbkstu,
uint64_t  fw,
std::array< uint32_t, 6 >  maskReg 
)
explicit

nomral constructor

Definition at line 23 of file TriggerTRUDCS.cxx.

◆ ~TriggerTRUDCS()

o2::emcal::TriggerTRUDCS::~TriggerTRUDCS ( )
default

Destructor.

Member Function Documentation

◆ getFw()

uint64_t o2::emcal::TriggerTRUDCS::getFw ( ) const
inline

Definition at line 81 of file TriggerTRUDCS.h.

◆ getGTHRL0()

uint64_t o2::emcal::TriggerTRUDCS::getGTHRL0 ( ) const
inline

Definition at line 78 of file TriggerTRUDCS.h.

◆ getL0COSM()

uint64_t o2::emcal::TriggerTRUDCS::getL0COSM ( ) const
inline

Definition at line 77 of file TriggerTRUDCS.h.

◆ getL0SEL()

uint64_t o2::emcal::TriggerTRUDCS::getL0SEL ( ) const
inline

Definition at line 76 of file TriggerTRUDCS.h.

◆ getMaskReg()

uint32_t o2::emcal::TriggerTRUDCS::getMaskReg ( int  pos) const
inline

Definition at line 79 of file TriggerTRUDCS.h.

◆ getRLBKSTU()

uint64_t o2::emcal::TriggerTRUDCS::getRLBKSTU ( ) const
inline

Definition at line 80 of file TriggerTRUDCS.h.

◆ getSELPF()

uint64_t o2::emcal::TriggerTRUDCS::getSELPF ( ) const
inline

Definition at line 75 of file TriggerTRUDCS.h.

◆ operator=()

TriggerTRUDCS & o2::emcal::TriggerTRUDCS::operator= ( const TriggerTRUDCS source)
default

Assignment operator.

◆ operator==()

bool TriggerTRUDCS::operator== ( const TriggerTRUDCS other) const

Comparison of two TRU data.

Returns
true if the TRU data are identical, false otherwise

Testing two TRUs for equalness. TRUs are considered identical if the contents are identical.

Definition at line 35 of file TriggerTRUDCS.cxx.

◆ PrintStream()

void TriggerTRUDCS::PrintStream ( std::ostream &  stream) const

Print TRUs on a given stream.

Parameters
streamStream on which the TRU is printed on

Printing all the parameters of the TRU on the stream.

The function is called in the operator<< providing direct access to protected members. Explicit calls by the users is normally not necessary.

Definition at line 40 of file TriggerTRUDCS.cxx.

◆ setFw()

void o2::emcal::TriggerTRUDCS::setFw ( uint64_t  fw)
inline

Definition at line 73 of file TriggerTRUDCS.h.

◆ setGTHRL0()

void o2::emcal::TriggerTRUDCS::setGTHRL0 ( uint64_t  lg)
inline

Definition at line 70 of file TriggerTRUDCS.h.

◆ setL0COSM()

void o2::emcal::TriggerTRUDCS::setL0COSM ( uint64_t  lc)
inline

Definition at line 69 of file TriggerTRUDCS.h.

◆ setL0SEL()

void o2::emcal::TriggerTRUDCS::setL0SEL ( uint64_t  la)
inline

Definition at line 68 of file TriggerTRUDCS.h.

◆ setMaskReg()

void o2::emcal::TriggerTRUDCS::setMaskReg ( uint32_t  msk,
int  pos 
)
inline

Definition at line 71 of file TriggerTRUDCS.h.

◆ setRLBKSTU()

void o2::emcal::TriggerTRUDCS::setRLBKSTU ( uint64_t  rb)
inline

Definition at line 72 of file TriggerTRUDCS.h.

◆ setSELPF()

void o2::emcal::TriggerTRUDCS::setSELPF ( uint64_t  pf)
inline

Definition at line 67 of file TriggerTRUDCS.h.

◆ toJSON()

std::string TriggerTRUDCS::toJSON ( ) const

Serialize object to JSON format.

Returns
JSON-serialized TRU DCS config object

Definition at line 57 of file TriggerTRUDCS.cxx.


The documentation for this class was generated from the following files: