13 m_thePosEtaLeafCard(0), m_theNegEtaLeafCard(0),
24 <<
"L1GctElectronFinalSort::Constructor() : 1st EmLeafCard passed is zero";
33 <<
"L1GctElectronFinalSort::Constructor() : 2nd EmLeafCard passed is zero";
37 edm::LogError(
"L1GctSetupError") <<
"L1GctElectronFinalSort has been incorrectly constructed";
57 for (
int k=0;
k<4;
k++) {
89 std::vector<L1GctEmCand>
temp(4);
90 for(
int i = 0;
i<4;
i++){
91 temp.at(
i) =
data.at(
i).emCand;
105 s <<
"===ElectronFinalSort===" << std::endl;
106 s <<
"Card type = " << ( cand.
m_emCandsType ?
"isolated" :
"non-isolated" ) <<std::endl;
107 s <<
"Pointers to the Electron Leaf cards are: "<<std::endl;
111 s <<
"No of Electron Input Candidates " << cand.
m_inputCands.size() << std::endl;
112 s <<
"No of Electron Output Candidates " << cand.
m_outputCands.contents.size() << std::endl;
L1GctElectronSorter::rank_gt rank_gt
L1GctElectronSorter * getNonIsoElectronSorterU1()
L1GctEmLeafCard * m_theNegEtaLeafCard
L1GctElectronFinalSort(bool iso, L1GctEmLeafCard *posEtaCard, L1GctEmLeafCard *negEtaCard)
std::vector< L1GctEmCand > getOutputCands()
get output candidates
bool m_verbose
Flag to control output messages.
L1GctElectronSorter * getNonIsoElectronSorterU2()
std::ostream & operator<<(std::ostream &out, const ALILine &li)
~L1GctElectronFinalSort()
destructor
Level-1 Trigger EM candidate at output of GCT.
ABC for a GCT trigger data processing unit.
L1GctEmLeafCard * m_thePosEtaLeafCard
the 1st stage electron sorters
L1GctElectronSorter * getIsoElectronSorterU1()
bool m_setupOk
Check the setup.
virtual void resetProcessor()
Separate reset methods for the processor itself and any data stored in pipelines. ...
Pipeline< L1GctEmCand > m_outputCands
output data
virtual void process()
process the data, fill output buffers
std::vector< L1GctEmCand > m_inputCands
input data
void setInputEmCand(unsigned i, const L1GctEmCand &cand)
set input data
bool m_emCandsType
type of electron candidate (iso(0) or non-iso(1))
char data[epos_bytes_allocation]
int16_t bx() const
get bunch-crossing index
L1GctElectronSorter * getIsoElectronSorterU2()
virtual void fetchInput()
get input data from sources
Emulates a leaf card programmed for electron sorting.
virtual void resetPipelines()