37 for (Int_t i=0;i<6;i++)
fMaskReg[i] = 0;
56 stream <<
"SELPF: " << std::hex << conf.
fSELPF <<
", L0SEL: " << conf.
fL0SEL <<
", L0COSM: " << std::dec
58 << conf.
fFw << std::dec << std::endl;
59 for(
int ireg = 0; ireg < 6; ireg++){
60 stream <<
"Reg" << ireg <<
": " << std::bitset<sizeof(UInt_t) *8>(conf.
fMaskReg[ireg]) <<
" (" << conf.
fMaskReg[ireg] <<
")" << std::endl;
66 std::stringstream jsonstring;
68 <<
"\"fSELPF\":" <<
fSELPF <<
"," 69 <<
"\"fL0SEL\":" <<
fL0SEL <<
"," 70 <<
"\"fL0COSM\":" <<
fL0COSM <<
"," 71 <<
"\"fGTHRL0\":" <<
fGTHRL0 <<
"," 72 <<
"\"fRLBKSTU\":" <<
fRLBKSTU <<
"," 73 <<
"\"fFw\":" <<
fFw <<
"," 76 return jsonstring.str();
UInt_t fL0SEL
L0 Algo selection.
friend std::ostream & operator<<(std::ostream &stream, const AliEMCALTriggerTRUDCSConfig &other)
Streaming operator.
AliEMCALTriggerTRUDCSConfig()
Default constructor.
bool operator==(const AliEMCALTriggerTRUDCSConfig &other) const
equalty operator
UInt_t fRLBKSTU
TRU circular buffer rollback.
UInt_t fSELPF
PeakFinder setup.
UInt_t fFw
TRU fw version.
UInt_t fMaskReg[6]
6*16 = 96 mask bits per TRU
std::string ToJSON() const
Serialize object to JSON format.