Go to the documentation of this file. 1 #ifndef L1GCTWHEELJETFPGA_H_
2 #define L1GCTWHEELJETFPGA_H_
hfTowerSumsType m_outputHfSums
JetVector getCentralJets() const
get the output jets
htComponentType inputHx(unsigned leafnum) const
get the input Ht components
L1GctJetSorter * m_forwardJetSorter
Level-1 Trigger jet candidate.
Pipeline< htComponentType > m_outputHxPipe
L1GctJetLeafCard::hfTowerSumsType hfTowerSumsType
JetVector getForwardJets() const
get the output jets
std::vector< htComponentType > m_inputHy
void classifyJets()
Classifies jets into central, forward or tau.
void process() override
process the data, fill output buffers
void resetPipelines() override
htComponentType m_outputHy
void setupObjects() override
Initialise inputs with null objects for the correct bunch crossing if required.
JetVector getTauJets() const
get the output jets
std::vector< L1GctInternHtMiss > getInternalHtMiss() const
get the Et sums in internal component format
static const unsigned int MAX_LEAF_CARDS
Max number of leaf card pointers.
void resetProcessor() override
Separate reset methods for the processor itself and any data stored in pipelines.
L1GctJetSorter * m_centralJetSorter
Jet sorters.
std::vector< htComponentType > m_inputHx
JetVector getInputJets() const
get the input jets. Jets 0-5 from leaf card 0, jetfinderA. Jets 6-11 from leaf card 0,...
htComponentType inputHy(unsigned leafnum) const
JetVector m_inputJets
input data. Jets 0-5 from leaf card 0, jetfinderA. Jets 6-11 from leaf card 0, jetfinder B....
L1GctTwosComplement< L1GctInternHtMiss::kMissHxOrHyNBits > htComponentType
void storeJets(const JetVector &jets, unsigned short iLeaf, unsigned short offset)
Puts the output from a jetfinder into the correct index range of the m_inputJets array.
void fetchInput() override
get input data from sources
std::vector< hfTowerSumsType > m_inputHfSums
std::vector< L1GctJetCand > JetVector
hfTowerSumsType inputHfSums(unsigned leafnum) const
get the input Hf Sums
bool checkSetup() const
Check the setup, independently of how we have been constructed.
Pipeline< htComponentType > m_outputHyPipe
hfTowerSumsType getOutputHfSums() const
get the output Hf Sums
bool setupOk() const
Public access to setup check.
static const int MAX_JETS_IN
Maximum number of jets we can have as input.
static const int MAX_JETS_OUT
Max number of jets of each type we output.
JetVector m_rawForwardJets
friend std::ostream & operator<<(std::ostream &os, const L1GctWheelJetFpga &fpga)
Overload << operator.
Represents a GCT Wheel Jet FPGA.
void setInputJet(int i, const L1GctJetCand &jet)
set input data
htComponentType m_outputHx
std::vector< L1GctJetLeafCard * > m_inputLeafCards
the jet leaf cards
htComponentType getOutputHx() const
get the output Ht components
htComponentType getOutputHy() const
JetVector m_rawCentralJets
~L1GctWheelJetFpga() override
destructor
L1GctWheelJetFpga(int id, const std::vector< L1GctJetLeafCard * > &inputLeafCards)
id must be 0 / 1 for -ve/+ve eta halves of CMS
L1GctJetSorter * m_tauJetSorter
ABC for a GCT trigger data processing unit.
void setupJetsVectors(const int16_t bx)
Initialises all the jet vectors with jets of the correct type.
static const unsigned int MAX_JETS_PER_LEAF
Max number of jets input from each leaf card.
std::ostream & operator<<(std::ostream &os, const L1GctWheelJetFpga &fpga)