![]() |
AliRoot Core
3dc7879 (3dc7879)
|
EMCal trigger STU DCS Config. More...
#include <AliEMCALTriggerSTUDCSConfig.h>
Classes | |
class | AliEMCALTriggerSTUTRUErrorCount |
EMCal trigger STU error count handling. More... | |
Public Member Functions | |
AliEMCALTriggerSTUDCSConfig () | |
Default constructor. More... | |
virtual | ~AliEMCALTriggerSTUDCSConfig () |
Destructor. More... | |
bool | operator== (const AliEMCALTriggerSTUDCSConfig &other) const |
Equalty operator. More... | |
std::string | ToJSON () const |
Serialize object to JSON format. More... | |
void | SetG (Int_t vzpar, Int_t ithresh, Int_t val) |
void | SetJ (Int_t vzpar, Int_t ithresh, Int_t val) |
void | SetRawData (Int_t rd) |
void | SetRegion (Int_t rg) |
void | SetFw (Int_t fv) |
void | SetPHOSScale (int iscale, int val) |
void | SetTRUErrorCounts (Int_t itru, Int_t itime, ULong64_t errorcounts) |
Set TRU error counts. More... | |
void | SetPatchSize (Int_t size) |
void | SetMedianMode (Int_t mode) |
Int_t | GetG (int vzpar, int ithresh) const |
Int_t | GetJ (int vzpar, int ithresh) const |
Int_t | GetRawData () const |
Int_t | GetRegion () const |
Int_t | GetFw () const |
Int_t | GetPHOSScale (Int_t iscale) const |
Int_t | GetPatchSize () const |
Int_t | GetMedianMode () const |
void | GetSegmentation (TVector2 &v1, TVector2 &v2, TVector2 &v3, TVector2 &v4) const |
Get Segmentation. More... | |
TClonesArray * | GetErrorCountsForTRU (Int_t itru) const |
AliEMCALTriggerSTUDCSConfig (const AliEMCALTriggerSTUDCSConfig &cd) | |
Copy constructor. More... | |
Protected Member Functions | |
AliEMCALTriggerSTUDCSConfig & | operator= (const AliEMCALTriggerSTUDCSConfig &cd) |
Private Attributes | |
Int_t | fG [3][2] |
GA,B,C. More... | |
Int_t | fJ [3][2] |
JA,B,C. More... | |
Int_t | fGetRawData |
GetRawData. More... | |
Int_t | fRegion |
Region. More... | |
Int_t | fFw |
Firmware version. More... | |
Int_t | fPHOSScale [4] |
PHOS scale factors. More... | |
Int_t | fPatchSize |
Jet patch size: 0 for 8x8 and 2 for 16x16. More... | |
Int_t | fMedian |
1 in case of using EMCAL/DCAL for estimating the median More... | |
TClonesArray * | fTRUErrorCounts [68] |
TRU error counts. More... | |
Friends | |
std::ostream & | operator<< (std::ostream &stream, const AliEMCALTriggerSTUDCSConfig &config) |
Streaming operator. More... | |
EMCal trigger STU DCS Config.
EMCAL STU DCS parameters to be stored in OCDB Add more comment
Definition at line 24 of file AliEMCALTriggerSTUDCSConfig.h.
AliEMCALTriggerSTUDCSConfig::AliEMCALTriggerSTUDCSConfig | ( | ) |
Default constructor.
Definition at line 39 of file AliEMCALTriggerSTUDCSConfig.cxx.
Referenced by GetMedianMode().
|
virtual |
Destructor.
Definition at line 106 of file AliEMCALTriggerSTUDCSConfig.cxx.
AliEMCALTriggerSTUDCSConfig::AliEMCALTriggerSTUDCSConfig | ( | const AliEMCALTriggerSTUDCSConfig & | cd | ) |
Copy constructor.
Definition at line 62 of file AliEMCALTriggerSTUDCSConfig.cxx.
TClonesArray * AliEMCALTriggerSTUDCSConfig::GetErrorCountsForTRU | ( | Int_t | itru | ) | const |
Definition at line 153 of file AliEMCALTriggerSTUDCSConfig.cxx.
Referenced by AliEMCALTriggerSTUDCSConfig(), and GetMedianMode().
|
inline |
Definition at line 106 of file AliEMCALTriggerSTUDCSConfig.h.
Referenced by AliEMCALTriggerElectronics::AliEMCALTriggerElectronics(), AliEMCALTriggerSTUDCSConfig(), and AliEMCALTriggerSTU::GetMedianEnergy().
|
inline |
Definition at line 102 of file AliEMCALTriggerSTUDCSConfig.h.
Referenced by AliEMCALTriggerElectronics::AliEMCALTriggerElectronics(), AliEMCALTriggerSTUDCSConfig(), and AliEMCALTriggerSTU::ComputeThFromV0().
|
inline |
Definition at line 103 of file AliEMCALTriggerSTUDCSConfig.h.
Referenced by AliEMCALTriggerElectronics::AliEMCALTriggerElectronics(), AliEMCALTriggerSTUDCSConfig(), and AliEMCALTriggerSTU::ComputeThFromV0().
|
inline |
Definition at line 109 of file AliEMCALTriggerSTUDCSConfig.h.
Referenced by AliEMCALTriggerElectronics::AliEMCALTriggerElectronics(), and AliEMCALTriggerSTUDCSConfig().
|
inline |
Definition at line 108 of file AliEMCALTriggerSTUDCSConfig.h.
Referenced by AliEMCALTriggerSTUDCSConfig().
|
inline |
Definition at line 107 of file AliEMCALTriggerSTUDCSConfig.h.
Referenced by AliEMCALTriggerSTUDCSConfig().
|
inline |
Definition at line 104 of file AliEMCALTriggerSTUDCSConfig.h.
Referenced by AliEMCALTriggerSTUDCSConfig(), and AliEMCALTriggerElectronics::Digits2Trigger().
|
inline |
Definition at line 105 of file AliEMCALTriggerSTUDCSConfig.h.
Referenced by AliEMCALTriggerElectronics::AliEMCALTriggerElectronics(), AliEMCALTriggerSTUDCSConfig(), and AliEMCALTriggerDCSConfig::IsTRUEnabled().
void AliEMCALTriggerSTUDCSConfig::GetSegmentation | ( | TVector2 & | v1, |
TVector2 & | v2, | ||
TVector2 & | v3, | ||
TVector2 & | v4 | ||
) | const |
Get Segmentation.
Definition at line 117 of file AliEMCALTriggerSTUDCSConfig.cxx.
Referenced by GetMedianMode(), AliEMCALTriggerSTU::L1(), and AliEMCALTriggerRawDigitMaker::PostProcess().
|
protected |
Referenced by GetMedianMode().
bool AliEMCALTriggerSTUDCSConfig::operator== | ( | const AliEMCALTriggerSTUDCSConfig & | other | ) | const |
Equalty operator.
Checks whether the two STU DCS configurations are the same. For equalty all setting must be the same. Error counters are not considered.
Definition at line 187 of file AliEMCALTriggerSTUDCSConfig.cxx.
|
inline |
Definition at line 96 of file AliEMCALTriggerSTUDCSConfig.h.
Referenced by AliEMCALTriggerElectronics::AliEMCALTriggerElectronics(), AliEMCALTriggerSTUDCSConfig(), EMCAL::Base::Tests::TestAliEMCALTriggerSTUDCSConfig::ConfigureReference(), AliEMCALPreprocessor::MapTriggerConfig(), and EMCAL::Base::Tests::TestAliEMCALTriggerSTUDCSConfig::TestEqualFalse().
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 99 of file AliEMCALTriggerSTUDCSConfig.h.
Referenced by AliEMCALTriggerElectronics::AliEMCALTriggerElectronics(), AliEMCALTriggerSTUDCSConfig(), EMCAL::Base::Tests::TestAliEMCALTriggerSTUDCSConfig::ConfigureReference(), AliEMCALPreprocessor::MapTriggerConfig(), and EMCAL::Base::Tests::TestAliEMCALTriggerSTUDCSConfig::TestEqualFalse().
|
inline |
|
inline |
Definition at line 94 of file AliEMCALTriggerSTUDCSConfig.h.
Referenced by AliEMCALTriggerSTUDCSConfig(), and AliEMCALPreprocessor::MapTriggerConfig().
|
inline |
void AliEMCALTriggerSTUDCSConfig::SetTRUErrorCounts | ( | Int_t | itru, |
Int_t | itime, | ||
ULong64_t | errorcounts | ||
) |
Set TRU error counts.
Definition at line 130 of file AliEMCALTriggerSTUDCSConfig.cxx.
Referenced by AliEMCALTriggerSTUDCSConfig(), AliEMCALPreprocessor::MapTriggerConfig(), and SetPHOSScale().
std::string AliEMCALTriggerSTUDCSConfig::ToJSON | ( | ) | const |
Serialize object to JSON format.
Definition at line 209 of file AliEMCALTriggerSTUDCSConfig.cxx.
Referenced by AliEMCALTriggerDCSConfig::ToJSON().
|
friend |
Streaming operator.
Printing all STU DCS settings on the output stream, except for the error counters
Definition at line 195 of file AliEMCALTriggerSTUDCSConfig.cxx.
|
private |
Firmware version.
Definition at line 125 of file AliEMCALTriggerSTUDCSConfig.h.
Referenced by GetFw(), GetSegmentation(), operator<<(), operator==(), SetFw(), and ToJSON().
|
private |
GA,B,C.
Definition at line 121 of file AliEMCALTriggerSTUDCSConfig.h.
Referenced by AliEMCALTriggerSTUDCSConfig(), GetG(), operator<<(), operator==(), SetG(), and ToJSON().
|
private |
GetRawData.
Definition at line 123 of file AliEMCALTriggerSTUDCSConfig.h.
Referenced by GetRawData(), operator<<(), operator==(), SetRawData(), and ToJSON().
|
private |
JA,B,C.
Definition at line 122 of file AliEMCALTriggerSTUDCSConfig.h.
Referenced by AliEMCALTriggerSTUDCSConfig(), GetJ(), operator<<(), operator==(), SetJ(), and ToJSON().
|
private |
1 in case of using EMCAL/DCAL for estimating the median
Definition at line 128 of file AliEMCALTriggerSTUDCSConfig.h.
Referenced by GetMedianMode(), operator<<(), operator==(), SetMedianMode(), and ToJSON().
|
private |
Jet patch size: 0 for 8x8 and 2 for 16x16.
Definition at line 127 of file AliEMCALTriggerSTUDCSConfig.h.
Referenced by GetPatchSize(), operator==(), and SetPatchSize().
|
private |
PHOS scale factors.
Definition at line 126 of file AliEMCALTriggerSTUDCSConfig.h.
Referenced by AliEMCALTriggerSTUDCSConfig(), GetPHOSScale(), operator<<(), operator==(), SetPHOSScale(), and ToJSON().
|
private |
Region.
Definition at line 124 of file AliEMCALTriggerSTUDCSConfig.h.
Referenced by GetRegion(), operator<<(), operator==(), SetRegion(), and ToJSON().
|
private |
TRU error counts.
Definition at line 129 of file AliEMCALTriggerSTUDCSConfig.h.
Referenced by AliEMCALTriggerSTUDCSConfig(), GetErrorCountsForTRU(), SetTRUErrorCounts(), and ~AliEMCALTriggerSTUDCSConfig().