![]() |
ATLAS Offline Software
|
#include <TopoSteering.h>
Public Member Functions | |
| TopoSteering () | |
| const TopoSteeringStructure & | structure () const |
| TopoInputEvent & | inputEvent () |
| const TopoCoreSimResult & | simulationResult () const |
| StatusCode setupFromConfiguration | ATLAS_NOT_THREAD_SAFE (const TrigConf::L1Menu &l1menu) |
| void | setUseBitwise (bool useBitwise) |
| StatusCode | initializeAlgorithms () |
| StatusCode | executeEvent () |
| StatusCode | executeTrigger (const std::string &triggerName) |
| StatusCode | reset () |
| void | printDebugInfo () |
| const TCS::ParameterSpace & | parameters (const std::string &algName) const |
| const std::vector< TCS::Connector * > & | connectors () const |
| void | printConfiguration (std::ostream &o) const |
| void | setMsgLevel (TrigConf::MSGTC::Level lvl) |
| void | setAlgMsgLevel (TrigConf::MSGTC::Level lvl) |
| void | setLegacyMode (bool isLegacyTopo) |
| StatusCode | setHistSvc (std::shared_ptr< IL1TopoHistSvc > histSvc) |
| enables the histogramming service | |
| StatusCode | saveHist () |
| 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 propagateHardwareBitsToAlgos. | |
| void | propagateHardwareBitsToAlgos () |
| propagate the bits from hardware to each simulated decision algo. | |
| void | setOutputAlgosFillBasedOnHardware (const bool &value) |
| tell output algos to fill accept/reject histos based on hdw decision. | |
| void | setOutputAlgosSkipHistograms (const bool &value) |
| skip filling the histos | |
| bool | msgLvl (const MSGTC::Level lvl) const |
| Test the output level. | |
| MsgStreamTC & | msg () const |
| The standard message stream. | |
| MsgStreamTC & | msg (const MSGTC::Level lvl) const |
| The standard message stream. | |
| const std::string & | getName () const |
| name accessor | |
Static Public Attributes | |
| static const unsigned int | numberOfL1TopoBits = 128 |
Private Member Functions | |
| StatusCode | executeConnector (TCS::Connector *conn) |
| StatusCode | executeInputConnector (TCS::InputConnector *conn) |
| StatusCode | executeSortingConnector (TCS::SortingConnector *conn) |
| StatusCode | executeDecisionConnector (TCS::DecisionConnector *conn) |
| StatusCode | executeCountingConnector (TCS::CountingConnector *conn) |
| StatusCode | executeAlgorithm (ConfigurableAlg *alg, Connector *connector) |
| StatusCode | executeSortingAlgorithm (SortingAlg *alg, TCS::InputConnector *inputConnector, TOBArray *&output) |
| StatusCode | executeDecisionAlgorithm (TCS::DecisionAlg *alg, const std::vector< Connector * > &inputConnectors, const std::vector< TCS::TOBArray * > &output, Decision &decsion) |
| StatusCode | executeCountingAlgorithm (TCS::CountingAlg *alg, TCS::InputConnector *inputConnector, Count &count) |
Private Attributes | |
| bool | m_useBitwise {false} |
| bool | m_isLegacyTopo {false} |
| TopoInputEvent | m_inputEvent |
| TopoCoreSimResult | m_simulationResult |
| TopoSteeringStructure | m_structure |
| unsigned int | m_evtCounter {1} |
| TrigConf::MSGTC::Level | m_AlgMsgLvl { TrigConf::MSGTC::WARNING } |
| std::shared_ptr< IL1TopoHistSvc > | m_histSvc |
| std::bitset< numberOfL1TopoBits > | m_triggerHdwBits |
| std::bitset< numberOfL1TopoBits > | m_ovrflowHdwBits |
| boost::thread_specific_ptr< MsgStreamTC > | m_msg_tls |
| MsgStreamTC instance (a std::cout like with print-out levels) | |
| std::string | m_name |
Definition at line 47 of file TopoSteering.h.
| TopoSteering::TopoSteering | ( | ) |
Definition at line 38 of file TopoSteering.cxx.
| StatusCode setupFromConfiguration TCS::TopoSteering::ATLAS_NOT_THREAD_SAFE | ( | const TrigConf::L1Menu & | l1menu | ) |
|
inline |
Definition at line 84 of file TopoSteering.h.
|
private |
|
private |
Definition at line 191 of file TopoSteering.cxx.
|
private |
Definition at line 430 of file TopoSteering.cxx.
|
private |
Definition at line 338 of file TopoSteering.cxx.
|
private |
Definition at line 389 of file TopoSteering.cxx.
|
private |
Definition at line 280 of file TopoSteering.cxx.
| TCS::StatusCode TopoSteering::executeEvent | ( | ) |
Definition at line 134 of file TopoSteering.cxx.
|
private |
Definition at line 225 of file TopoSteering.cxx.
|
private |
Definition at line 371 of file TopoSteering.cxx.
|
private |
Definition at line 248 of file TopoSteering.cxx.
| TCS::StatusCode TopoSteering::executeTrigger | ( | const std::string & | triggerName | ) |
Definition at line 172 of file TopoSteering.cxx.
|
inlineinherited |
| TCS::StatusCode TopoSteering::initializeAlgorithms | ( | ) |
Definition at line 91 of file TopoSteering.cxx.
|
inline |
Definition at line 55 of file TopoSteering.h.
|
inlineinherited |
The standard message stream.
Returns a reference to the message stream May not be invoked before sysInitialize() has been invoked.
Definition at line 86 of file TrigConfMessaging.h.
|
inlineinherited |
The standard message stream.
Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.
Definition at line 96 of file TrigConfMessaging.h.
|
inlineinherited |
Test the output level.
| lvl | The message level to test against |
| true | Messages at level "lvl" will be printed |
Definition at line 75 of file TrigConfMessaging.h.
| const TCS::ParameterSpace & TCS::TopoSteering::parameters | ( | const std::string & | algName | ) | const |
| void TopoSteering::printConfiguration | ( | std::ostream & | o | ) | const |
Definition at line 459 of file TopoSteering.cxx.
| void TopoSteering::printDebugInfo | ( | ) |
Definition at line 445 of file TopoSteering.cxx.
| void TopoSteering::propagateHardwareBitsToAlgos | ( | ) |
propagate the bits from hardware to each simulated decision algo.
They will then be used to fill the accept/reject monitoring histograms.
Definition at line 500 of file TopoSteering.cxx.
| TCS::StatusCode TopoSteering::reset | ( | ) |
Definition at line 56 of file TopoSteering.cxx.
| TCS::StatusCode TopoSteering::saveHist | ( | ) |
Definition at line 123 of file TopoSteering.cxx.
| void TopoSteering::setAlgMsgLevel | ( | TrigConf::MSGTC::Level | lvl | ) |
Definition at line 482 of file TopoSteering.cxx.
| void TopoSteering::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 propagateHardwareBitsToAlgos.
Definition at line 493 of file TopoSteering.cxx.
| TCS::StatusCode TopoSteering::setHistSvc | ( | std::shared_ptr< IL1TopoHistSvc > | histSvc | ) |
enables the histogramming service
Definition at line 115 of file TopoSteering.cxx.
|
inline |
Definition at line 92 of file TopoSteering.h.
| void TopoSteering::setMsgLevel | ( | TrigConf::MSGTC::Level | lvl | ) |
Definition at line 470 of file TopoSteering.cxx.
| void TopoSteering::setOutputAlgosFillBasedOnHardware | ( | const bool & | value | ) |
tell output algos to fill accept/reject histos based on hdw decision.
In this case you will need to call setHardwareBits + propagateHardwareBitsToAlgos at each event.
Definition at line 520 of file TopoSteering.cxx.
| void TopoSteering::setOutputAlgosSkipHistograms | ( | const bool & | value | ) |
skip filling the histos
When filling the histograms based on the hdw decision we want to skip filling them if we didn't fetch the hdw bits from the ROS. The flag is then toggled on/off depending on the prescaler.
Definition at line 531 of file TopoSteering.cxx.
|
inline |
Definition at line 64 of file TopoSteering.h.
|
inline |
Definition at line 57 of file TopoSteering.h.
|
inline |
Definition at line 53 of file TopoSteering.h.
|
private |
Definition at line 164 of file TopoSteering.h.
|
private |
Definition at line 162 of file TopoSteering.h.
|
private |
Definition at line 166 of file TopoSteering.h.
|
private |
Definition at line 156 of file TopoSteering.h.
|
private |
Definition at line 154 of file TopoSteering.h.
|
mutableprivateinherited |
MsgStreamTC instance (a std::cout like with print-out levels)
Definition at line 71 of file TrigConfMessaging.h.
|
privateinherited |
Definition at line 72 of file TrigConfMessaging.h.
|
private |
Definition at line 169 of file TopoSteering.h.
|
private |
Definition at line 158 of file TopoSteering.h.
|
private |
Definition at line 160 of file TopoSteering.h.
|
private |
Definition at line 168 of file TopoSteering.h.
|
private |
Definition at line 152 of file TopoSteering.h.
|
static |
Definition at line 101 of file TopoSteering.h.