5#ifndef L1TopoCoreSim_TopoSteering
6#define L1TopoCoreSim_TopoSteering
106 void setHardwareBits(
const std::bitset<numberOfL1TopoBits> &triggerBits,
107 const std::bitset<numberOfL1TopoBits> &ovrflowBits);
Messaging base class for TrigConf code shared with Lvl1 ( AthMessaging)
Define macros for attributes used to control the static checker.
const std::vector< TCS::Connector * > & connectors() const
StatusCode executeSortingAlgorithm(SortingAlg *alg, TCS::InputConnector *inputConnector, TOBArray *&output)
const TopoCoreSimResult & simulationResult() const
void setOutputAlgosFillBasedOnHardware(const bool &value)
tell output algos to fill accept/reject histos based on hdw decision.
void printConfiguration(std::ostream &o) const
const std::vector< TCS::Connector * > & connectors() const
std::bitset< numberOfL1TopoBits > m_ovrflowHdwBits
TopoInputEvent m_inputEvent
StatusCode executeEvent()
std::bitset< numberOfL1TopoBits > m_triggerHdwBits
StatusCode executeSortingConnector(TCS::SortingConnector *conn)
void setMsgLevel(TrigConf::MSGTC::Level lvl)
void setHardwareBits(const std::bitset< numberOfL1TopoBits > &triggerBits, const std::bitset< numberOfL1TopoBits > &ovrflowBits)
cache the decision/overflow bits from hardware These bits are propagated to the algorithms with propa...
std::shared_ptr< IL1TopoHistSvc > m_histSvc
TopoSteeringStructure m_structure
void setOutputAlgosSkipHistograms(const bool &value)
skip filling the histos
StatusCode executeDecisionConnector(TCS::DecisionConnector *conn)
StatusCode executeAlgorithm(ConfigurableAlg *alg, Connector *connector)
const TopoSteeringStructure & structure() const
const TCS::ParameterSpace & parameters(const std::string &algName) const
TopoInputEvent & inputEvent()
unsigned int m_evtCounter
StatusCode executeInputConnector(TCS::InputConnector *conn)
void propagateHardwareBitsToAlgos()
propagate the bits from hardware to each simulated decision algo.
StatusCode setupFromConfiguration ATLAS_NOT_THREAD_SAFE(const TrigConf::L1Menu &l1menu)
void setLegacyMode(bool isLegacyTopo)
void setUseBitwise(bool useBitwise)
StatusCode executeTrigger(const std::string &triggerName)
StatusCode setHistSvc(std::shared_ptr< IL1TopoHistSvc > histSvc)
enables the histogramming service
StatusCode executeConnector(TCS::Connector *conn)
static const unsigned int numberOfL1TopoBits
StatusCode executeCountingConnector(TCS::CountingConnector *conn)
TopoCoreSimResult m_simulationResult
StatusCode executeCountingAlgorithm(TCS::CountingAlg *alg, TCS::InputConnector *inputConnector, Count &count)
TrigConf::MSGTC::Level m_AlgMsgLvl
StatusCode executeDecisionAlgorithm(TCS::DecisionAlg *alg, const std::vector< Connector * > &inputConnectors, const std::vector< TCS::TOBArray * > &output, Decision &decsion)
StatusCode initializeAlgorithms()
void setAlgMsgLevel(TrigConf::MSGTC::Level lvl)
Class to provide easy access to TrigConf::MsgStream for TrigConf classes.
int count(std::string s, const std::string ®x)
count how many occurances of a regx are in a string