12#ifndef EnergyTopoData_H
13#define EnergyTopoData_H
19#include "GaudiKernel/DataObject.h"
39 void addEx(
unsigned int Ex,
unsigned int overflow,
int type);
40 void addEy(
unsigned int Ey,
unsigned int overflow,
int type);
41 void addEt(
unsigned int Et,
unsigned int overflow,
int type);
44 void addRoI(uint32_t roiWord);
45 void addRoIs(
const std::vector<uint32_t>& roiWords);
71 int decodeTC(
unsigned int word)
const;
int Ex(SumTypes type=LVL1::EnergyTopoData::Normal) const
return Ex, Ey, ET values
int Ey(SumTypes type=LVL1::EnergyTopoData::Normal) const
Ey (signed)
int EyTC(SumTypes type=LVL1::EnergyTopoData::Normal) const
Ey (twos complement)
void addEt(unsigned int Et, unsigned int overflow, int type)
void addRoIs(const std::vector< uint32_t > &roiWords)
unsigned int EtOverflow(SumTypes type=LVL1::EnergyTopoData::Normal) const
int ExTC(SumTypes type=LVL1::EnergyTopoData::Normal) const
return twos-complement Ex, Ey values
int decodeTC(unsigned int word) const
Decode 15-bit twos-complement values.
void addRoI(uint32_t roiWord)
add data using RoI word
unsigned int word2() const
return word 2
unsigned int word1() const
return word 1
int Et(SumTypes type=LVL1::EnergyTopoData::Normal) const
ET Sum.
EnergyTopoData(unsigned int word0, unsigned int word1, unsigned int word2)
constructor
unsigned int ExOverflow(SumTypes type=LVL1::EnergyTopoData::Normal) const
return overflow flags
unsigned int EyOverflow(SumTypes type=LVL1::EnergyTopoData::Normal) const
unsigned int word0() const
return word 0
void addEy(unsigned int Ey, unsigned int overflow, int type)
void addEx(unsigned int Ex, unsigned int overflow, int type)
add data.
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...