![]() |
ATLAS Offline Software
|
Trigger configuration service used when reading an xAOD file. More...
#include <xAODConfigSvc.h>
Public Member Functions | |
| xAODConfigSvc (const std::string &name, ISvcLocator *svcLoc) | |
| Standard service constructor. | |
| virtual StatusCode | initialize () override |
| Function initialising the service. | |
| virtual StatusCode | finalize () override |
| Function finalising the service. | |
| virtual void | handle (const Incident &inc) override |
| Function handling the incoming incidents. | |
| std::string | configurationSource () const override |
Implementation of the IILVL1ConfigSvc interface | |
| virtual const CTPConfig * | ctpConfig () const override |
| Get the LVL1 trigger menu. | |
| virtual const ThresholdConfig * | thresholdConfig () const override |
| Get the LVL1 threshold configuruation (not available from xAOD) | |
| virtual const BunchGroupSet * | bunchGroupSet () const override |
| Get the LVL1 bunch group set. | |
| virtual uint32_t | lvl1PrescaleKey () const override |
| Get the LVL1 prescale key. | |
| virtual uint32_t | bunchGroupSetKey () const override |
| Get the LVL1 bunch group set key. | |
Implementation of the IIHLTConfigSvc interface | |
| virtual const HLTChainList & | chains () const override |
| Get the HLT chains. | |
| virtual const HLTSequenceList & | sequences () const override |
| Get the HLT sequences. | |
| virtual uint32_t | masterKey () const override |
| Get the Super Master Key. | |
| virtual uint32_t | hltPrescaleKey () const override |
| Get the HLT prescale key. | |
Dummy implementation of the ILVL1ConfigSvc interface | |
| virtual const Muctpi * | muctpiConfig () const override |
| Get the MuCTPI's online configuration. | |
Impliment the JSON config interface. | |
| virtual const HLTMenu & | hltMenu (const EventContext &ctx=Gaudi::Hive::currentContext()) const override |
| Returns the JSON configured HLTMenu ptree. | |
| virtual const HLTMonitoring & | hltMonitoring (const EventContext &ctx=Gaudi::Hive::currentContext()) const override |
| Returns the JSON configured HLTMonitoring ptree. | |
| virtual const L1Menu & | l1Menu (const EventContext &ctx=Gaudi::Hive::currentContext()) const override |
| Returns the JSON configured L1 ptree. | |
| virtual const HLTPrescalesSet & | hltPrescalesSet (const EventContext &ctx=Gaudi::Hive::currentContext()) const override |
| Returns the JSON configured HLT prescales ptree. | |
| virtual const L1PrescalesSet & | l1PrescalesSet (const EventContext &ctx=Gaudi::Hive::currentContext()) const override |
| Returns the JSON configured L1 prescales ptree. | |
| virtual const L1BunchGroupSet & | l1BunchGroupSet (const EventContext &ctx=Gaudi::Hive::currentContext()) const override |
| Returns the JSON configured bunchgroup ptree. | |
Private Member Functions | |
| StatusCode | readMetadata () |
| Function reading in a new metadata object from the input. | |
| StatusCode | prepareEvent () |
| Function setting up the service for a new event. | |
| void | copyMetadataToPersonalStore (const xAOD::TriggerMenuJsonContainer *input, xAOD::TriggerMenuJsonContainer *existing) |
| Helper function for copying into the service's private data store. | |
| StatusCode | prepareEventRun3Athena (const EventContext &context) |
| Do per-event updating of R3 JSON-based metadata, reading the data direct from the Conditions and Detector stores (UseInFileMetadata=False case). | |
| StatusCode | prepareEventxAODTriggerMenuJson (const xAOD::TrigConfKeys *keys, const xAOD::BunchConfKey *bgKey, const EventContext &context) |
| Do per-event decoding for R3 in-file serialised xAOD::TriggerMenuJson metadata. | |
| StatusCode | prepareEventxAODTriggerMenu (const xAOD::TrigConfKeys *keys, const EventContext &context) |
| Do per-event decoding for R2 in-file serialised xAOD::TriggerMenu metadata. | |
| StatusCode | loadPtree (const std::string &humanName, const xAOD::TriggerMenuJsonContainer *metaContainer, const uint32_t keyToCheck, TriggerMenuJsonPtrWrapper &cacheOfLoadedMenuPtr, DataStructure &dataStructure, const bool optional=false) |
| Helper function to find a JSON in a given TriggerMenuJsonContainer using a given key, extract its ptree data. | |
Trigger configuration service used when reading an xAOD file.
This implementation of the ITrigConfigSvc interface can be used when reading an xAOD file in Athena to get the correct configuration for the current event.
Definition at line 75 of file xAODConfigSvc.h.
| TrigConf::xAODConfigSvc::xAODConfigSvc | ( | const std::string & | name, |
| ISvcLocator * | svcLoc ) |
Standard service constructor.
Definition at line 27 of file xAODConfigSvc.cxx.
|
overridevirtual |
Get the LVL1 bunch group set.
Definition at line 127 of file xAODConfigSvc.cxx.
|
overridevirtual |
Get the LVL1 bunch group set key.
Definition at line 247 of file xAODConfigSvc.cxx.
|
overridevirtual |
Get the HLT chains.
Definition at line 143 of file xAODConfigSvc.cxx.
|
inlineoverride |
Definition at line 161 of file xAODConfigSvc.h.
|
private |
Helper function for copying into the service's private data store.
Definition at line 614 of file xAODConfigSvc.cxx.
|
overridevirtual |
Get the LVL1 trigger menu.
Definition at line 112 of file xAODConfigSvc.cxx.
|
overridevirtual |
Function finalising the service.
Definition at line 106 of file xAODConfigSvc.cxx.
|
overridevirtual |
Function handling the incoming incidents.
Definition at line 405 of file xAODConfigSvc.cxx.
|
overridevirtual |
Returns the JSON configured HLTMenu ptree.
Definition at line 310 of file xAODConfigSvc.cxx.
|
overridevirtual |
Returns the JSON configured HLTMonitoring ptree.
Definition at line 327 of file xAODConfigSvc.cxx.
|
overridevirtual |
Get the HLT prescale key.
Definition at line 270 of file xAODConfigSvc.cxx.
|
overridevirtual |
Returns the JSON configured HLT prescales ptree.
Definition at line 355 of file xAODConfigSvc.cxx.
|
overridevirtual |
Function initialising the service.
Definition at line 34 of file xAODConfigSvc.cxx.
|
overridevirtual |
Returns the JSON configured bunchgroup ptree.
Definition at line 389 of file xAODConfigSvc.cxx.
|
overridevirtual |
Returns the JSON configured L1 ptree.
Definition at line 338 of file xAODConfigSvc.cxx.
|
overridevirtual |
Returns the JSON configured L1 prescales ptree.
Definition at line 372 of file xAODConfigSvc.cxx.
|
private |
Helper function to find a JSON in a given TriggerMenuJsonContainer using a given key, extract its ptree data.
| humanName | Name to print if things go wrong |
| metaContainer | Metadata container of TriggerMenuJson objects from which to load a ptree |
| keyToCheck | The key of the ptree to load |
| cacheOfLoadedMenuPtr | Slot's cache of the currently loaded TriggerMenuJson |
| DataStructure | dataStructure object to fill with the TriggerMenuJson's payload |
| optional | Set to true if it is expected in some valid scenarios for the payload to be missing |
Definition at line 955 of file xAODConfigSvc.cxx.
|
overridevirtual |
Get the LVL1 prescale key.
Definition at line 208 of file xAODConfigSvc.cxx.
|
overridevirtual |
Get the Super Master Key.
Definition at line 173 of file xAODConfigSvc.cxx.
|
inlineoverridevirtual |
Get the MuCTPI's online configuration.
Definition at line 129 of file xAODConfigSvc.h.
|
private |
Function setting up the service for a new event.
Definition at line 634 of file xAODConfigSvc.cxx.
|
private |
Do per-event updating of R3 JSON-based metadata, reading the data direct from the Conditions and Detector stores (UseInFileMetadata=False case).
Definition at line 727 of file xAODConfigSvc.cxx.
|
private |
Do per-event decoding for R2 in-file serialised xAOD::TriggerMenu metadata.
Definition at line 679 of file xAODConfigSvc.cxx.
|
private |
Do per-event decoding for R3 in-file serialised xAOD::TriggerMenuJson metadata.
Definition at line 848 of file xAODConfigSvc.cxx.
|
private |
Function reading in a new metadata object from the input.
Definition at line 449 of file xAODConfigSvc.cxx.
|
overridevirtual |
Get the HLT sequences.
Definition at line 158 of file xAODConfigSvc.cxx.
|
inlineoverridevirtual |
Get the LVL1 threshold configuruation (not available from xAOD)
Definition at line 93 of file xAODConfigSvc.h.
|
private |
Definition at line 280 of file xAODConfigSvc.h.
|
private |
Definition at line 279 of file xAODConfigSvc.h.
|
private |
The "translated" bunch group set object.
Definition at line 313 of file xAODConfigSvc.h.
|
private |
The "translated" HLT configuration object.
Definition at line 309 of file xAODConfigSvc.h.
|
private |
Definition at line 307 of file xAODConfigSvc.h.
|
private |
Definition at line 296 of file xAODConfigSvc.h.
|
private |
Definition at line 288 of file xAODConfigSvc.h.
|
private |
Definition at line 291 of file xAODConfigSvc.h.
|
private |
Definition at line 283 of file xAODConfigSvc.h.
|
private |
Definition at line 292 of file xAODConfigSvc.h.
|
private |
Definition at line 284 of file xAODConfigSvc.h.
|
private |
Definition at line 294 of file xAODConfigSvc.h.
|
private |
Definition at line 286 of file xAODConfigSvc.h.
|
private |
Definition at line 293 of file xAODConfigSvc.h.
|
private |
Definition at line 285 of file xAODConfigSvc.h.
|
private |
Definition at line 295 of file xAODConfigSvc.h.
|
private |
Definition at line 287 of file xAODConfigSvc.h.
|
private |
Definition at line 200 of file xAODConfigSvc.h.
|
private |
Definition at line 197 of file xAODConfigSvc.h.
|
private |
Definition at line 270 of file xAODConfigSvc.h.
|
private |
Definition at line 269 of file xAODConfigSvc.h.
|
private |
Definition at line 233 of file xAODConfigSvc.h.
|
private |
Definition at line 272 of file xAODConfigSvc.h.
|
private |
Definition at line 271 of file xAODConfigSvc.h.
|
private |
Definition at line 239 of file xAODConfigSvc.h.
|
private |
Definition at line 276 of file xAODConfigSvc.h.
|
private |
Definition at line 275 of file xAODConfigSvc.h.
|
private |
|
private |
Definition at line 245 of file xAODConfigSvc.h.
|
private |
Definition at line 274 of file xAODConfigSvc.h.
|
private |
Definition at line 273 of file xAODConfigSvc.h.
|
private |
Definition at line 236 of file xAODConfigSvc.h.
|
private |
Definition at line 242 of file xAODConfigSvc.h.
|
private |
Definition at line 278 of file xAODConfigSvc.h.
|
private |
Definition at line 277 of file xAODConfigSvc.h.
|
private |
Definition at line 263 of file xAODConfigSvc.h.
|
private |
|
private |
Definition at line 205 of file xAODConfigSvc.h.
|
private |
Definition at line 226 of file xAODConfigSvc.h.
|
private |
Definition at line 211 of file xAODConfigSvc.h.
|
private |
Definition at line 214 of file xAODConfigSvc.h.
|
private |
Definition at line 220 of file xAODConfigSvc.h.
|
private |
Definition at line 217 of file xAODConfigSvc.h.
|
private |
Definition at line 223 of file xAODConfigSvc.h.
|
private |
Connection to the metadata store.
Definition at line 317 of file xAODConfigSvc.h.
|
private |
The "translated" HLT configuration object.
Definition at line 311 of file xAODConfigSvc.h.
|
private |
The mutex used to to restrict access to m_tmc when it is being written to.
Definition at line 300 of file xAODConfigSvc.h.
|
private |
Definition at line 252 of file xAODConfigSvc.h.
|
private |
Definition at line 260 of file xAODConfigSvc.h.
|
private |
Definition at line 259 of file xAODConfigSvc.h.
|
private |
|
private |
Definition at line 248 of file xAODConfigSvc.h.