1 #ifndef L1GCTJETFINALSTAGE_H_
2 #define L1GCTJETFINALSTAGE_H_
void setInputForwardJet(int i, L1GctJetCand jet)
set the forward jets input data
friend std::ostream & operator<<(std::ostream &os, const L1GctJetFinalStage &fpga)
Overload << operator.
Represents a GCT Wheel Jet FPGA.
Pipeline< L1GctJetCand > JetPipeline
JetVector getCentralJets() const
get the central jets output data
virtual void resetPipelines()
JetVector getInputForwardJets() const
get the forward jets input data
Level-1 Trigger jet candidate.
virtual void process()
process the data, fill output buffers
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.
JetVector getTauJets() const
get the tau jets output data
std::ostream & operator<<(std::ostream &out, const ALILine &li)
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.
void setInputCentralJet(int i, L1GctJetCand jet)
set the central jets input data
Represents the final stage of L1 jet processing.
L1GctJetSorter * m_forwardJetSorter
L1GctJetFinalStage(std::vector< L1GctWheelJetFpga * > m_wheelFpgas)
Takes a vector of 2 wheel jet FPGA pointers, with which to get input data from.
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
void storeJets(JetVector &storageVector, JetVector jets, unsigned short iWheel)
Enters jets into the specified storageVector, according to which wheel card we are taking them from...
void setInputTauJet(int i, L1GctJetCand jet)
set the tau jets input data
virtual void setupObjects()
Initialise inputs with null objects for the correct bunch crossing if required.
virtual void resetProcessor()
Separate reset methods for the processor itself and any data stored in pipelines. ...
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
std::vector< T > contents
virtual void fetchInput()
get input data from sources