![]() |
ATLAS Offline Software
|
This is a tool to reconstruct the L1 JEM and CMX-Energy Et sums from Jet Elements. More...
#include <L1EnergyCMXTools.h>
Public Member Functions | |
| L1EnergyCMXTools (const std::string &type, const std::string &name, const IInterface *parent) | |
| Constructor. | |
| virtual | ~L1EnergyCMXTools () |
| default destructor | |
| virtual StatusCode | initialize () |
| standard Athena-Algorithm method | |
| virtual StatusCode | finalize () |
| standard Athena-Algorithm method | |
| virtual void | formJEMEtSums (const xAOD::JetElementContainer *jetElementVec, xAOD::JEMEtSumsContainer *jemEtSumsVec) const |
| form JEMEtSums from JetElements | |
| virtual void | formCMXEtSums (const xAOD::JEMEtSumsContainer *jemEtSumsVec, xAOD::CMXEtSumsContainer *cmxEtSumsVec) const |
| form complete CMXEtSums from JEMEtSums | |
| virtual void | formCMXEtSumsModule (const xAOD::JEMEtSumsContainer *jemEtSumsVec, xAOD::CMXEtSumsContainer *cmxEtSumsMod) const |
| form partial CMXEtSums (module) from JEMEtSums | |
| virtual void | formCMXEtSumsCrate (const xAOD::CMXEtSumsContainer *cmxEtSumsMod, xAOD::CMXEtSumsContainer *cmxEtSumsCrate) const |
| form partial CMXEtSums (crate) from module CMXEtSums | |
| virtual void | formCMXEtSumsSystem (const xAOD::CMXEtSumsContainer *cmxEtSumsCrate, xAOD::CMXEtSumsContainer *cmxEtSumsSys) const |
| form partial CMXEtSums (system) from crate CMXEtSums | |
| virtual void | formCMXEtSumsEtMaps (const xAOD::CMXEtSumsContainer *cmxEtSumsSys, xAOD::CMXEtSumsContainer *cmxEtSumsMap) const |
| form partial CMXEtSums (sumEt/missingEt maps) from system CMXEtSums | |
| 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 | sysInitialize () override |
| Perform system initialization for an algorithm. | |
| 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 |
Static Public Member Functions | |
| static const InterfaceID & | interfaceID () |
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 std::vector< uint16_t > | EnergyVector |
| typedef std::vector< uint32_t > | ErrorVector |
| typedef std::vector< DataVector< ModuleEnergy > * > | MultiSliceModuleEnergy |
| typedef std::vector< DataVector< CrateEnergy > * > | MultiSliceCrateEnergy |
| typedef std::vector< SystemEnergy * > | MultiSliceSystemEnergy |
| typedef ServiceHandle< StoreGateSvc > | StoreGateSvc_t |
Private Member Functions | |
| void | etSumsToModuleEnergy (const xAOD::CMXEtSumsContainer *etSums, MultiSliceModuleEnergy &modulesVec, int &peak) const |
| Convert CMXEtSums container to internal ModuleEnergy containers. | |
| void | etSumsToCrateEnergy (const xAOD::CMXEtSumsContainer *etSums, MultiSliceCrateEnergy &crateVecFull, MultiSliceCrateEnergy &crateVecRestricted, int &peak) const |
| Convert CMXEtSums container to internal CrateEnergy containers. | |
| void | etSumsToSystemEnergy (const xAOD::CMXEtSumsContainer *etSums, MultiSliceSystemEnergy &systemVec, int &peak) const |
| Convert CMXEtSums container to internal SystemEnergy objects. | |
| void | moduleEnergyToEtSums (const MultiSliceModuleEnergy &modulesVec, xAOD::JEMEtSumsContainer *jemEtSumsVec, int peak) const |
| Convert internal ModuleEnergy containers to JEMEtSums container. | |
| void | crateEnergyToEtSums (const MultiSliceCrateEnergy &cratesVec, xAOD::CMXEtSumsContainer *cmxEtSumsVec, int peak) const |
| Convert internal CrateEnergy containers to CMXEtSums container. | |
| void | crateEnergyToEtSums (const MultiSliceCrateEnergy &cratesVecFull, const MultiSliceCrateEnergy &cratesVecRestricted, xAOD::CMXEtSumsContainer *cmxEtSumsVec, int peak) const |
| void | systemEnergyToEtSums (const MultiSliceSystemEnergy &systemVec, xAOD::CMXEtSumsContainer *cmxEtSumsVec, int peak, xAOD::CMXEtSums_v1::Sources source=xAOD::CMXEtSums::TOTAL_STANDARD) const |
| Convert internal SystemEnergy objects to CMXEtSums object. | |
| void | etMapsToEtSums (const MultiSliceSystemEnergy &systemVec, xAOD::CMXEtSumsContainer *cmxEtSumsVec, int peak) const |
| Convert maps from internal SystemEnergy objects to CMXEtSums objects. | |
| void | findRestrictedEta (uint32_t &maskXE, uint32_t &maskTE) const |
| form partial CMXEtSums (crate) from module CMXEtSums | |
| void | dumpCrateEnergies (const std::string &msg, const MultiSliceCrateEnergy &crates) const |
| Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKey> | |
Private Attributes | |
| SG::ReadHandleKey< TrigConf::L1Menu > | m_L1MenuKey { this, "L1TriggerMenu", "DetectorStore+L1TriggerMenu", "L1 Menu" } |
| ToolHandle< LVL1::IL1JetElementTools > | m_jeTool |
| Tool for JetElement map. | |
| ToolHandle< LVL1::IL1EtTools > | m_etTool |
| Tool for energy sums. | |
| bool | m_debug = false |
| Debug flag. | |
| 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 |
This is a tool to reconstruct the L1 JEM and CMX-Energy Et sums from Jet Elements.
Used for offline monitoring and trigger reconstruction.
Useage: L1EnergyCMXTools->formJEMEtSums() // Form JEMEtSums from JetElements L1EnergyCMXTools->formCMXEtSums() // Form CMXEtSums from JEMEtSums
@author Peter Faulkner
Definition at line 47 of file L1EnergyCMXTools.h.
|
private |
Definition at line 83 of file L1EnergyCMXTools.h.
|
private |
Definition at line 84 of file L1EnergyCMXTools.h.
|
private |
Definition at line 86 of file L1EnergyCMXTools.h.
|
private |
Definition at line 85 of file L1EnergyCMXTools.h.
|
private |
Definition at line 87 of file L1EnergyCMXTools.h.
|
privateinherited |
Definition at line 388 of file AthCommonDataStore.h.
| LVL1::L1EnergyCMXTools::L1EnergyCMXTools | ( | const std::string & | type, |
| const std::string & | name, | ||
| const IInterface * | parent ) |
Constructor.
Definition at line 25 of file L1EnergyCMXTools.cxx.
|
virtual |
|
private |
Convert internal CrateEnergy containers to CMXEtSums container.
Definition at line 528 of file L1EnergyCMXTools.cxx.
|
private |
Definition at line 621 of file L1EnergyCMXTools.cxx.
|
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.
|
private |
Definition at line 942 of file L1EnergyCMXTools.cxx.
|
private |
Convert maps from internal SystemEnergy objects to CMXEtSums objects.
Definition at line 806 of file L1EnergyCMXTools.cxx.
|
private |
Convert CMXEtSums container to internal CrateEnergy containers.
Definition at line 362 of file L1EnergyCMXTools.cxx.
|
private |
Convert CMXEtSums container to internal ModuleEnergy containers.
Definition at line 322 of file L1EnergyCMXTools.cxx.
|
private |
Convert CMXEtSums container to internal SystemEnergy objects.
Definition at line 433 of file L1EnergyCMXTools.cxx.
|
inlineinherited |
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
Definition at line 85 of file AthCommonDataStore.h.
|
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
|
virtual |
standard Athena-Algorithm method
Finalisation.
Definition at line 60 of file L1EnergyCMXTools.cxx.
|
private |
form partial CMXEtSums (crate) from module CMXEtSums
Definition at line 175 of file L1EnergyCMXTools.cxx.
|
virtual |
form complete CMXEtSums from JEMEtSums
Implements LVL1::IL1EnergyCMXTools.
Definition at line 115 of file L1EnergyCMXTools.cxx.
|
virtual |
form partial CMXEtSums (crate) from module CMXEtSums
Implements LVL1::IL1EnergyCMXTools.
Definition at line 217 of file L1EnergyCMXTools.cxx.
|
virtual |
form partial CMXEtSums (sumEt/missingEt maps) from system CMXEtSums
form partial CMXEtSums (sumEt/missingEt/missingEtSig maps) from system CMXEtSums
Implements LVL1::IL1EnergyCMXTools.
Definition at line 304 of file L1EnergyCMXTools.cxx.
|
virtual |
form partial CMXEtSums (module) from JEMEtSums
Implements LVL1::IL1EnergyCMXTools.
Definition at line 155 of file L1EnergyCMXTools.cxx.
|
virtual |
form partial CMXEtSums (system) from crate CMXEtSums
Implements LVL1::IL1EnergyCMXTools.
Definition at line 259 of file L1EnergyCMXTools.cxx.
|
virtual |
form JEMEtSums from JetElements
Temporary version for testing bytestream converters and monitoring.
Until ModuleEnergy et al updated takes masked and normal values the same. Effect of quadlinear encoding/decoding ignored. form JEMEtSums from JetElements
Implements LVL1::IL1EnergyCMXTools.
Definition at line 71 of file L1EnergyCMXTools.cxx.
|
virtual |
standard Athena-Algorithm method
Initialisation.
Definition at line 45 of file L1EnergyCMXTools.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.
|
inlinestaticinherited |
Definition at line 51 of file IL1EnergyCMXTools.h.
|
private |
Convert internal ModuleEnergy containers to JEMEtSums container.
Definition at line 475 of file L1EnergyCMXTools.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.
|
overridevirtualinherited |
Perform system initialization for an algorithm.
We override this to declare all the elements of handle key arrays at the end of initialization. See comments on updateVHKA.
Reimplemented in asg::AsgMetadataTool, AthCheckedComponent< AthAlgTool >, AthCheckedComponent<::AthAlgTool >, and DerivationFramework::CfAthAlgTool.
|
overridevirtualinherited |
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
|
private |
Convert internal SystemEnergy objects to CMXEtSums object.
Definition at line 738 of file L1EnergyCMXTools.cxx.
|
inlineinherited |
Definition at line 308 of file AthCommonDataStore.h.
|
private |
Debug flag.
Definition at line 124 of file L1EnergyCMXTools.h.
|
privateinherited |
Pointer to StoreGate (detector store by default)
Definition at line 393 of file AthCommonDataStore.h.
|
private |
Tool for energy sums.
Definition at line 122 of file L1EnergyCMXTools.h.
|
privateinherited |
Pointer to StoreGate (event store by default)
Definition at line 390 of file AthCommonDataStore.h.
|
private |
Tool for JetElement map.
Definition at line 120 of file L1EnergyCMXTools.h.
|
private |
Definition at line 118 of file L1EnergyCMXTools.h.
|
privateinherited |
Definition at line 399 of file AthCommonDataStore.h.
|
privateinherited |
Definition at line 398 of file AthCommonDataStore.h.