![]() |
ATLAS Offline Software
|
#include <L1TopoSimulation.h>
Public Member Functions | |
| L1TopoSimulation (const std::string &name, ISvcLocator *pSvcLocator) | |
| virtual StatusCode initialize | ATLAS_NOT_THREAD_SAFE () override |
| virtual StatusCode | start () override |
| virtual StatusCode | execute () override |
| virtual StatusCode | finalize () override |
| virtual bool | isClonable () const override |
| virtual StatusCode | sysInitialize () override |
| Override sysInitialize. | |
| virtual const DataObjIDColl & | extraOutputDeps () const override |
| Return the list of extra output dependencies. | |
| ServiceHandle< StoreGateSvc > & | evtStore () |
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc. | |
| const ServiceHandle< StoreGateSvc > & | detStore () const |
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc. | |
| virtual StatusCode | sysStart () override |
| Handle START transition. | |
| virtual std::vector< Gaudi::DataHandle * > | inputHandles () const override |
| Return this algorithm's input handles. | |
| virtual std::vector< Gaudi::DataHandle * > | outputHandles () const override |
| Return this algorithm's output handles. | |
| Gaudi::Details::PropertyBase & | declareProperty (Gaudi::Property< T, V, H > &t) |
| void | updateVHKA (Gaudi::Details::PropertyBase &) |
| MsgStream & | msg () const |
| bool | msgLvl (const MSG::Level lvl) const |
Protected Member Functions | |
| void | renounceArray (SG::VarHandleKeyArray &handlesArray) |
| remove all handles from I/O resolution | |
| std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > | renounce (T &h) |
| void | extraDeps_update_handler (Gaudi::Details::PropertyBase &ExtraDeps) |
| Add StoreName to extra input/output deps as needed. | |
Private Types | |
| typedef ServiceHandle< StoreGateSvc > | StoreGateSvc_t |
Private Member Functions | |
| StatusCode | retrieveHardwareDecision (bool isLegacy, const EventContext &ctx) |
| Retrieve the L1Topo hardware bits from the DAQ RODs. | |
| StatusCode | hardwareDecisionPhase1 (const EventContext &ctx) |
| StatusCode | hardwareDecisionLegacy () |
| void | WriteEDM (SG::WriteHandle< xAOD::L1TopoSimResultsContainer > &handle, const std::string &name, unsigned int clock, uint32_t word) |
| void | WriteEDM_Overflow (SG::WriteHandle< xAOD::L1TopoSimResultsContainer > &handle, const std::string &name, unsigned int clock, uint32_t word) |
| void | WriteEDM (SG::WriteHandle< xAOD::L1TopoSimResultsContainer > &handle, const std::string &name, unsigned int clock, uint64_t word) |
| void | WriteEDM_Overflow (SG::WriteHandle< xAOD::L1TopoSimResultsContainer > &handle, const std::string &name, unsigned int clock, uint64_t word) |
| Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKey> | |
Private Attributes | |
| std::unique_ptr< TCS::TopoSteering > | m_topoSteering |
| the topo steering | |
| std::unique_ptr< LVL1::PeriodicScaler > | m_scaler {nullptr} |
| ServiceHandle< ITHistSvc > | m_histSvc { this, "HistSvc", "THistSvc/THistSvc", "Histogramming service for L1Topo algorithms" } |
| prescale decision tool | |
| ToolHandle< IInputTOBConverter > | m_emtauInputProvider { this, "EMTAUInputProvider", "LVL1::EMTauInputProvider/EMTauInputProvider", "Tool to fill the EMTAU TOBs of the topo input event" } |
| ToolHandle< IInputTOBConverter > | m_jetInputProvider { this, "JetInputProvider", "LVL1::JetInputProvider/JetInputProvider", "Tool to fill the Jet TOBs of the topo input event" } |
| ToolHandle< IInputTOBConverter > | m_energyInputProvider { this, "EnergyInputProvider", "LVL1::EnergyInputProvider/EnergyInputProvider", "Tool to fill the energy and MET TOBs of the topo input event"} |
| ToolHandle< IInputTOBConverter > | m_muonInputProvider { this, "MuonInputProvider", "LVL1::MuonInputProvider/MuonInputProvider", "Tool to fill the muon TOBs of the topo input event" } |
| ToolHandle< IControlHistSvc > | m_ControlHistSvc { this, "ControlHistSvc", "LVL1::ControlHistSvc/ControlHistSvc", "Tool to change the histogramming service when needed." } |
| SG::WriteHandleKey< LVL1::FrontPanelCTP > | m_topoCTPLocation { this, "TopoCTPLocation", LVL1::DEFAULT_L1TopoCTPLocation, "StoreGate key of topo decision output for CTP"} |
| SG key of decision bits for CTP. | |
| SG::WriteHandleKey< LVL1::FrontPanelCTP > | m_topoOverflowCTPLocation { this, "TopoOverflowCTPLocation", LVL1::DEFAULT_L1TopoOverflowCTPLocation, "StoreGate key of topo overflow output for CTP"} |
| SG key of overflow bits for CTP. | |
| SG::WriteHandleKey< LVL1::FrontPanelCTP > | m_legacyTopoCTPLocation { this, "LegacyTopoCTPLocation", LVL1::DEFAULT_L1TopoLegacyCTPLocation, "StoreGate key of topo decision output for CTP"} |
| SG key of decision bits for CTP. | |
| SG::WriteHandleKey< LVL1::FrontPanelCTP > | m_legacyTopoOverflowCTPLocation { this, "LegacyTopoOverflowCTPLocation", LVL1::DEFAULT_L1TopoLegacyOverflowCTPLocation, "StoreGate key of topo overflow output for CTP"} |
| SG key of overflow bits for CTP. | |
| SG::WriteHandleKey< xAOD::L1TopoSimResultsContainer > | m_legacyL1topoKey {this,"Key_LegacyL1TopoSimContainer","L1_LegacyTopoSimResults","Output legacy l1topo container"} |
| SG::WriteHandleKey< xAOD::L1TopoSimResultsContainer > | m_l1topoKey {this,"Key_L1TopoSimContainer","L1_TopoSimResults","Output l1topo container"} |
| SG::ReadHandleKey< xAOD::L1TopoRawDataContainer > | m_l1topoRawDataKey {this, "L1_TopoRawDataKey", "L1_Phase1L1TopoRAWData", "l1topo Raw Data"} |
| Gaudi::Property< bool > | m_doMonitoring { this, "doMonitoring", false, "Do Monitoring of L1Topo Algorithms" } |
| Gaudi::Property< bool > | m_isLegacyTopo { this, "IsLegacyTopo", false, "Simulation of Legacy L1Topo boards" } |
| Gaudi::Property< bool > | m_enableInputDump { this, "EnableInputDump", false, "Enable writing of input data for standalone running" } |
| Gaudi::Property< bool > | m_enableBitwise { this, "UseBitwise", true, "Boolean to enable the bitwise version of software algorithms"} |
| Gaudi::Property< std::string > | m_inputDumpFile { this, "InputDumpFile", "inputdump.txt", "File name for dumping input data" } |
| Gaudi::Property< int > | m_topoOutputLevel { this, "TopoOutputLevel", TrigConf::MSGTC::WARNING, "OutputLevel for L1Topo algorithms"} |
| Gaudi::Property< int > | m_topoSteeringOutputLevel { this, "TopoSteeringOutputLevel", TrigConf::MSGTC::WARNING, "OutputLevel for L1Topo steering"} |
| Gaudi::Property< bool > | m_fillHistogramsBasedOnHardwareDecision { this, "FillHistoBasedOnHardware", false, "Fill accept/reject histograms based on hdw; default based on sim" } |
| Gaudi::Property< unsigned int > | m_prescaleForDAQROBAccess { this, "PrescaleDAQROBAccess", 4, "Prescale factor for requests for DAQ ROBs: can be used to avoid overloading ROS. Zero means disabled, 1 means always, N means sample only 1 in N events"} |
| Gaudi::Property< unsigned int > | m_prescale { this, "Prescale", 1, "Internal prescale factor for this algorithm, implemented with a periodic scaler: so 1 means run every time, N means run every 1 in N times it is called; the other times it will exit without doing anything"} |
| Gaudi::Property< std::string > | m_histBaseDir { this, "MonHistBaseDir", "L1/L1TopoAlgorithms", "Base directory for monitoring histograms will be /EXPERT/<MonHistBaseDir>"} |
| DataObjIDColl | m_extendedExtraObjects |
| StoreGateSvc_t | m_evtStore |
| Pointer to StoreGate (event store by default) | |
| StoreGateSvc_t | m_detStore |
| Pointer to StoreGate (detector store by default) | |
| std::vector< SG::VarHandleKeyArray * > | m_vhka |
| bool | m_varHandleArraysDeclared |
Definition at line 34 of file L1TopoSimulation.h.
|
privateinherited |
Definition at line 388 of file AthCommonDataStore.h.
| L1TopoSimulation::L1TopoSimulation | ( | const std::string & | name, |
| ISvcLocator * | pSvcLocator ) |
Definition at line 36 of file L1TopoSimulation.cxx.
|
overridevirtual |
|
inlineprivateinherited |
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
|
inlineinherited |
Definition at line 145 of file AthCommonDataStore.h.
|
inlineinherited |
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
Definition at line 95 of file AthCommonDataStore.h.
|
inlineinherited |
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
Definition at line 85 of file AthCommonDataStore.h.
|
overridevirtual |
Get the decision output and store for the CTP simulation
note the the topo simulation currently uses modules 0 and 1 while the CTP front panel expects the topo on cables 1 and 2 (cable 0 is coming from ALFA)
Definition at line 162 of file L1TopoSimulation.cxx.
|
protectedinherited |
Add StoreName to extra input/output deps as needed.
use the logic of the VarHandleKey to parse the DataObjID keys supplied via the ExtraInputs and ExtraOuputs Properties to add the StoreName if it's not explicitly given
|
overridevirtualinherited |
Return the list of extra output dependencies.
This list is extended to include symlinks implied by inheritance relations.
Definition at line 50 of file AthAlgorithm.cxx.
|
overridevirtual |
Definition at line 313 of file L1TopoSimulation.cxx.
|
private |
Definition at line 374 of file L1TopoSimulation.cxx.
|
private |
Definition at line 432 of file L1TopoSimulation.cxx.
|
overridevirtualinherited |
Return this algorithm's input handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
|
overridevirtual |
Definition at line 45 of file L1TopoSimulation.cxx.
|
inlineinherited |
Definition at line 24 of file AthCommonMsg.h.
|
inlineinherited |
Definition at line 30 of file AthCommonMsg.h.
|
overridevirtualinherited |
Return this algorithm's output handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
|
inlineprotectedinherited |
Definition at line 380 of file AthCommonDataStore.h.
|
inlineprotectedinherited |
remove all handles from I/O resolution
Definition at line 364 of file AthCommonDataStore.h.
|
private |
Retrieve the L1Topo hardware bits from the DAQ RODs.
No need to cache them within this AthAlgorithm; just pass them to TopoSteering, which will then do all the work with them.
Definition at line 367 of file L1TopoSimulation.cxx.
|
overridevirtual |
Definition at line 138 of file L1TopoSimulation.cxx.
|
overridevirtualinherited |
Override sysInitialize.
Override sysInitialize from the base class.
Loop through all output handles, and if they're WriteCondHandles, automatically register them and this Algorithm with the CondSvc
Scan through all outputHandles, and if they're WriteCondHandles, register them with the CondSvc
Reimplemented from AthCommonDataStore< AthCommonMsg< Algorithm > >.
Reimplemented in AthAnalysisAlgorithm, AthFilterAlgorithm, AthHistogramAlgorithm, and PyAthena::Alg.
Definition at line 66 of file AthAlgorithm.cxx.
|
overridevirtualinherited |
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
|
inlineinherited |
Definition at line 308 of file AthCommonDataStore.h.
|
private |
Definition at line 319 of file L1TopoSimulation.cxx.
|
private |
Definition at line 343 of file L1TopoSimulation.cxx.
|
private |
Definition at line 331 of file L1TopoSimulation.cxx.
|
private |
Definition at line 355 of file L1TopoSimulation.cxx.
|
private |
Definition at line 76 of file L1TopoSimulation.h.
|
privateinherited |
Pointer to StoreGate (detector store by default)
Definition at line 393 of file AthCommonDataStore.h.
|
private |
Definition at line 93 of file L1TopoSimulation.h.
|
private |
Definition at line 71 of file L1TopoSimulation.h.
|
private |
Definition at line 96 of file L1TopoSimulation.h.
|
private |
Definition at line 95 of file L1TopoSimulation.h.
|
private |
Definition at line 73 of file L1TopoSimulation.h.
|
privateinherited |
Pointer to StoreGate (event store by default)
Definition at line 390 of file AthCommonDataStore.h.
|
privateinherited |
Definition at line 79 of file AthAlgorithm.h.
|
private |
Definition at line 102 of file L1TopoSimulation.h.
|
private |
Definition at line 105 of file L1TopoSimulation.h.
|
private |
prescale decision tool
Definition at line 69 of file L1TopoSimulation.h.
|
private |
Definition at line 97 of file L1TopoSimulation.h.
|
private |
Definition at line 94 of file L1TopoSimulation.h.
|
private |
Definition at line 72 of file L1TopoSimulation.h.
|
private |
Definition at line 88 of file L1TopoSimulation.h.
|
private |
Definition at line 90 of file L1TopoSimulation.h.
|
private |
Definition at line 87 of file L1TopoSimulation.h.
|
private |
SG key of decision bits for CTP.
Definition at line 83 of file L1TopoSimulation.h.
|
private |
SG key of overflow bits for CTP.
Definition at line 84 of file L1TopoSimulation.h.
|
private |
Definition at line 74 of file L1TopoSimulation.h.
|
private |
Definition at line 104 of file L1TopoSimulation.h.
|
private |
Definition at line 103 of file L1TopoSimulation.h.
|
private |
Definition at line 66 of file L1TopoSimulation.h.
|
private |
SG key of decision bits for CTP.
Definition at line 80 of file L1TopoSimulation.h.
|
private |
Definition at line 98 of file L1TopoSimulation.h.
|
private |
SG key of overflow bits for CTP.
Definition at line 81 of file L1TopoSimulation.h.
|
private |
the topo steering
Definition at line 65 of file L1TopoSimulation.h.
|
private |
Definition at line 99 of file L1TopoSimulation.h.
|
privateinherited |
Definition at line 399 of file AthCommonDataStore.h.
|
privateinherited |
Definition at line 398 of file AthCommonDataStore.h.