Go to the documentation of this file. 1 #ifndef L1GCTGLOBALHFSUMALGOS_H_
2 #define L1GCTGLOBALHFSUMALGOS_H_
12 class L1GctHfLutSetup;
81 std::map<L1GctHfEtSumsLut::hfLutType, const L1GctHfBitCountsLut*>
m_bitCountLuts;
82 std::map<L1GctHfEtSumsLut::hfLutType, const L1GctHfEtSumsLut*>
m_etSumLuts;
L1GctJetFinderBase::hfTowerSumsType hfTowerSumsType
void fetchInput() override
get input data from sources; this is the standard way to provide input
void setupObjects() override
Initialise inputs with null objects for the correct bunch crossing if required.
Emulates the GCT summing and packing of Hf Et sums and tower-over-threshold counts.
bool setupOk() const
check setup
std::map< L1GctHfEtSumsLut::hfLutType, const L1GctHfEtSumsLut * > m_etSumLuts
L1GctGlobalHfSumAlgos(const std::vector< L1GctWheelJetFpga * > &WheelJetFpga)
Constructor needs the Wheel card Fpgas set up first.
void resetPipelines() override
~L1GctGlobalHfSumAlgos() override
Destructor.
std::vector< double > getThresholds(const L1GctHfEtSumsLut::hfLutType type) const
Get thresholds.
LUT for compression of HF Et sum to output format.
L1GctWheelJetFpga * getMinusWheelJetFpga() const
provide access to input pointer, Wheel Jet Fpga 0
L1GctWheelJetFpga * m_minusWheelJetFpga
void setupLuts(const L1CaloEtScale *scale)
Setup luts.
std::vector< unsigned > hfSumsWord() const
hfTowerSumsType m_hfInputSumsPlusWheel
void resetProcessor() override
Separate reset methods for the processor itself and any data stored in pipelines.
std::map< L1GctHfEtSumsLut::hfLutType, const L1GctHfBitCountsLut * > m_bitCountLuts
L1GctWheelJetFpga * m_plusWheelJetFpga
hfTowerSumsType m_hfInputSumsMinusWheel
Represents a GCT Wheel Jet FPGA.
void process() override
process the data, fill output buffers
friend std::ostream & operator<<(std::ostream &os, const L1GctGlobalHfSumAlgos &fpga)
Overload << operator.
const L1GctHfBitCountsLut * getBCLut(const L1GctHfEtSumsLut::hfLutType type) const
Get lut pointers.
L1GctWheelJetFpga * getPlusWheelJetFpga() const
provide access to input pointer, Wheel Jet Fpga 1
std::map< L1GctHfEtSumsLut::hfLutType, Pipeline< uint16_t > > m_hfOutputSumsPipe
std::ostream & operator<<(std::ostream &os, const L1GctGlobalHfSumAlgos &fpga)
void storeEtSum(L1GctHfEtSumsLut::hfLutType type, uint16_t value)
void storeBitCount(L1GctHfEtSumsLut::hfLutType type, uint16_t value)
std::vector< uint16_t > hfSumsOutput(const L1GctHfEtSumsLut::hfLutType type) const
Access to output quantities.
ABC for a GCT trigger data processing unit.
LUT for compression of HF feature bit counts to output format.
const L1GctHfEtSumsLut * getESLut(const L1GctHfEtSumsLut::hfLutType type) const