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