Go to the documentation of this file. 1 #ifndef L1GCTELECTRONLEAFCARD_H_
2 #define L1GCTELECTRONLEAFCARD_H_
41 void setBxRange(
const int firstBx,
const int numberOfBx);
std::vector< L1GctEmCand > getOutputNonIsoEmCands(int fpga)
get the output candidates
void resetPipelines() override
L1GctElectronSorter * getNonIsoElectronSorterU1()
std::vector< L1GctElectronSorter * > m_sorters
processing - 0,2 are iso sorters, 1,3 are non-iso
void resetProcessor() override
Separate reset methods for the processor itself and any data stored in pipelines.
std::vector< L1GctEmCand > getOutputIsoEmCands(int fpga)
get the output candidates
void setBxRange(const int firstBx, const int numberOfBx)
define the bunch crossing range to process
static const unsigned N_SORTERS
void setupObjects() override
Initialise inputs with null objects for the correct bunch crossing if required.
std::ostream & operator<<(std::ostream &s, const L1GctEmLeafCard &card)
friend std::ostream & operator<<(std::ostream &s, const L1GctEmLeafCard &card)
overload of cout operator
L1GctElectronSorter * getIsoElectronSorterU1()
void setNextBx(const int bxnum)
clear input data buffers and process a new bunch crossing
Class that sorts electron candidates.
L1GctEmLeafCard(int id)
construct with ID
Emulates a leaf card programmed for electron sorting.
L1GctElectronSorter * getNonIsoElectronSorterU2()
void fetchInput() override
fetch input data
ABC for a GCT trigger data processing unit.
~L1GctEmLeafCard() override
destruct
void process() override
process the event
void reset()
clear internal trigger data buffers
L1GctElectronSorter * getIsoElectronSorterU2()