21 declareInterface<eFEXFillEDM>(
this);
28 return StatusCode::SUCCESS;
35 return StatusCode::SUCCESS;
42 return StatusCode::SUCCESS;
53 myEmEDM->
initialize(tobObject->getxTobword0(), tobObject->getxTobword1());
56 uint8_t shelf = int(eFexNum/12);
57 uint8_t eFEX = eFexNum%12;
58 myEmEDM->
initialize(eFEX, shelf, tobObject->getTobword());
64 myEmEDM->
setRhadEM(tobObject->getRhadEM());
69 ATH_MSG_DEBUG(
" setting Type: " << myEmEDM->
type() <<
" eFEX Number: " << +myEmEDM->
eFexNumber() <<
" shelf: " << +myEmEDM->
shelfNumber() <<
" et: " << myEmEDM->
et() <<
" MeV, " << myEmEDM->
etTOB() <<
" TOB, " << myEmEDM->
etXTOB() <<
" xTOB, eta: " << myEmEDM->
eta() <<
" phi: " << myEmEDM->
phi() <<
" input eFexNum: " << +eFexNum <<
" TOB word: " << tobObject->getTobword() << MSG::dec );
81 myTauEDM->
initialize(tobObject->getxTobword0(), tobObject->getxTobword1());
84 uint8_t shelf = int(eFexNum/12);
85 uint8_t eFEX = eFexNum%12;
86 myTauEDM->
initialize(eFEX, shelf, tobObject->getTobword());
98 ATH_MSG_DEBUG(
"setting tau version " << myTauEDM->
tobVersion() <<
" eFEX Number: " << +myTauEDM->
eFexNumber() <<
" shelf: " << +myTauEDM->
shelfNumber() <<
" et: " << myTauEDM->
et() <<
" eta: " << myTauEDM->
eta() <<
" phi: " << myTauEDM->
phi() <<
" input eFexNum: " << +eFexNum <<
" TOB word: " << tobObject->getTobword() <<
" xTOB word 1: "<< tobObject->getxTobword0() <<
" xTOB word 2: " << tobObject->getxTobword1() <<
" BDT score: " << tobObject->getBDTScore() <<
" BDT score from EDM " << myTauEDM->
bdtScore() << MSG::dec);
virtual StatusCode execute()
virtual void fillTauEDM(std::unique_ptr< xAOD::eFexTauRoIContainer > &container, uint8_t eFEXNumber, const std::unique_ptr< eFEXtauTOB > &tobObject, bool xTOB=false) const
Create and fill a new fillTauEDM object (corresponding to this window), and return a pointer to it.
eFEXFillEDM(const std::string &type, const std::string &name, const IInterface *parent)
Constructors.
virtual StatusCode initialize()
standard Athena-Algorithm method
virtual StatusCode finalize()
standard Athena-Algorithm method
virtual void fillEmEDM(std::unique_ptr< xAOD::eFexEMRoIContainer > &container, uint8_t eFEXNumber, const std::unique_ptr< eFEXegTOB > &tobObject, bool xTOB=false) const
Create and fill a new fillEmEDM object (corresponding to this window), and return a pointer to it.
float et() const
TOB ET (decoded from TOB, stored for convenience)
unsigned int shelfNumber() const
void setWstotNumerator(uint16_t value)
float eta() const
setter for the above
unsigned int eFexNumber() const
Methods to decode data from the TOB/RoI and return to the user.
void setRetaEnv(uint16_t value)
float phi() const
Seed supercell index within central tower (0 -> 3)
void setRhadHad(uint16_t value)
void initialize(unsigned int eFexNumber, unsigned int shelf, uint32_t word0)
Initialise the object with its most important properties TOB initialiser.
void setWstotDenominator(uint16_t value)
unsigned int etTOB() const
Cluster ET (TOB ET scale, 100 MeV/count)
void setRetaCore(uint16_t value)
ObjectType type() const
Data decoded from the TOB/RoI word and eFEX number.
void setRhadEM(uint16_t value)
unsigned int etXTOB() const
Cluster ET (xTOB ET scale, 25 MeV/count)
unsigned int tobVersion() const
Data decoded from the TOB/RoI word and eFEX number.
unsigned int shelfNumber() const
unsigned int eFexNumber() const
eFEX number
unsigned int bdtScore() const
BDT Score (xTOB only)
float et() const
TOB ET (decoded from TOB, stored for convenience)
float phi() const
Seed supercell index within central tower (0 -> 3)
void setRHadNumerator(uint16_t value)
void setRCoreNumerator(uint16_t value)
void setRHadDenominator(uint16_t value)
float eta() const
setter for the above
void initialize(unsigned int eFexNumber, unsigned int shelf, uint32_t word0)
Initialise the object with its most important properties.
void setRCoreDenominator(uint16_t value)
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
eFexEMRoI_v1 eFexEMRoI
Define the latest version of the eFexEMRoI class.
eFexTauRoI_v1 eFexTauRoI
Define the latest version of the eFexTauRoI class.