ATLAS Offline Software
|
The jFEXFPGA class defines the structure of a single jFEX FPGA Its purpose is: More...
#include <jFEXFPGA.h>
Public Member Functions | |
jFEXFPGA (const std::string &type, const std::string &name, const IInterface *parent) | |
Constructors. More... | |
virtual StatusCode | initialize () override |
standard Athena-Algorithm method More... | |
virtual | ~jFEXFPGA () |
Destructor. More... | |
virtual StatusCode | init (int id, int efexid) override |
virtual StatusCode | execute (jFEXOutputCollection *inputOutputCollection, const std::pair< unsigned int, const std::vector< int > & > &jetCalibrationParameters) override |
virtual void | reset () override |
virtual int | ID () override |
virtual void | SetTowersAndCells_SG (int[][FEXAlgoSpaceDefs::jFEX_wide_algoSpace_width]) override |
virtual void | SetTowersAndCells_SG (int[][FEXAlgoSpaceDefs::jFEX_thin_algoSpace_width]) override |
virtual std::vector< std::unique_ptr< jFEXTOB > > | getSmallRJetTOBs () override |
Form a tob word out of the potential candidate SmallRJet tob. More... | |
virtual std::vector< std::unique_ptr< jFEXTOB > > | getLargeRJetTOBs () override |
virtual std::vector< std::vector< uint32_t > > | getFwdElTOBs () override |
sorted Electron tobs More... | |
virtual std::vector< std::unique_ptr< jFEXTOB > > | getTauTOBs () override |
virtual std::vector< std::unique_ptr< jFEXTOB > > | getSumEtTOBs () override |
Form a tob word out of the potential candidate SumET tob. More... | |
virtual std::vector< std::unique_ptr< jFEXTOB > > | getMetTOBs () override |
Form a tob word out of the potential candidate MET tob. More... | |
int | getTTowerET_EM (unsigned int TTID) override |
int | getTTowerET_HAD (unsigned int TTID) override |
int | getTTowerET (unsigned int TTID) override |
int | getTTowerET_forMET (unsigned int TTID) override |
ServiceHandle< StoreGateSvc > & | evtStore () |
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc . More... | |
const ServiceHandle< StoreGateSvc > & | evtStore () const |
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc . More... | |
const ServiceHandle< StoreGateSvc > & | detStore () const |
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc . More... | |
virtual StatusCode | sysInitialize () override |
Perform system initialization for an algorithm. More... | |
virtual StatusCode | sysStart () override |
Handle START transition. More... | |
virtual std::vector< Gaudi::DataHandle * > | inputHandles () const override |
Return this algorithm's input handles. More... | |
virtual std::vector< Gaudi::DataHandle * > | outputHandles () const override |
Return this algorithm's output handles. More... | |
Gaudi::Details::PropertyBase & | declareProperty (Gaudi::Property< T > &t) |
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleKey &hndl, const std::string &doc, const SG::VarHandleKeyType &) |
Declare a new Gaudi property. More... | |
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleBase &hndl, const std::string &doc, const SG::VarHandleType &) |
Declare a new Gaudi property. More... | |
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleKeyArray &hndArr, const std::string &doc, const SG::VarHandleKeyArrayType &) |
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, T &property, const std::string &doc, const SG::NotHandleType &) |
Declare a new Gaudi property. More... | |
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, T &property, const std::string &doc="none") |
Declare a new Gaudi property. More... | |
void | updateVHKA (Gaudi::Details::PropertyBase &) |
MsgStream & | msg () const |
MsgStream & | msg (const MSG::Level lvl) 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 More... | |
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. More... | |
Private Types | |
typedef ServiceHandle< StoreGateSvc > | StoreGateSvc_t |
Private Member Functions | |
int | getTTowerET_SG (unsigned int TTID) |
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &) |
specialization for handling Gaudi::Property<SG::VarHandleKey> More... | |
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleKeyArrayType &) |
specialization for handling Gaudi::Property<SG::VarHandleKeyArray> More... | |
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleType &) |
specialization for handling Gaudi::Property<SG::VarHandleBase> More... | |
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &t, const SG::NotHandleType &) |
specialization for handling everything that's not a Gaudi::Property<SG::VarHandleKey> or a <SG::VarHandleKeyArray> More... | |
Static Private Member Functions | |
template<class TOBObjectClass > | |
static bool | TOBetSort (const TOBObjectClass &i, const TOBObjectClass &j, uint bits, uint mask) |
Internal data. More... | |
static bool | etFwdElSort (const std::vector< uint32_t > &i, const std::vector< uint32_t > &j) |
Private Attributes | |
std::vector< std::unique_ptr< jFEXTOB > > | m_tau_tobwords |
std::vector< std::unique_ptr< jFEXTOB > > | m_SRJet_tobwords |
std::vector< std::unique_ptr< jFEXTOB > > | m_LRJet_tobwords |
std::vector< std::unique_ptr< jFEXTOB > > | m_sumET_tobwords |
std::vector< std::unique_ptr< jFEXTOB > > | m_Met_tobwords |
int | m_id {} |
int | m_jfexid {} |
std::vector< std::vector< uint32_t > > | m_FwdEl_tobwords |
int | m_jTowersIDs_Wide [FEXAlgoSpaceDefs::jFEX_algoSpace_height][FEXAlgoSpaceDefs::jFEX_wide_algoSpace_width] = {{0}} |
int | m_jTowersIDs_Thin [FEXAlgoSpaceDefs::jFEX_algoSpace_height][FEXAlgoSpaceDefs::jFEX_thin_algoSpace_width] = {{0}} |
std::unordered_map< int, jTower > | m_jTowersColl |
std::unordered_map< int, std::vector< int > > | m_map_Etvalues_FPGA |
std::unordered_map< int, std::vector< int > > | m_map_HAD_Etvalues_FPGA |
std::unordered_map< int, std::vector< int > > | m_map_EM_Etvalues_FPGA |
std::unordered_map< int, jFEXForwardJetsInfo > | m_FCALJets |
std::unordered_map< uint, jFEXForwardElecInfo > | m_ForwardElecs |
int | m_SRJetET {} |
int | m_LRJetET {} |
CaloCellContainer | m_sCellsCollection |
SG::ReadHandleKey< LVL1::jTowerContainer > | m_jTowerContainerKey {this, "MyETowers", "jTowerContainer", "Input container for jTowers"} |
SG::ReadHandleKey< TrigConf::L1Menu > | m_l1MenuKey {this, "L1TriggerMenu", "DetectorStore+L1TriggerMenu","Name of the L1Menu object to read configuration from"} |
ToolHandle< IjFEXSmallRJetAlgo > | m_jFEXSmallRJetAlgoTool {this, "jFEXSmallRJetAlgoTool", "LVL1::jFEXSmallRJetAlgo", "Tool that runs the jFEX Small R Jet algorithm"} |
ToolHandle< IjFEXLargeRJetAlgo > | m_jFEXLargeRJetAlgoTool {this, "jFEXLargeRJetAlgoTool", "LVL1::jFEXLargeRJetAlgo", "Tool that runs the jFEX Large R Jet algorithm"} |
ToolHandle< IjFEXtauAlgo > | m_jFEXtauAlgoTool {this, "jFEXtauAlgoTool" , "LVL1::jFEXtauAlgo" , "Tool that runs the jFEX tau algorithm"} |
ToolHandle< IjFEXsumETAlgo > | m_jFEXsumETAlgoTool {this, "jFEXsumETAlgoTool" , "LVL1::jFEXsumETAlgo" , "Tool that runs the jFEX sumET algorithm"} |
ToolHandle< IjFEXmetAlgo > | m_jFEXmetAlgoTool {this, "jFEXmetAlgoTool" , "LVL1::jFEXmetAlgo" , "Tool that runs the jFEX met algorithm"} |
ToolHandle< IjFEXForwardJetsAlgo > | m_jFEXForwardJetsAlgoTool {this, "jFEXForwardJetsAlgoTool" , "LVL1::jFEXForwardJetsAlgo" , "Tool that runs the jFEX FCAL Jets algorithm"} |
ToolHandle< IjFEXForwardElecAlgo > | m_jFEXForwardElecAlgoTool {this, "jFEXForwardElecAlgoTool" , "LVL1::jFEXForwardElecAlgo" , "Tool that runs the jFEX FCAL Electrons algorithm"} |
ToolHandle< IjFEXPileupAndNoise > | m_jFEXPileupAndNoiseTool {this, "jFEXPileupAndNoiseTool", "LVL1::jFEXPileupAndNoise", "Tool that applies Pileup and Noise"} |
ToolHandle< IjFEXFormTOBs > | m_IjFEXFormTOBsTool {this, "IjFEXFormTOBsTool", "LVL1::jFEXFormTOBs", "Tool that forms TOB words"} |
std::string | m_jfex_string [6] = {"1C","2C","3C","3A","2A","1A"} |
StoreGateSvc_t | m_evtStore |
Pointer to StoreGate (event store by default) More... | |
StoreGateSvc_t | m_detStore |
Pointer to StoreGate (detector store by default) More... | |
std::vector< SG::VarHandleKeyArray * > | m_vhka |
bool | m_varHandleArraysDeclared |
The jFEXFPGA class defines the structure of a single jFEX FPGA Its purpose is:
Definition at line 51 of file jFEXFPGA.h.
|
privateinherited |
Definition at line 388 of file AthCommonDataStore.h.
LVL1::jFEXFPGA::jFEXFPGA | ( | const std::string & | type, |
const std::string & | name, | ||
const IInterface * | parent | ||
) |
Constructors.
Definition at line 33 of file jFEXFPGA.cxx.
|
virtual |
|
inlineprivateinherited |
specialization for handling Gaudi::Property<SG::VarHandleKeyArray>
Definition at line 170 of file AthCommonDataStore.h.
|
inlineprivateinherited |
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
|
inlineprivateinherited |
specialization for handling Gaudi::Property<SG::VarHandleBase>
Definition at line 184 of file AthCommonDataStore.h.
|
inlineprivateinherited |
specialization for handling everything that's not a Gaudi::Property<SG::VarHandleKey> or a <SG::VarHandleKeyArray>
Definition at line 199 of file AthCommonDataStore.h.
|
inlineinherited |
Declare a new Gaudi property.
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleBase
. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 245 of file AthCommonDataStore.h.
|
inlineinherited |
Declare a new Gaudi property.
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleKey
. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 221 of file AthCommonDataStore.h.
|
inlineinherited |
Definition at line 259 of file AthCommonDataStore.h.
|
inlineinherited |
Declare a new Gaudi property.
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This is the generic version, for types that do not derive from SG::VarHandleKey
. It just forwards to the base class version of declareProperty
.
Definition at line 333 of file AthCommonDataStore.h.
|
inlineinherited |
Declare a new Gaudi property.
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This dispatches to either the generic declareProperty
or the one for VarHandle/Key/KeyArray.
Definition at line 352 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.
|
inlinestaticprivate |
Definition at line 101 of file jFEXFPGA.h.
|
inlineinherited |
The standard StoreGateSvc
(event store) Returns (kind of) a pointer to the StoreGateSvc
.
Definition at line 85 of file AthCommonDataStore.h.
|
inlineinherited |
The standard StoreGateSvc
(event store) Returns (kind of) a pointer to the StoreGateSvc
.
Definition at line 90 of file AthCommonDataStore.h.
|
overridevirtual |
Retrieve the L1 menu configuration
Implements LVL1::IjFEXFPGA.
Definition at line 75 of file jFEXFPGA.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
|
overridevirtual |
sorted Electron tobs
Implements LVL1::IjFEXFPGA.
Definition at line 560 of file jFEXFPGA.cxx.
|
overridevirtual |
Implements LVL1::IjFEXFPGA.
Definition at line 542 of file jFEXFPGA.cxx.
|
overridevirtual |
Form a tob word out of the potential candidate MET tob.
Implements LVL1::IjFEXFPGA.
Definition at line 603 of file jFEXFPGA.cxx.
|
overridevirtual |
Form a tob word out of the potential candidate SmallRJet tob.
Implements LVL1::IjFEXFPGA.
Definition at line 526 of file jFEXFPGA.cxx.
|
overridevirtual |
Form a tob word out of the potential candidate SumET tob.
Implements LVL1::IjFEXFPGA.
Definition at line 587 of file jFEXFPGA.cxx.
|
overridevirtual |
Implements LVL1::IjFEXFPGA.
Definition at line 573 of file jFEXFPGA.cxx.
|
overridevirtual |
Implements LVL1::IjFEXFPGA.
Definition at line 645 of file jFEXFPGA.cxx.
|
overridevirtual |
|
overridevirtual |
Implements LVL1::IjFEXFPGA.
Definition at line 653 of file jFEXFPGA.cxx.
|
overridevirtual |
|
private |
Definition at line 681 of file jFEXFPGA.cxx.
|
inlineoverridevirtual |
|
overridevirtual |
Implements LVL1::IjFEXFPGA.
Definition at line 52 of file jFEXFPGA.cxx.
|
overridevirtual |
|
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 73 of file IjFEXFPGA.h.
|
inlineinherited |
Definition at line 24 of file AthCommonMsg.h.
|
inlineinherited |
Definition at line 27 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.
|
overridevirtual |
|
overridevirtual |
Implements LVL1::IjFEXFPGA.
Definition at line 503 of file jFEXFPGA.cxx.
|
overridevirtual |
Implements LVL1::IjFEXFPGA.
Definition at line 485 of file jFEXFPGA.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 DerivationFramework::CfAthAlgTool, AthCheckedComponent< AthAlgTool >, AthCheckedComponent<::AthAlgTool >, and asg::AsgMetadataTool.
|
overridevirtualinherited |
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
|
inlinestaticprivate |
Internal data.
Definition at line 97 of file jFEXFPGA.h.
|
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.
|
privateinherited |
Pointer to StoreGate (event store by default)
Definition at line 390 of file AthCommonDataStore.h.
|
private |
Definition at line 125 of file jFEXFPGA.h.
|
private |
Definition at line 126 of file jFEXFPGA.h.
|
private |
Definition at line 114 of file jFEXFPGA.h.
|
private |
Definition at line 111 of file jFEXFPGA.h.
|
private |
Definition at line 143 of file jFEXFPGA.h.
Definition at line 146 of file jFEXFPGA.h.
|
private |
Definition at line 141 of file jFEXFPGA.h.
|
private |
Definition at line 140 of file jFEXFPGA.h.
|
private |
Definition at line 112 of file jFEXFPGA.h.
|
private |
Definition at line 136 of file jFEXFPGA.h.
|
private |
Definition at line 139 of file jFEXFPGA.h.
|
private |
Definition at line 142 of file jFEXFPGA.h.
|
private |
Definition at line 135 of file jFEXFPGA.h.
|
private |
Definition at line 138 of file jFEXFPGA.h.
|
private |
Definition at line 137 of file jFEXFPGA.h.
|
private |
Definition at line 133 of file jFEXFPGA.h.
|
private |
Definition at line 119 of file jFEXFPGA.h.
|
private |
Definition at line 117 of file jFEXFPGA.h.
|
private |
Definition at line 116 of file jFEXFPGA.h.
|
private |
Definition at line 134 of file jFEXFPGA.h.
|
private |
Definition at line 107 of file jFEXFPGA.h.
|
private |
Definition at line 129 of file jFEXFPGA.h.
|
private |
Definition at line 122 of file jFEXFPGA.h.
|
private |
Definition at line 120 of file jFEXFPGA.h.
|
private |
Definition at line 121 of file jFEXFPGA.h.
|
private |
Definition at line 109 of file jFEXFPGA.h.
|
private |
Definition at line 131 of file jFEXFPGA.h.
|
private |
Definition at line 106 of file jFEXFPGA.h.
|
private |
Definition at line 128 of file jFEXFPGA.h.
|
private |
Definition at line 108 of file jFEXFPGA.h.
|
private |
Definition at line 105 of file jFEXFPGA.h.
|
privateinherited |
Definition at line 399 of file AthCommonDataStore.h.
|
privateinherited |
Definition at line 398 of file AthCommonDataStore.h.