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

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

#include <TriggerSTUDCS.h>

Public Member Functions

 TriggerSTUDCS ()=default
 default constructor
 
 TriggerSTUDCS (const TriggerSTUDCS &stu)=default
 copy constructor
 
TriggerSTUDCSoperator= (const TriggerSTUDCS &source)=default
 Assignment operator.
 
 TriggerSTUDCS (std::array< int, 3 > Gammahigh, std::array< int, 3 > Jethigh, std::array< int, 3 > Gammalow, std::array< int, 3 > Jetlow, int rawData, int region, int fw, int patchSize, int median, std::array< int, 4 > phosScale)
 nomral constructor
 
 ~TriggerSTUDCS ()=default
 Destructor.
 
bool operator== (const TriggerSTUDCS &other) const
 Comparison of two STU data.
 
std::string toJSON () const
 Serialize object to JSON format.
 
void setGammaHigh (int vzpar, int val)
 
void setJetHigh (int vzpar, int val)
 
void setGammaLow (int vzpar, int val)
 
void setJetLow (int vzpar, int val)
 
void setRawData (int rd)
 
void setRegion (int rg)
 
void setFw (int fv)
 
void setPHOSScale (int iscale, int val)
 
void setPatchSize (int size)
 
void setMedianMode (int mode)
 
int getGammaHigh (int vzpar) const
 
int getJetHigh (int vzpar) const
 
int getGammaLow (int vzpar) const
 
int getJetLow (int vzpar) const
 
int getRawData () const
 
int getRegion () const
 
int getFw () const
 
int getPHOSScale (int iscale) const
 
int getPatchSize () const
 
int getMedianMode () const
 
void PrintStream (std::ostream &stream) const
 Print STUs on a given stream.
 

Detailed Description

CCDB container for STU 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 AliEMCALTriggerSTUDCSConfig class authored by R. GUERNANE

Definition at line 32 of file TriggerSTUDCS.h.

Constructor & Destructor Documentation

◆ TriggerSTUDCS() [1/3]

o2::emcal::TriggerSTUDCS::TriggerSTUDCS ( )
default

default constructor

◆ TriggerSTUDCS() [2/3]

o2::emcal::TriggerSTUDCS::TriggerSTUDCS ( const TriggerSTUDCS stu)
default

copy constructor

◆ TriggerSTUDCS() [3/3]

TriggerSTUDCS::TriggerSTUDCS ( std::array< int, 3 >  Gammahigh,
std::array< int, 3 >  Jethigh,
std::array< int, 3 >  Gammalow,
std::array< int, 3 >  Jetlow,
int  rawData,
int  region,
int  fw,
int  patchSize,
int  median,
std::array< int, 4 >  phosScale 
)
explicit

nomral constructor

Definition at line 23 of file TriggerSTUDCS.cxx.

◆ ~TriggerSTUDCS()

o2::emcal::TriggerSTUDCS::~TriggerSTUDCS ( )
default

Destructor.

Member Function Documentation

◆ getFw()

int o2::emcal::TriggerSTUDCS::getFw ( ) const
inline

Definition at line 87 of file TriggerSTUDCS.h.

◆ getGammaHigh()

int o2::emcal::TriggerSTUDCS::getGammaHigh ( int  vzpar) const
inline

Definition at line 81 of file TriggerSTUDCS.h.

◆ getGammaLow()

int o2::emcal::TriggerSTUDCS::getGammaLow ( int  vzpar) const
inline

Definition at line 83 of file TriggerSTUDCS.h.

◆ getJetHigh()

int o2::emcal::TriggerSTUDCS::getJetHigh ( int  vzpar) const
inline

Definition at line 82 of file TriggerSTUDCS.h.

◆ getJetLow()

int o2::emcal::TriggerSTUDCS::getJetLow ( int  vzpar) const
inline

Definition at line 84 of file TriggerSTUDCS.h.

◆ getMedianMode()

int o2::emcal::TriggerSTUDCS::getMedianMode ( ) const
inline

Definition at line 90 of file TriggerSTUDCS.h.

◆ getPatchSize()

int o2::emcal::TriggerSTUDCS::getPatchSize ( ) const
inline

Definition at line 89 of file TriggerSTUDCS.h.

◆ getPHOSScale()

int o2::emcal::TriggerSTUDCS::getPHOSScale ( int  iscale) const
inline

Definition at line 88 of file TriggerSTUDCS.h.

◆ getRawData()

int o2::emcal::TriggerSTUDCS::getRawData ( ) const
inline

Definition at line 85 of file TriggerSTUDCS.h.

◆ getRegion()

int o2::emcal::TriggerSTUDCS::getRegion ( ) const
inline

Definition at line 86 of file TriggerSTUDCS.h.

◆ operator=()

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

Assignment operator.

◆ operator==()

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

Comparison of two STU data.

Returns
true if the STU data are identical, false otherwise

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

Definition at line 39 of file TriggerSTUDCS.cxx.

◆ PrintStream()

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

Print STUs on a given stream.

Parameters
streamStream on which the STU is printed on

Printing all the parameters of the STU 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 47 of file TriggerSTUDCS.cxx.

◆ setFw()

void o2::emcal::TriggerSTUDCS::setFw ( int  fv)
inline

Definition at line 76 of file TriggerSTUDCS.h.

◆ setGammaHigh()

void o2::emcal::TriggerSTUDCS::setGammaHigh ( int  vzpar,
int  val 
)
inline

Definition at line 70 of file TriggerSTUDCS.h.

◆ setGammaLow()

void o2::emcal::TriggerSTUDCS::setGammaLow ( int  vzpar,
int  val 
)
inline

Definition at line 72 of file TriggerSTUDCS.h.

◆ setJetHigh()

void o2::emcal::TriggerSTUDCS::setJetHigh ( int  vzpar,
int  val 
)
inline

Definition at line 71 of file TriggerSTUDCS.h.

◆ setJetLow()

void o2::emcal::TriggerSTUDCS::setJetLow ( int  vzpar,
int  val 
)
inline

Definition at line 73 of file TriggerSTUDCS.h.

◆ setMedianMode()

void o2::emcal::TriggerSTUDCS::setMedianMode ( int  mode)
inline

Definition at line 79 of file TriggerSTUDCS.h.

◆ setPatchSize()

void o2::emcal::TriggerSTUDCS::setPatchSize ( int  size)
inline

Definition at line 78 of file TriggerSTUDCS.h.

◆ setPHOSScale()

void o2::emcal::TriggerSTUDCS::setPHOSScale ( int  iscale,
int  val 
)
inline

Definition at line 77 of file TriggerSTUDCS.h.

◆ setRawData()

void o2::emcal::TriggerSTUDCS::setRawData ( int  rd)
inline

Definition at line 74 of file TriggerSTUDCS.h.

◆ setRegion()

void o2::emcal::TriggerSTUDCS::setRegion ( int  rg)
inline

Definition at line 75 of file TriggerSTUDCS.h.

◆ toJSON()

std::string TriggerSTUDCS::toJSON ( ) const

Serialize object to JSON format.

Returns
JSON-serialized STU DCS config object

Definition at line 66 of file TriggerSTUDCS.cxx.


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