#include <eEmInputAlgTool.h>
Definition at line 24 of file eEmInputAlgTool.h.
◆ eEmInputAlgTool()
GlobalSim::eEmInputAlgTool::eEmInputAlgTool |
( |
const std::string & |
type, |
|
|
const std::string & |
name, |
|
|
const IInterface * |
parent |
|
) |
| |
◆ ~eEmInputAlgTool()
virtual GlobalSim::eEmInputAlgTool::~eEmInputAlgTool |
( |
| ) |
|
|
virtualdefault |
◆ initialize()
StatusCode GlobalSim::eEmInputAlgTool::initialize |
( |
| ) |
|
|
override |
◆ run()
StatusCode GlobalSim::eEmInputAlgTool::run |
( |
const EventContext & |
ctx | ) |
const |
|
overridevirtual |
Definition at line 25 of file eEmInputAlgTool.cxx.
29 CHECK(eEmRoIontainer.isValid());
31 auto eEms = std::make_unique<GlobalSim::eEmTOBArray>(
"InputeEms", 60);
32 for(
const auto eFexRoI : *eEmRoIontainer){
49 << eFexRoI->eFexNumber()
59 << eFexRoI->iEtaTopo()
61 << eFexRoI->iPhiTopo()
63 << eFexRoI->RetaThresholds()
65 << eFexRoI->RhadThresholds()
67 << eFexRoI->WstotThresholds()
71 unsigned int EtTopo = eFexRoI->etTOB();
72 int etaTopo = eFexRoI->iEtaTopo();
73 int phiTopo = eFexRoI->iPhiTopo();
74 unsigned int reta = eFexRoI->RetaThresholds();
75 unsigned int rhad = eFexRoI->RhadThresholds();
76 unsigned int wstot = eFexRoI->WstotThresholds();
79 TCS::eEmTOB eem(EtTopo, etaTopo,
static_cast<unsigned int>(phiTopo),
TCS::EEM ,
static_cast<long int>(eFexRoI->word0()));
92 CHECK(h_write.record(std::move(eEms)));
94 return StatusCode::SUCCESS;
◆ toString()
std::string GlobalSim::eEmInputAlgTool::toString |
( |
| ) |
const |
|
overridevirtual |
◆ m_eEmRoIKey
◆ m_eEmTOBArrayWriteKey
Initial value:{this, "TOBArrayWriteKey", "",
"key to write out an eEmTOBArray"}
Definition at line 48 of file eEmInputAlgTool.h.
◆ s_etaDouble_conversion
constexpr double GlobalSim::eEmInputAlgTool::s_etaDouble_conversion {0.025} |
|
staticconstexprprivate |
◆ s_EtDouble_conversion
constexpr double GlobalSim::eEmInputAlgTool::s_EtDouble_conversion {0.1} |
|
staticconstexprprivate |
◆ s_phiDouble_conversion
constexpr double GlobalSim::eEmInputAlgTool::s_phiDouble_conversion {0.05} |
|
staticconstexprprivate |
The documentation for this class was generated from the following files: