#include <L1GctJetLeafCard.h>
Public Types | |
typedef L1GctTwosComplement < L1GctInternEtSum::kMissExOrEyNBits > | etComponentType |
typedef L1GctUnsignedInt < L1GctInternEtSum::kTotEtOrHtNBits > | etHadType |
typedef L1GctUnsignedInt < L1GctInternEtSum::kTotEtOrHtNBits > | etTotalType |
typedef L1GctJetFinderBase::hfTowerSumsType | hfTowerSumsType |
typedef L1GctTwosComplement < L1GctInternHtMiss::kMissHxOrHyNBits > | htComponentType |
enum | jetFinderType { tdrJetFinder, hardwareJetFinder, nullJetFinder } |
enum | maxValues { etTotalMaxValue = L1GctInternEtSum::kTotEtOrHtMaxValue, htTotalMaxValue = L1GctInternEtSum::kTotEtOrHtMaxValue } |
Public Member Functions | |
virtual void | fetchInput () |
set the input buffers More... | |
std::vector< etTotalType > | getAllOutputEt () const |
get the Et output history More... | |
std::vector< etComponentType > | getAllOutputEx () const |
std::vector< etComponentType > | getAllOutputEy () const |
get the Ey output history More... | |
std::vector< hfTowerSumsType > | getAllOutputHfSums () const |
std::vector< etHadType > | getAllOutputHt () const |
std::vector< htComponentType > | getAllOutputHx () const |
get the output Ht components history More... | |
std::vector< htComponentType > | getAllOutputHy () const |
std::vector< L1GctInternEtSum > | getInternalEtSums () const |
get the Et sums in internal component format More... | |
std::vector< L1GctInternHtMiss > | getInternalHtMiss () const |
L1GctJetFinderBase * | getJetFinderA () const |
get pointers to associated jetfinders More... | |
L1GctJetFinderBase * | getJetFinderB () const |
L1GctJetFinderBase * | getJetFinderC () const |
etTotalType | getOutputEt () const |
get the Et output More... | |
etComponentType | getOutputEx () const |
get the Ex output More... | |
etComponentType | getOutputEy () const |
get the Ey output More... | |
hfTowerSumsType | getOutputHfSums () const |
etHadType | getOutputHt () const |
etComponentType | getOutputHx () const |
get the output Ht components More... | |
etComponentType | getOutputHy () const |
std::vector< L1GctJetCand > | getOutputJetsA () const |
Output jetfinder A jets (lowest jetFinder in phi) More... | |
std::vector< L1GctJetCand > | getOutputJetsB () const |
Output jetfinder B jets (middle jetFinder in phi) More... | |
std::vector< L1GctJetCand > | getOutputJetsC () const |
Ouptut jetfinder C jets (highest jetFinder in phi) More... | |
L1GctJetLeafCard (int id, int iphi, jetFinderType jfType=tdrJetFinder) | |
virtual void | process () |
process the data and set outputs More... | |
void | reset () |
clear internal buffers More... | |
void | setBxRange (const int firstBx, const int numberOfBx) |
define the bunch crossing range to process More... | |
void | setNeighbourLeafCards (const std::vector< L1GctJetLeafCard * > &neighbours) |
set pointers to neighbours - needed to complete the setup More... | |
void | setNextBx (const int bx) |
partially clear buffers More... | |
bool | setupOk () const |
Check setup is Ok. More... | |
~L1GctJetLeafCard () | |
Public Member Functions inherited from L1GctProcessor | |
L1GctProcessor () | |
void | reset () |
complete reset of processor More... | |
void | setBxRange (const int firstBx, const int numberOfBx) |
define the bunch crossing range to process More... | |
void | setNextBx (const int bxnum) |
clear input data buffers and process a new bunch crossing More... | |
void | setTerse () |
bool | setupOk () const |
Method to check the setup for this processor. Returns true by default. More... | |
void | setVerbose () |
control output messages More... | |
virtual | ~L1GctProcessor () |
Static Public Attributes | |
static const int | MAX_JET_FINDERS = 3 |
Number of jetfinders per jet leaf card. More... | |
Protected Member Functions | |
virtual void | resetPipelines () |
virtual void | resetProcessor () |
Separate reset methods for the processor itself and any data stored in pipelines. More... | |
virtual void | setupObjects () |
Initialise inputs with null objects for the correct bunch crossing if required. More... | |
Protected Member Functions inherited from L1GctProcessor | |
int | bxAbs () const |
int | bxMax () const |
int | bxMin () const |
Support for multiple beam crossing operation. More... | |
int | bxRel () const |
int | numOfBx () const |
Private Attributes | |
bool | m_ctorInputOk |
etTotalType | m_etSum |
Pipeline< etTotalType > | m_etSumPipe |
etComponentType | m_exSum |
Pipeline< etComponentType > | m_exSumPipe |
etComponentType | m_eySum |
Pipeline< etComponentType > | m_eySumPipe |
hfTowerSumsType | m_hfSums |
Pipeline< hfTowerSumsType > | m_hfSumsPipe |
etHadType | m_htSum |
Pipeline< etHadType > | m_htSumPipe |
htComponentType | m_hxSum |
Pipeline< htComponentType > | m_hxSumPipe |
htComponentType | m_hySum |
Pipeline< htComponentType > | m_hySumPipe |
int | m_id |
L1GctJetFinderBase * | m_jetFinderA |
lowest jetFinder in phi More... | |
L1GctJetFinderBase * | m_jetFinderB |
middle jetFinder in phi More... | |
L1GctJetFinderBase * | m_jetFinderC |
highest jetFinder in phi More... | |
jetFinderType | m_whichJetFinder |
int | phiPosition |
Friends | |
std::ostream & | operator<< (std::ostream &os, const L1GctJetLeafCard &card) |
Overload << operator. More... | |
Additional Inherited Members | |
Protected Attributes inherited from L1GctProcessor | |
bool | m_verbose |
Flag to control output messages. More... | |
Definition at line 28 of file L1GctJetLeafCard.h.
Definition at line 41 of file L1GctJetLeafCard.h.
Definition at line 39 of file L1GctJetLeafCard.h.
Definition at line 38 of file L1GctJetLeafCard.h.
Definition at line 44 of file L1GctJetLeafCard.h.
typedef L1GctTwosComplement< L1GctInternHtMiss::kMissHxOrHyNBits > L1GctJetLeafCard::htComponentType |
Definition at line 42 of file L1GctJetLeafCard.h.
Enumerator | |
---|---|
tdrJetFinder | |
hardwareJetFinder | |
nullJetFinder |
Definition at line 32 of file L1GctJetLeafCard.h.
L1GctJetLeafCard::L1GctJetLeafCard | ( | int | id, |
int | iphi, | ||
jetFinderType | jfType = tdrJetFinder |
||
) |
Definition at line 15 of file L1GctJetLeafCard.cc.
References hardwareJetFinder, m_ctorInputOk, m_id, m_jetFinderA, m_jetFinderB, m_jetFinderC, L1GctProcessor::m_verbose, m_whichJetFinder, nullJetFinder, phiPosition, and tdrJetFinder.
L1GctJetLeafCard::~L1GctJetLeafCard | ( | ) |
Definition at line 87 of file L1GctJetLeafCard.cc.
References m_jetFinderA, m_jetFinderB, and m_jetFinderC.
|
virtual |
set the input buffers
Implements L1GctProcessor.
Definition at line 189 of file L1GctJetLeafCard.cc.
References L1GctJetFinderBase::fetchInput(), m_jetFinderA, m_jetFinderB, and m_jetFinderC.
|
inline |
get the Et output history
Definition at line 118 of file L1GctJetLeafCard.h.
References m_etSumPipe.
|
inline |
Bunch crossing history acces methods get the Ex output history
Definition at line 108 of file L1GctJetLeafCard.h.
References m_exSumPipe.
|
inline |
get the Ey output history
Definition at line 111 of file L1GctJetLeafCard.h.
References m_eySumPipe.
|
inline |
Definition at line 121 of file L1GctJetLeafCard.h.
References m_hfSumsPipe.
|
inline |
|
inline |
get the output Ht components history
Definition at line 114 of file L1GctJetLeafCard.h.
References m_hxSumPipe.
|
inline |
Definition at line 115 of file L1GctJetLeafCard.h.
References m_hySumPipe.
std::vector< L1GctInternEtSum > L1GctJetLeafCard::getInternalEtSums | ( | ) | const |
get the Et sums in internal component format
Definition at line 268 of file L1GctJetLeafCard.cc.
References L1GctProcessor::bxMin(), L1GctInternEtSum::fromEmulatorJetMissEt(), L1GctInternEtSum::fromEmulatorJetTotEt(), L1GctInternEtSum::fromEmulatorJetTotHt(), m_etSumPipe, m_exSumPipe, m_eySumPipe, m_htSumPipe, L1GctProcessor::numOfBx(), and query::result.
std::vector< L1GctInternHtMiss > L1GctJetLeafCard::getInternalHtMiss | ( | ) | const |
Definition at line 289 of file L1GctJetLeafCard.cc.
References L1GctProcessor::bxMin(), L1GctInternHtMiss::emulatorMissHtxHty(), m_hxSumPipe, m_hySumPipe, L1GctProcessor::numOfBx(), and query::result.
|
inline |
get pointers to associated jetfinders
Definition at line 81 of file L1GctJetLeafCard.h.
References m_jetFinderA.
|
inline |
Definition at line 82 of file L1GctJetLeafCard.h.
References m_jetFinderB.
|
inline |
Definition at line 83 of file L1GctJetLeafCard.h.
References m_jetFinderC.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
L1GctJetFinderBase::JetVector L1GctJetLeafCard::getOutputJetsA | ( | ) | const |
Output jetfinder A jets (lowest jetFinder in phi)
Definition at line 261 of file L1GctJetLeafCard.cc.
References L1GctJetFinderBase::getJets(), and m_jetFinderA.
L1GctJetFinderBase::JetVector L1GctJetLeafCard::getOutputJetsB | ( | ) | const |
Output jetfinder B jets (middle jetFinder in phi)
Definition at line 263 of file L1GctJetLeafCard.cc.
References L1GctJetFinderBase::getJets(), and m_jetFinderB.
L1GctJetFinderBase::JetVector L1GctJetLeafCard::getOutputJetsC | ( | ) | const |
Ouptut jetfinder C jets (highest jetFinder in phi)
Definition at line 265 of file L1GctJetLeafCard.cc.
References L1GctJetFinderBase::getJets(), and m_jetFinderC.
|
virtual |
process the data and set outputs
Implements L1GctProcessor.
Definition at line 195 of file L1GctJetLeafCard.cc.
References L1GctProcessor::bxRel(), etTotalMaxValue, L1GctJetFinderBase::getEtSum(), L1GctJetFinderBase::getExSum(), L1GctJetFinderBase::getEySum(), L1GctJetFinderBase::getHfSums(), L1GctJetFinderBase::getHtSum(), L1GctJetFinderBase::getHxSum(), L1GctJetFinderBase::getHySum(), htTotalMaxValue, m_etSum, m_etSumPipe, m_exSum, m_exSumPipe, m_eySum, m_eySumPipe, m_hfSums, m_hfSumsPipe, m_htSum, m_htSumPipe, m_hxSum, m_hxSumPipe, m_hySum, m_hySumPipe, m_jetFinderA, m_jetFinderB, m_jetFinderC, L1GctUnsignedInt< nBits >::overFlow(), L1GctJetFinderBase::process(), setupOk(), and L1GctUnsignedInt< nBits >::setValue().
Referenced by ConfigBuilder.ConfigBuilder::addExtraStream(), ConfigBuilder.ConfigBuilder::completeInputCommand(), ConfigBuilder.ConfigBuilder::doNotInlineEventContent(), ConfigBuilder.ConfigBuilder.PrintAllModules::leave(), ConfigBuilder.ConfigBuilder::prepare_HLT(), ConfigBuilder.ConfigBuilder::prepare_LHE(), ConfigBuilder.ConfigBuilder::prepare_PATFILTER(), ConfigBuilder.ConfigBuilder::prepare_VALIDATION(), ConfigBuilder.ConfigBuilder::renameHLTprocessInSequence(), ConfigBuilder.ConfigBuilder::renameInputTagsInSequence(), and ConfigBuilder.ConfigBuilder::scheduleSequence().
void L1GctJetLeafCard::reset | ( | void | ) |
clear internal buffers
clear buffers
Definition at line 145 of file L1GctJetLeafCard.cc.
References m_jetFinderA, m_jetFinderB, m_jetFinderC, and L1GctProcessor::reset().
|
protectedvirtual |
Implements L1GctProcessor.
Definition at line 178 of file L1GctJetLeafCard.cc.
References m_etSumPipe, m_exSumPipe, m_eySumPipe, m_hfSumsPipe, m_htSumPipe, m_hxSumPipe, m_hySumPipe, and L1GctProcessor::numOfBx().
|
protectedvirtual |
Separate reset methods for the processor itself and any data stored in pipelines.
Implements L1GctProcessor.
Definition at line 167 of file L1GctJetLeafCard.cc.
References m_etSum, m_exSum, m_eySum, m_hfSums, m_htSum, m_hxSum, m_hySum, L1GctUnsignedInt< nBits >::reset(), L1GctTwosComplement< nBits >::reset(), and L1GctJetFinderBase::hfTowerSumsType::reset().
void L1GctJetLeafCard::setBxRange | ( | const int | firstBx, |
const int | numberOfBx | ||
) |
define the bunch crossing range to process
partially clear buffers
Definition at line 153 of file L1GctJetLeafCard.cc.
References m_jetFinderA, m_jetFinderB, m_jetFinderC, and L1GctProcessor::setBxRange().
void L1GctJetLeafCard::setNeighbourLeafCards | ( | const std::vector< L1GctJetLeafCard * > & | neighbours | ) |
set pointers to neighbours - needed to complete the setup
set pointers to neighbours
Definition at line 95 of file L1GctJetLeafCard.cc.
References m_ctorInputOk, m_id, m_jetFinderA, m_jetFinderB, m_jetFinderC, L1GctProcessor::m_verbose, and L1GctJetFinderBase::setNeighbourJetFinders().
void L1GctJetLeafCard::setNextBx | ( | const int | bx | ) |
partially clear buffers
Definition at line 160 of file L1GctJetLeafCard.cc.
References m_jetFinderA, m_jetFinderB, m_jetFinderC, and L1GctProcessor::setNextBx().
|
inlineprotectedvirtual |
Initialise inputs with null objects for the correct bunch crossing if required.
Implements L1GctProcessor.
Definition at line 134 of file L1GctJetLeafCard.h.
bool L1GctJetLeafCard::setupOk | ( | ) | const |
Check setup is Ok.
Definition at line 253 of file L1GctJetLeafCard.cc.
References m_ctorInputOk, m_jetFinderA, m_jetFinderB, m_jetFinderC, and L1GctJetFinderBase::setupOk().
Referenced by process().
|
friend |
Overload << operator.
Definition at line 123 of file L1GctJetLeafCard.cc.
|
private |
Definition at line 171 of file L1GctJetLeafCard.h.
Referenced by L1GctJetLeafCard(), setNeighbourLeafCards(), and setupOk().
|
private |
Definition at line 157 of file L1GctJetLeafCard.h.
Referenced by getOutputEt(), operator<<(), process(), and resetProcessor().
|
private |
Definition at line 167 of file L1GctJetLeafCard.h.
Referenced by getAllOutputEt(), getInternalEtSums(), process(), and resetPipelines().
|
private |
Definition at line 153 of file L1GctJetLeafCard.h.
Referenced by getOutputEx(), operator<<(), process(), and resetProcessor().
|
private |
Definition at line 163 of file L1GctJetLeafCard.h.
Referenced by getAllOutputEx(), getInternalEtSums(), process(), and resetPipelines().
|
private |
Definition at line 154 of file L1GctJetLeafCard.h.
Referenced by getOutputEy(), operator<<(), process(), and resetProcessor().
|
private |
Definition at line 164 of file L1GctJetLeafCard.h.
Referenced by getAllOutputEy(), getInternalEtSums(), process(), and resetPipelines().
|
private |
Definition at line 160 of file L1GctJetLeafCard.h.
Referenced by getOutputHfSums(), process(), and resetProcessor().
|
private |
Definition at line 169 of file L1GctJetLeafCard.h.
Referenced by getAllOutputHfSums(), process(), and resetPipelines().
|
private |
Definition at line 158 of file L1GctJetLeafCard.h.
Referenced by getOutputHt(), operator<<(), process(), and resetProcessor().
|
private |
Definition at line 168 of file L1GctJetLeafCard.h.
Referenced by getAllOutputHt(), getInternalEtSums(), process(), and resetPipelines().
|
private |
Definition at line 155 of file L1GctJetLeafCard.h.
Referenced by getOutputHx(), operator<<(), process(), and resetProcessor().
|
private |
Definition at line 165 of file L1GctJetLeafCard.h.
Referenced by getAllOutputHx(), getInternalHtMiss(), process(), and resetPipelines().
|
private |
Definition at line 156 of file L1GctJetLeafCard.h.
Referenced by getOutputHy(), operator<<(), process(), and resetProcessor().
|
private |
Definition at line 166 of file L1GctJetLeafCard.h.
Referenced by getAllOutputHy(), getInternalHtMiss(), process(), and resetPipelines().
|
private |
Definition at line 139 of file L1GctJetLeafCard.h.
Referenced by L1GctJetLeafCard(), operator<<(), and setNeighbourLeafCards().
|
private |
lowest jetFinder in phi
Definition at line 145 of file L1GctJetLeafCard.h.
Referenced by fetchInput(), getJetFinderA(), getOutputJetsA(), L1GctJetLeafCard(), operator<<(), process(), reset(), setBxRange(), setNeighbourLeafCards(), setNextBx(), setupOk(), and ~L1GctJetLeafCard().
|
private |
middle jetFinder in phi
Definition at line 146 of file L1GctJetLeafCard.h.
Referenced by fetchInput(), getJetFinderB(), getOutputJetsB(), L1GctJetLeafCard(), operator<<(), process(), reset(), setBxRange(), setNeighbourLeafCards(), setNextBx(), setupOk(), and ~L1GctJetLeafCard().
|
private |
highest jetFinder in phi
Definition at line 147 of file L1GctJetLeafCard.h.
Referenced by fetchInput(), getJetFinderC(), getOutputJetsC(), L1GctJetLeafCard(), operator<<(), process(), reset(), setBxRange(), setNeighbourLeafCards(), setNextBx(), setupOk(), and ~L1GctJetLeafCard().
|
private |
Definition at line 142 of file L1GctJetLeafCard.h.
Referenced by L1GctJetLeafCard().
|
static |
Number of jetfinders per jet leaf card.
Definition at line 35 of file L1GctJetLeafCard.h.
|
private |
Definition at line 151 of file L1GctJetLeafCard.h.
Referenced by L1GctJetLeafCard(), and operator<<().