![]() |
ATLAS Offline Software
|
This is a tool to reconstruct the L1 JEM and CMM-Energy Et sums from Jet Elements. More...
#include <L1JEPEtSumsTools.h>
Public Member Functions | |
| L1JEPEtSumsTools (const std::string &type, const std::string &name, const IInterface *parent) | |
| Constructor. | |
| virtual | ~L1JEPEtSumsTools () |
| default destructor | |
| virtual StatusCode | initialize () |
| standard Athena-Algorithm method | |
| virtual void | formJEMEtSums (const DataVector< xAOD::JetElement > *jetElementVec, DataVector< JEMEtSums > *jemEtSumsVec) const |
| form JEMEtSums from JetElements | |
| virtual void | formCMMEtSums (const DataVector< JEMEtSums > *jemEtSumsVec, DataVector< CMMEtSums > *cmmEtSumsVec) const |
| form complete CMMEtSums from JEMEtSums | |
| virtual void | formCMMEtSumsModule (const DataVector< JEMEtSums > *jemEtSumsVec, DataVector< CMMEtSums > *cmmEtSumsMod) const |
| form partial CMMEtSums (module) from JEMEtSums | |
| virtual void | formCMMEtSumsCrate (const DataVector< CMMEtSums > *cmmEtSumsMod, DataVector< CMMEtSums > *cmmEtSumsCrate) const |
| form partial CMMEtSums (crate) from module CMMEtSums | |
| virtual void | formCMMEtSumsSystem (const DataVector< CMMEtSums > *cmmEtSumsCrate, DataVector< CMMEtSums > *cmmEtSumsSys) const |
| form partial CMMEtSums (system) from crate CMMEtSums | |
| virtual void | formCMMEtSumsEtMaps (const DataVector< CMMEtSums > *cmmEtSumsSys, DataVector< CMMEtSums > *cmmEtSumsMap) const |
| form partial CMMEtSums (sumEt/missingEt maps) from system CMMEtSums | |
| 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< unsigned int > | EnergyVector |
| typedef std::vector< int > | 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 DataVector< CMMEtSums > *etSums, MultiSliceModuleEnergy &modulesVec, int &peak) const |
| Convert CMMEtSums container to internal ModuleEnergy containers. | |
| void | etSumsToCrateEnergy (const DataVector< CMMEtSums > *etSums, MultiSliceCrateEnergy &crateVec, int &peak) const |
| Convert CMMEtSums container to internal CrateEnergy containers. | |
| void | etSumsToSystemEnergy (const DataVector< CMMEtSums > *etSums, MultiSliceSystemEnergy &systemVec, int &peak) const |
| Convert CMMEtSums container to internal SystemEnergy objects. | |
| void | moduleEnergyToEtSums (const MultiSliceModuleEnergy &modulesVec, DataVector< JEMEtSums > *jemEtSumsVec, int peak) const |
| Convert internal ModuleEnergy containers to JEMEtSums container. | |
| void | crateEnergyToEtSums (const MultiSliceCrateEnergy &cratesVec, DataVector< CMMEtSums > *cmmEtSumsVec, int peak) const |
| Convert internal CrateEnergy containers to CMMEtSums container. | |
| void | systemEnergyToEtSums (const MultiSliceSystemEnergy &systemVec, DataVector< CMMEtSums > *cmmEtSumsVec, int peak) const |
| Convert internal SystemEnergy objects to CMMEtSums object. | |
| void | etMapsToEtSums (const MultiSliceSystemEnergy &systemVec, DataVector< CMMEtSums > *cmmEtSumsVec, int peak) const |
| Convert maps from internal SystemEnergy objects to CMMEtSums objects. | |
| Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKey> | |
Private Attributes | |
| ToolHandle< LVL1::IL1JetElementTools > | m_jeTool |
| Tool for JetElement map. | |
| ToolHandle< LVL1::IL1EtTools > | m_etTool |
| Tool for energy sums. | |
| SG::ReadHandleKey< TrigConf::L1Menu > | m_L1MenuKey { this, "L1TriggerMenu", "DetectorStore+L1TriggerMenu", "L1 Menu" } |
| 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 CMM-Energy Et sums from Jet Elements.
Used for offline monitoring and trigger reconstruction.
Useage: L1JEPEtSumsTools->formJEMEtSums() // Form JEMEtSums from JetElements L1JEPEtSumsTools->formCMMEtSums() // Form CMMEtSums from JEMEtSums
@author Peter Faulkner
Definition at line 52 of file L1JEPEtSumsTools.h.
|
private |
Definition at line 87 of file L1JEPEtSumsTools.h.
|
private |
Definition at line 88 of file L1JEPEtSumsTools.h.
|
private |
Definition at line 90 of file L1JEPEtSumsTools.h.
|
private |
Definition at line 89 of file L1JEPEtSumsTools.h.
|
private |
Definition at line 91 of file L1JEPEtSumsTools.h.
|
privateinherited |
Definition at line 388 of file AthCommonDataStore.h.
| LVL1::L1JEPEtSumsTools::L1JEPEtSumsTools | ( | const std::string & | type, |
| const std::string & | name, | ||
| const IInterface * | parent ) |
Constructor.
Definition at line 24 of file L1JEPEtSumsTools.cxx.
|
virtual |
|
private |
Convert internal CrateEnergy containers to CMMEtSums container.
Definition at line 383 of file L1JEPEtSumsTools.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 |
Convert maps from internal SystemEnergy objects to CMMEtSums objects.
Definition at line 509 of file L1JEPEtSumsTools.cxx.
|
private |
Convert CMMEtSums container to internal CrateEnergy containers.
Definition at line 260 of file L1JEPEtSumsTools.cxx.
|
private |
Convert CMMEtSums container to internal ModuleEnergy containers.
Definition at line 226 of file L1JEPEtSumsTools.cxx.
|
private |
Convert CMMEtSums container to internal SystemEnergy objects.
Definition at line 304 of file L1JEPEtSumsTools.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 |
form complete CMMEtSums from JEMEtSums
Implements LVL1::IL1JEPEtSumsTools.
Definition at line 102 of file L1JEPEtSumsTools.cxx.
|
virtual |
form partial CMMEtSums (crate) from module CMMEtSums
Implements LVL1::IL1JEPEtSumsTools.
Definition at line 154 of file L1JEPEtSumsTools.cxx.
|
virtual |
form partial CMMEtSums (sumEt/missingEt maps) from system CMMEtSums
form partial CMMEtSums (sumEt/missingEt/missingEtSig maps) from system CMMEtSums
Implements LVL1::IL1JEPEtSumsTools.
Definition at line 209 of file L1JEPEtSumsTools.cxx.
|
virtual |
form partial CMMEtSums (module) from JEMEtSums
Implements LVL1::IL1JEPEtSumsTools.
Definition at line 137 of file L1JEPEtSumsTools.cxx.
|
virtual |
form partial CMMEtSums (system) from crate CMMEtSums
Implements LVL1::IL1JEPEtSumsTools.
Definition at line 182 of file L1JEPEtSumsTools.cxx.
|
virtual |
form JEMEtSums from JetElements
Implements LVL1::IL1JEPEtSumsTools.
Definition at line 63 of file L1JEPEtSumsTools.cxx.
|
virtual |
standard Athena-Algorithm method
Initialisation.
Definition at line 46 of file L1JEPEtSumsTools.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 48 of file IL1JEPEtSumsTools.h.
|
private |
Convert internal ModuleEnergy containers to JEMEtSums container.
Definition at line 341 of file L1JEPEtSumsTools.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 CMMEtSums object.
Definition at line 454 of file L1JEPEtSumsTools.cxx.
|
inlineinherited |
Definition at line 308 of file AthCommonDataStore.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 118 of file L1JEPEtSumsTools.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 116 of file L1JEPEtSumsTools.h.
|
private |
Definition at line 119 of file L1JEPEtSumsTools.h.
|
privateinherited |
Definition at line 399 of file AthCommonDataStore.h.
|
privateinherited |
Definition at line 398 of file AthCommonDataStore.h.