21 declareInterface<eFEXFormTOBs>(
this);
31 return StatusCode::SUCCESS;
34uint32_t
eFEXFormTOBs::formTauTOBWord(
int fpga,
int eta,
int phi,
unsigned int et,
unsigned int rhad,
unsigned int rcore,
unsigned int seed,
unsigned int und,
unsigned int ptMinTopo,
unsigned int algoVersion)
const
47 if (etTob < ptMinTopo)
return tobWord;
50 if (etTob > 0xfff) etTob = 0xfff;
58 ATH_MSG_DEBUG(
"Tau BDT tobword: " << std::bitset<32>(tobWord) );
64std::vector<uint32_t>
eFEXFormTOBs::formTauxTOBWords(
int efexid,
int fpga,
int eta,
int phi,
unsigned int et,
unsigned int rhad,
unsigned int rcore,
unsigned int seed,
unsigned int und,
unsigned int ptMinTopo,
unsigned int algoVersion,
unsigned int bdtScore)
const
66 std::vector<uint32_t> tobWords = {0, 0};
76 unsigned int etTob = (
et < 0xffff ?
et : 0xffff);
79 uint8_t shelf = int(efexid/12);
80 uint8_t efex = efexid%12;
88 if (algoVersion == 0) {
89 ATH_MSG_DEBUG(
"Tau xtobwords: " << std::bitset<32>(tobWords[0]) <<
", " << std::bitset<32>(tobWords[1]));
91 tobWords[0] += bdtScore;
92 ATH_MSG_DEBUG(
"Tau BDT xtobwords: " << std::bitset<32>(tobWords[0]) <<
", " << std::bitset<32>(tobWords[1]));
99uint32_t
eFEXFormTOBs::formEmTOBWord(
int fpga,
int eta,
int phi,
unsigned int rhad,
unsigned int wstot,
unsigned int reta,
unsigned int seed,
unsigned int und,
unsigned int et,
unsigned int ptMinTopo,
unsigned int algoVersion)
const
101 uint32_t tobWord = 0;
108 if (etTob < ptMinTopo)
return tobWord;
111 if (etTob > 0xfff) etTob = 0xfff;
122std::vector<uint32_t>
eFEXFormTOBs::formEmxTOBWords(
int efexid,
int fpga,
int eta,
int phi,
unsigned int rhad,
unsigned int wstot,
unsigned int reta,
unsigned int seed,
unsigned int und,
unsigned int et,
unsigned int ptMinTopo,
unsigned int algoVersion)
const
124 std::vector<uint32_t> tobWords = {0, 0};
130 unsigned int etTob = (
et < 0xffff ?
et : 0xffff);
133 uint8_t shelf = int(efexid/12);
134 uint8_t efex = efexid%12;
142 ATH_MSG_DEBUG(
"EM xtobwords: " << std::bitset<32>(tobWords[0]) <<
", " << std::bitset<32>(tobWords[1]));
Scalar eta() const
pseudorapidity method
Scalar phi() const
phi method
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Extra patterns decribing particle interation process.