Go to the documentation of this file. 1 #ifndef L1GCTJETLEAFCARD_H_
2 #define L1GCTJETLEAFCARD_H_
74 void setBxRange(
const int firstBx,
const int numberOfBx);
L1GctJetFinderBase * getJetFinderA() const
get pointers to associated jetfinders
std::vector< htComponentType > getAllOutputHx() const
get the output Ht components history
void resetProcessor() override
Separate reset methods for the processor itself and any data stored in pipelines.
~L1GctJetLeafCard() override
Level-1 Trigger jet candidate.
Pipeline< hfTowerSumsType > m_hfSumsPipe
Pipeline< etComponentType > m_exSumPipe
jetFinderType m_whichJetFinder
Pipeline< htComponentType > m_hxSumPipe
Base class to allow implementation of jetFinder algorithms.
Pipeline< etHadType > m_htSumPipe
void setNeighbourLeafCards(const std::vector< L1GctJetLeafCard * > &neighbours)
set pointers to neighbours - needed to complete the setup
std::vector< etComponentType > getAllOutputEx() const
L1GctJetFinderBase * getJetFinderB() const
std::vector< L1GctInternEtSum > getInternalEtSums() const
get the Et sums in internal component format
Pipeline< htComponentType > m_hySumPipe
friend std::ostream & operator<<(std::ostream &os, const L1GctJetLeafCard &card)
Overload << operator.
etComponentType getOutputEy() const
get the Ey output
L1GctJetFinderBase * getJetFinderC() const
L1GctJetFinderBase * m_jetFinderC
highest jetFinder in phi
etComponentType getOutputHy() const
void process() override
process the data and set outputs
void setBxRange(const int firstBx, const int numberOfBx)
define the bunch crossing range to process
etHadType getOutputHt() const
void resetPipelines() override
bool setupOk() const
Check setup is Ok.
std::vector< etHadType > getAllOutputHt() const
etComponentType getOutputHx() const
get the output Ht components
void reset()
clear internal buffers
L1GctUnsignedInt< L1GctInternEtSum::kTotEtOrHtNBits > etHadType
std::ostream & operator<<(std::ostream &os, const L1GctJetLeafCard &card)
void setNextBx(const int bx)
partially clear buffers
hfTowerSumsType getOutputHfSums() const
etTotalType getOutputEt() const
get the Et output
std::vector< L1GctInternHtMiss > getInternalHtMiss() const
static const int MAX_JET_FINDERS
Number of jetfinders per jet leaf card.
L1GctTwosComplement< L1GctInternEtSum::kMissExOrEyNBits > etComponentType
std::vector< L1GctJetCand > getOutputJetsB() const
Output jetfinder B jets (middle jetFinder in phi)
L1GctTwosComplement< L1GctInternHtMiss::kMissHxOrHyNBits > htComponentType
std::vector< htComponentType > getAllOutputHy() const
Pipeline< etTotalType > m_etSumPipe
void fetchInput() override
set the input buffers
std::vector< etTotalType > getAllOutputEt() const
get the Et output history
std::vector< etComponentType > getAllOutputEy() const
get the Ey output history
std::vector< hfTowerSumsType > getAllOutputHfSums() const
std::vector< L1GctJetCand > getOutputJetsA() const
Output jetfinder A jets (lowest jetFinder in phi)
L1GctUnsignedInt< L1GctInternEtSum::kTotEtOrHtNBits > etTotalType
etComponentType getOutputEx() const
get the Ex output
std::vector< L1GctJetCand > getOutputJetsC() const
Ouptut jetfinder C jets (highest jetFinder in phi)
L1GctJetFinderBase::hfTowerSumsType hfTowerSumsType
Pipeline< etComponentType > m_eySumPipe
ABC for a GCT trigger data processing unit.
L1GctJetLeafCard(int id, int iphi, jetFinderType jfType=tdrJetFinder)
L1GctJetFinderBase * m_jetFinderB
middle jetFinder in phi
L1GctJetFinderBase * m_jetFinderA
lowest jetFinder in phi
void setupObjects() override
Initialise inputs with null objects for the correct bunch crossing if required.