32 const std::vector<TCS::TOBArray *> & output,
36 const std::vector<TCS::TOBArray *> & output,
48 const bool &valueDecision,
49 const bool &valueOverflow);
ConfigurableAlg(const std::string &name, AlgType algType)
const std::string & name() const
std::vector< std::string > m_histAcceptEta1Eta2
std::vector< std::string > m_histRejectEta2Eta3
friend class TopoSteering
virtual TCS::StatusCode process(const std::vector< TCS::TOBArray const * > &input, const std::vector< TCS::TOBArray * > &output, Decision &decison)=0
std::vector< std::string > m_histRejectEta3Eta1
DecisionAlg & setHardwareBits(const unsigned int &bitNumber, const bool &valueDecision, const bool &valueOverflow)
propagate the hardware decision bits for each output bit of this algo
std::vector< std::string > m_histAcceptM
unsigned int m_numberOutputBits
void setNumberOutputBits(unsigned int numberOutputBits)
std::vector< std::string > m_histAcceptEta2Eta3
DecisionAlg(const std::string &name)
std::vector< std::string > m_histRejectEta1Eta2
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
std::vector< std::string > m_histRejectX
bool m_fillHistosBasedOnHardware
! fill accept/reject monitoring histos based on hdw decision
std::vector< std::string > m_histAccept
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
std::vector< std::string > m_histReject
std::vector< std::string > m_histAcceptX
unsigned int numberOutputBits() const
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
std::vector< std::string > m_histAcceptEta3Eta1
std::vector< std::string > m_histRejectM