39 (
const std::string&
name, ISvcLocator* pSvcLocator )
41 m_EtTool(
"LVL1::L1EtTools/L1EtTools"),
57 return StatusCode::SUCCESS ;
79 if (jetelements->
size() == 0)
96 return StatusCode::SUCCESS ;
117 std::vector<unsigned int> eX;
118 eX.push_back((*it)->ex());
119 std::vector<unsigned int> eY;
120 eY.push_back((*it)->ey());
121 std::vector<unsigned int> eT;
122 eT.push_back((*it)->et());
129 const EventContext& ctx = Gaudi::Hive::currentContext();
131 if (
sc != StatusCode::SUCCESS) {
132 ATH_MSG_ERROR (
"Error registering JEMEtSums collection in TDS " );
147 (*it)->ex(),(*it)->ey(),(*it)->et());
153 const EventContext& ctx = Gaudi::Hive::currentContext();
155 if (
sc != StatusCode::SUCCESS) {
156 ATH_MSG_ERROR (
"Error registering EnergyCMXData collection in TDS " );
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_WARNING(x)
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
value_type push_back(value_type pElem)
Add an element to the end of the collection.
DataModel_detail::iterator< DataVector > iterator
Standard iterator.
size_type size() const noexcept
Returns the number of elements in the collection.
The EnergyCMXData object contains the data transferred from the JEM to the EnergySum CMX in the crate...
SG::WriteHandleKey< DataVector< EnergyCMXData > > m_energyCMXDataOutputKey
void storeJEMEtSums()
put results into SG
SG::WriteHandleKey< DataVector< JEMEtSums > > m_jemEtSumsOutputKey
SG::ReadHandleKey< xAOD::JetElementContainer > m_JetElementInputKey
JEMEnergySim(const std::string &name, ISvcLocator *pSvcLocator)
void cleanup()
delete pointers etc.
DataVector< EnergyCMXData > EnergyCMXDataCollection
ToolHandle< LVL1::IL1EtTools > m_EtTool
DataVector< JEMEtSums > JEMEtSumsCollection
void storeBackplaneData()
Form EnergyCMXData and put into SG.
DataVector< ModuleEnergy > * m_jemContainer
vector of ModuleEnergy objects
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
SG::ReadCondHandle< T > makeHandle(const SG::ReadCondHandleKey< T > &key, const EventContext &ctx=Gaudi::Hive::currentContext())