![]() |
ATLAS Offline Software
|
#include <jFEXForwardJetsAlgo.h>
Public Member Functions | |
| jFEXForwardJetsAlgo (const std::string &type, const std::string &name, const IInterface *parent) | |
| Constructors. | |
| virtual StatusCode | initialize () override |
| standard Athena-Algorithm method | |
| virtual | ~jFEXForwardJetsAlgo () |
| Destructor. | |
| virtual StatusCode | safetyTest () override |
| virtual void | setup (int inputTable[FEXAlgoSpaceDefs::jFEX_algoSpace_height][FEXAlgoSpaceDefs::jFEX_wide_algoSpace_width], int jfex) override |
| virtual std::unordered_map< int, jFEXForwardJetsInfo > | FcalJetsTowerIDLists (int seedThreshold) override |
| virtual std::unordered_map< int, jFEXForwardJetsInfo > | calculateJetETs (int seedThreshold) override |
| virtual void | setFPGAEnergy (std::unordered_map< int, std::vector< int > > et_map) override |
| virtual int | SumEtSeed (unsigned int TTID) const override |
| 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 ServiceHandle< StoreGateSvc > | StoreGateSvc_t |
Private Member Functions | |
| StatusCode | ReadfromFile (const std::string &, std::unordered_map< unsigned int, std::vector< unsigned int > > &) const |
| int | getEt (unsigned int TTID) const |
| bool | isLM (unsigned int TTID) const |
| bool | isLMabove (unsigned int TTID) const |
| bool | getTTowerSat (unsigned int TTID) |
| unsigned int | elementsCorr (unsigned int TTID) const |
| bool | condCorr (unsigned int TTID) const |
| unsigned int | elementsCorr2 (unsigned int TTID) const |
| bool | condCorr2 (unsigned int TTID) const |
| std::array< float, 2 > | globalEtaPhi (int TTID) |
| Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKey> | |
Private Attributes | |
| SG::ReadHandleKey< LVL1::jTowerContainer > | m_jFEXForwardJetsAlgo_jTowerContainerKey {this, "MyjTowers", "jTowerContainer", "Input container for jTowers"} |
| SG::ReadHandle< jTowerContainer > | m_jTowerContainer |
| int | m_jFEXalgoTowerID [FEXAlgoSpaceDefs::jFEX_algoSpace_height][FEXAlgoSpaceDefs::jFEX_wide_algoSpace_width] |
| std::unordered_map< int, std::vector< int > > | m_map_Etvalues |
| int | m_lowerEM_eta |
| int | m_upperEM_eta |
| int | m_jfex |
| bool | m_storeEnergyRingTTIDs = true |
| Gaudi::Property< std::string > | m_SeedRingStr {this, "SeedRingMap", "Run3L1CaloSimulation/JetMaps/2024_04_09/jFEX_FWD_seed.dat" , "Contains Trigger tower in seed"} |
| Gaudi::Property< std::string > | m_1stRingStr {this, "Energy1stRingMap" , "Run3L1CaloSimulation/JetMaps/2024_04_09/jFEX_FWD_1stRing.dat" , "Contains Trigger tower in 1st Energy ring"} |
| Gaudi::Property< std::string > | m_2ndRingStr {this, "Energy2ndRingMap" , "Run3L1CaloSimulation/JetMaps/2024_04_09/jFEX_FWD_2ndRing.dat" , "Contains Trigger tower in 2nd energy ring"} |
| Gaudi::Property< std::string > | m_CorrStr {this, "CorrMap" , "Run3L1CaloSimulation/JetMaps/2024_04_09/jFEX_FWD_corr.dat" , "Contains Trigger tower to correct displacement (greater than)"} |
| Gaudi::Property< std::string > | m_Corr2Str {this, "Corr2Map" , "Run3L1CaloSimulation/JetMaps/2024_04_09/jFEX_FWD_corr2.dat" , "Contains Trigger tower to correct displacement (greater or equal than)"} |
| Gaudi::Property< std::string > | m_SearchGStr {this, "SearchGMap" , "Run3L1CaloSimulation/JetMaps/2024_04_09/jFEX_FWD_searchG.dat" , "Contains Trigger tower to find local max (greater than)"} |
| Gaudi::Property< std::string > | m_SearchGeStr {this, "SearchGeMap", "Run3L1CaloSimulation/JetMaps/2024_04_09/jFEX_FWD_searchGe.dat", "Contains Trigger tower to find local max (greater or equal than)"} |
| std::unordered_map< unsigned int, std::vector< unsigned int > > | m_SeedRingMap |
| std::unordered_map< unsigned int, std::vector< unsigned int > > | m_1stRingMap |
| std::unordered_map< unsigned int, std::vector< unsigned int > > | m_2ndRingMap |
| std::unordered_map< unsigned int, std::vector< unsigned int > > | m_CorrMap |
| std::unordered_map< unsigned int, std::vector< unsigned int > > | m_Corr2Map |
| std::unordered_map< unsigned int, std::vector< unsigned int > > | m_SearchGMap |
| std::unordered_map< unsigned int, std::vector< unsigned int > > | m_SearchGeMap |
| 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 27 of file jFEXForwardJetsAlgo.h.
|
privateinherited |
Definition at line 388 of file AthCommonDataStore.h.
| LVL1::jFEXForwardJetsAlgo::jFEXForwardJetsAlgo | ( | const std::string & | type, |
| const std::string & | name, | ||
| const IInterface * | parent ) |
Constructors.
Definition at line 19 of file jFEXForwardJetsAlgo.cxx.
|
virtual |
|
overridevirtual |
Implements LVL1::IjFEXForwardJetsAlgo.
Definition at line 404 of file jFEXForwardJetsAlgo.cxx.
|
private |
Definition at line 338 of file jFEXForwardJetsAlgo.cxx.
|
private |
Definition at line 378 of file jFEXForwardJetsAlgo.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 328 of file jFEXForwardJetsAlgo.cxx.
|
private |
Definition at line 368 of file jFEXForwardJetsAlgo.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
|
overridevirtual |
Implements LVL1::IjFEXForwardJetsAlgo.
Definition at line 87 of file jFEXForwardJetsAlgo.cxx.
|
private |
Definition at line 73 of file jFEXForwardJetsAlgo.cxx.
|
private |
Definition at line 416 of file jFEXForwardJetsAlgo.cxx.
|
private |
Definition at line 64 of file jFEXForwardJetsAlgo.cxx.
|
overridevirtual |
standard Athena-Algorithm method
Definition at line 29 of file jFEXForwardJetsAlgo.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 41 of file IjFEXForwardJetsAlgo.h.
|
private |
Definition at line 263 of file jFEXForwardJetsAlgo.cxx.
|
private |
Definition at line 313 of file jFEXForwardJetsAlgo.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.
|
private |
Definition at line 425 of file jFEXForwardJetsAlgo.cxx.
|
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.
|
overridevirtual |
Implements LVL1::IjFEXForwardJetsAlgo.
Definition at line 46 of file jFEXForwardJetsAlgo.cxx.
|
overridevirtual |
Implements LVL1::IjFEXForwardJetsAlgo.
Definition at line 411 of file jFEXForwardJetsAlgo.cxx.
|
overridevirtual |
Implements LVL1::IjFEXForwardJetsAlgo.
Definition at line 57 of file jFEXForwardJetsAlgo.cxx.
|
overridevirtual |
Implements LVL1::IjFEXForwardJetsAlgo.
Definition at line 243 of file jFEXForwardJetsAlgo.cxx.
|
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 >, and AthCheckedComponent<::AthAlgTool >.
|
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 73 of file jFEXForwardJetsAlgo.h.
|
private |
Definition at line 65 of file jFEXForwardJetsAlgo.h.
|
private |
Definition at line 74 of file jFEXForwardJetsAlgo.h.
|
private |
Definition at line 66 of file jFEXForwardJetsAlgo.h.
|
private |
Definition at line 76 of file jFEXForwardJetsAlgo.h.
|
private |
Definition at line 68 of file jFEXForwardJetsAlgo.h.
|
private |
Definition at line 75 of file jFEXForwardJetsAlgo.h.
|
private |
Definition at line 67 of file jFEXForwardJetsAlgo.h.
|
privateinherited |
Pointer to StoreGate (detector store by default).
Definition at line 393 of file AthCommonDataStore.h.
|
privateinherited |
Pointer to StoreGate (event store by default).
Definition at line 390 of file AthCommonDataStore.h.
|
private |
Definition at line 57 of file jFEXForwardJetsAlgo.h.
|
private |
Definition at line 53 of file jFEXForwardJetsAlgo.h.
|
private |
Definition at line 51 of file jFEXForwardJetsAlgo.h.
|
private |
Definition at line 52 of file jFEXForwardJetsAlgo.h.
|
private |
Definition at line 55 of file jFEXForwardJetsAlgo.h.
|
private |
Definition at line 54 of file jFEXForwardJetsAlgo.h.
|
private |
Definition at line 78 of file jFEXForwardJetsAlgo.h.
|
private |
Definition at line 70 of file jFEXForwardJetsAlgo.h.
|
private |
Definition at line 77 of file jFEXForwardJetsAlgo.h.
|
private |
Definition at line 69 of file jFEXForwardJetsAlgo.h.
|
private |
Definition at line 72 of file jFEXForwardJetsAlgo.h.
|
private |
Definition at line 64 of file jFEXForwardJetsAlgo.h.
|
private |
Definition at line 61 of file jFEXForwardJetsAlgo.h.
|
private |
Definition at line 56 of file jFEXForwardJetsAlgo.h.
|
privateinherited |
Definition at line 399 of file AthCommonDataStore.h.
|
privateinherited |
Definition at line 398 of file AthCommonDataStore.h.