19 const std::vector<TCS::TOBArray *> & output,
22 return process(input,output,decision);
26 const bool &valueDecision,
27 const bool &valueOverflow)
34 }
else if(bitNumber<32) {
37 <<
" for algo "<<
name());
40 <<
" > 31 N output bits for algo "<<
name());
60 <<
" for algo "<<
name());
73 <<
" for algo "<<
name());
#define TRG_MSG_WARNING(x)
const std::string & name() const
DecisionAlg & setHardwareBits(const unsigned int &bitNumber, const bool &valueDecision, const bool &valueOverflow)
propagate the hardware decision bits for each output bit of this algo
unsigned int m_numberOutputBits
uint32_t m_hardwareDecisionBits
! decision bits from hardware (assume the algo won't have >31 output bits)
uint32_t m_hardwareOverflowBits
! overflow bits from hardware (assume the algo won't have >31 output bits)
bool fillHistosBasedOnHardware() const
! getter
bool fillHistos() const
whether the monitoring histograms should be filled
bool skipHistos() const
! getter
bool m_skipHistos
! skip filling monitoring histos, used only when m_fillHistosBasedOnHardware==true
bool m_fillHistosBasedOnHardware
! fill accept/reject monitoring histos based on hdw decision
virtual TCS::StatusCode processBitCorrect(const std::vector< TCS::TOBArray const * > &input, const std::vector< TCS::TOBArray * > &output, Decision &decison)=0
bool getOverflowHardwareBit(const unsigned int &bitNumber) const
! get one hardware overflow bit from this algo
bool getDecisionHardwareBit(const unsigned int &bitNumber) const
! get one hardware decision bit from this algo
DecisionAlg & setSkipHistos(const bool &value)
! toggle m_skipHistos (see TopoSteering::setOutputAlgosSkipHistograms)
DecisionAlg & setFillHistosBasedOnHardware(const bool &value)
! toggle m_fillHistosBasedOnHardware
virtual StatusCode doReset()
DecisionAlg & resetHardwareBits()
! reset all hardware bits for this algo
const std::string process