1 #ifndef L1GCTJETFINALSTAGE_H_ 2 #define L1GCTJETFINALSTAGE_H_ 94 void storeJets(JetVector& storageVector,
const JetVector&
jets,
unsigned short iWheel);
void process() override
process the data, fill output buffers
void setInputTauJet(int i, const L1GctJetCand &jet)
set the tau jets input data
friend std::ostream & operator<<(std::ostream &os, const L1GctJetFinalStage &fpga)
Overload << operator.
void fetchInput() override
get input data from sources
Represents a GCT Wheel Jet FPGA.
Pipeline< L1GctJetCand > JetPipeline
JetVector getCentralJets() const
get the central jets output data
void setInputCentralJet(int i, const L1GctJetCand &jet)
set the central jets input data
L1GctJetFinalStage(const std::vector< L1GctWheelJetFpga * > &m_wheelFpgas)
Takes a vector of 2 wheel jet FPGA pointers, with which to get input data from.
JetVector getInputForwardJets() const
get the forward jets input data
void storeJets(JetVector &storageVector, const JetVector &jets, unsigned short iWheel)
Enters jets into the specified storageVector, according to which wheel card we are taking them from...
Level-1 Trigger jet candidate.
std::vector< L1GctJetCand > JetVector
JetVector getForwardJets() const
get the forward jets output data
static const int MAX_JETS_OUT
Max number of jets of each type going out.
~L1GctJetFinalStage() override
JetVector getTauJets() const
get the tau jets output data
static const int MAX_JETS_IN
Max number of jets of each type coming in.
JetPipeline m_forwardJets
ABC for a GCT trigger data processing unit.
Represents the final stage of L1 jet processing.
void setInputForwardJet(int i, const L1GctJetCand &jet)
set the forward jets input data
L1GctJetSorter * m_forwardJetSorter
L1GctJetSorter * m_tauJetSorter
L1GctJetSorter * m_centralJetSorter
Jet sorters.
JetPipeline m_centralJets
JetVector getInputTauJets() const
get the tau jets input data
std::vector< L1GctWheelJetFpga * > m_wheelFpgas
wheel jet FPGAs
JetVector m_inputCentralJets
JetVector getInputCentralJets() const
get the central jets input data
static const unsigned int MAX_WHEEL_FPGAS
Max number of wheel FPGA pointers.
JetVector m_inputForwardJets
void setupObjects() override
Initialise inputs with null objects for the correct bunch crossing if required.
void resetPipelines() override
void resetProcessor() override
Separate reset methods for the processor itself and any data stored in pipelines. ...