|
ATLAS Offline Software
|
Go to the documentation of this file.
11 #ifndef jFEXForwardJetsAlgo_H
12 #define jFEXForwardJetsAlgo_H
46 virtual std::unordered_map<int, jFEXForwardJetsInfo>
FcalJetsTowerIDLists(
int seedThreshold)
override;
47 virtual std::unordered_map<int, jFEXForwardJetsInfo>
calculateJetETs(
int seedThreshold)
override;
48 virtual void setFPGAEnergy(std::unordered_map<
int,std::vector<int> > et_map)
override;
50 virtual int SumEtSeed(
unsigned int TTID)
override;
68 Gaudi::Property<std::string>
m_SeedRingStr {
this,
"SeedRingMap",
"Run3L1CaloSimulation/JetMaps/2024_04_09/jFEX_FWD_seed.dat" ,
"Contains Trigger tower in seed"};
69 Gaudi::Property<std::string>
m_1stRingStr {
this,
"Energy1stRingMap" ,
"Run3L1CaloSimulation/JetMaps/2024_04_09/jFEX_FWD_1stRing.dat" ,
"Contains Trigger tower in 1st Energy ring"};
70 Gaudi::Property<std::string>
m_2ndRingStr {
this,
"Energy2ndRingMap" ,
"Run3L1CaloSimulation/JetMaps/2024_04_09/jFEX_FWD_2ndRing.dat" ,
"Contains Trigger tower in 2nd energy ring"};
71 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)"};
72 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)"};
73 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)"};
74 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)"};
76 std::unordered_map<unsigned int, std::vector<unsigned int> >
m_SeedRingMap;
77 std::unordered_map<unsigned int, std::vector<unsigned int> >
m_1stRingMap;
78 std::unordered_map<unsigned int, std::vector<unsigned int> >
m_2ndRingMap;
79 std::unordered_map<unsigned int, std::vector<unsigned int> >
m_CorrMap;
80 std::unordered_map<unsigned int, std::vector<unsigned int> >
m_Corr2Map;
81 std::unordered_map<unsigned int, std::vector<unsigned int> >
m_SearchGMap;
82 std::unordered_map<unsigned int, std::vector<unsigned int> >
m_SearchGeMap;
84 StatusCode ReadfromFile(
const std::string& , std::unordered_map<
unsigned int, std::vector<unsigned int> >&);
87 int getEt(
unsigned int TTID);
88 bool isLM(
unsigned int TTID);
bool getTTowerSat(unsigned int TTID)
jFEXForwardJetsAlgo(const std::string &type, const std::string &name, const IInterface *parent)
Constructors.
bool isLM(unsigned int TTID)
std::unordered_map< unsigned int, std::vector< unsigned int > > m_SearchGMap
Gaudi::Property< std::string > m_1stRingStr
virtual void setup(int inputTable[FEXAlgoSpaceDefs::jFEX_algoSpace_height][FEXAlgoSpaceDefs::jFEX_wide_algoSpace_width], int jfex) override
virtual void setFPGAEnergy(std::unordered_map< int, std::vector< int > > et_map) override
Gaudi::Property< std::string > m_SearchGStr
int getEt(unsigned int TTID)
Gaudi::Property< std::string > m_CorrStr
int m_jFEXalgoTowerID[FEXAlgoSpaceDefs::jFEX_algoSpace_height][FEXAlgoSpaceDefs::jFEX_wide_algoSpace_width]
virtual int SumEtSeed(unsigned int TTID) override
Gaudi::Property< std::string > m_SearchGeStr
Gaudi::Property< std::string > m_2ndRingStr
constexpr static int jFEX_algoSpace_height
StatusCode ReadfromFile(const std::string &, std::unordered_map< unsigned int, std::vector< unsigned int > > &)
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
bool isLMabove(unsigned int TTID)
std::unordered_map< unsigned int, std::vector< unsigned int > > m_SearchGeMap
std::array< float, 2 > globalEtaPhi(int TTID)
virtual StatusCode initialize() override
standard Athena-Algorithm method
virtual ~jFEXForwardJetsAlgo()
Destructor.
unsigned int elementsCorr2(unsigned int TTID)
virtual std::unordered_map< int, jFEXForwardJetsInfo > FcalJetsTowerIDLists(int seedThreshold) override
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual StatusCode safetyTest() override
constexpr static int jFEX_wide_algoSpace_width
std::unordered_map< unsigned int, std::vector< unsigned int > > m_2ndRingMap
Gaudi::Property< std::string > m_SeedRingStr
Helper class for offline supercell identifiers.
Gaudi::Property< std::string > m_Corr2Str
std::unordered_map< unsigned int, std::vector< unsigned int > > m_1stRingMap
std::unordered_map< int, std::vector< int > > m_map_Etvalues
bool condCorr(unsigned int TTID)
std::unordered_map< unsigned int, std::vector< unsigned int > > m_SeedRingMap
bool m_storeEnergyRingTTIDs
virtual StatusCode reset() override
virtual std::unordered_map< int, jFEXForwardJetsInfo > calculateJetETs(int seedThreshold) override
SG::ReadHandleKey< LVL1::jTowerContainer > m_jFEXForwardJetsAlgo_jTowerContainerKey
unsigned int elementsCorr(unsigned int TTID)
std::unordered_map< unsigned int, std::vector< unsigned int > > m_Corr2Map
SG::ReadHandle< jTowerContainer > m_jTowerContainer
bool condCorr2(unsigned int TTID)
std::unordered_map< unsigned int, std::vector< unsigned int > > m_CorrMap
macros to associate a CLID to a type