46 m_sorters.at(
i)->setBxRange(firstBx, numberOfBx);
75 return m_sorters.at(2*fpga)->getOutputCands();
78 return vector<L1GctEmCand>(0);
85 return m_sorters.at(2*fpga+1)->getOutputCands();
88 return vector<L1GctEmCand>(0);
93 s <<
"===L1GctEmLeafCard===" <<endl;
94 s <<
"ID = "<<card.
m_id<<endl;
95 s <<
"No of Electron Sorters = " << card.
m_sorters.size() << endl;
98 s <<
"===ElectronSorter===" << std::endl;
99 s <<
"ElectronSorter no: " <<
i << endl << (*card.
m_sorters.at(
i));
void reset()
complete reset of processor
std::vector< L1GctEmCand > getOutputNonIsoEmCands(int fpga)
get the output candidates
void setNextBx(const int bxnum)
clear input data buffers and process a new bunch crossing
std::ostream & operator<<(std::ostream &out, const ALILine &li)
std::vector< L1GctEmCand > getOutputIsoEmCands(int fpga)
get the output candidates
static const unsigned N_SORTERS
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 setBxRange(const int firstBx, const int numberOfBx)
define the bunch crossing range to process
void reset()
clear internal trigger data buffers
void setBxRange(const int firstBx, const int numberOfBx)
define the bunch crossing range to process
void setNextBx(const int bxnum)
clear input data buffers and process a new bunch crossing
Emulates a leaf card programmed for electron sorting.
L1GctEmLeafCard(int id)
construct with ID