ATLAS Offline Software
Loading...
Searching...
No Matches
jFEXSmallRJetAlgo.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3*/
4//***************************************************************************
5// jFEXSmallRJetAlgo - Algorithm for small R jet Algorithm in jFEX
6// -------------------
7// begin : 03 11 2020
8// email : varsiha.sothilingam@cern.ch
9//***************************************************************************
10
11#ifndef jFEXSmallRJetAlgo_H
12#define jFEXSmallRJetAlgo_H
13
18
24
25
26namespace LVL1 {
27
28 class jFEXSmallRJetAlgo : public AthAlgTool, virtual public IjFEXSmallRJetAlgo {
29
30 public:
32 jFEXSmallRJetAlgo(const std::string& type, const std::string& name, const IInterface* parent);
33
35 virtual StatusCode initialize() override;
36
38 virtual ~jFEXSmallRJetAlgo();
39
40 virtual StatusCode safetyTest() override;
41 virtual void setup(int inputTable[7][7], int inputTableDisplaced[7][7]) override;
42 virtual unsigned int getTTowerET(unsigned int TTID ) const override;
43 virtual void buildSeeds() override;
44 virtual bool isSeedLocalMaxima(int seedThreshold) override;
45 virtual unsigned int getSeedET() const override;
46 virtual unsigned int getSmallClusterET() const override;
47 virtual unsigned int getSmallETRing() const override;
48 virtual unsigned int getTTIDcentre() const override;
49 virtual bool getSRjetSat() const override;
50 virtual void setFPGAEnergy(const std::unordered_map<int,std::vector<int> >& et_map) override;
51
52 private:
53 SG::ReadHandleKey<LVL1::jTowerContainer> m_jTowerContainerKey {this, "MyjTowers", "jTowerContainer", "Input container for jTowers"};
55
56 void calcSaturation();
57 bool getTTowerSat(unsigned int TTID );
58 bool m_JetSaturation = false;
59
60 int m_jFEXalgoTowerID[7][7] = {{0}};
61 int m_jFEXalgoTowerID_displaced[7][7] = {{0}};
64
65 std::unordered_map<int,std::vector<int> > m_map_Etvalues;
66
67 bool CalculateLM(int mymatrix[5][5]);
68 };
69
70
71}//end of namespace
72#endif
Helper class for offline supercell identifiers.
macros to associate a CLID to a type
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
virtual bool isSeedLocalMaxima(int seedThreshold) override
virtual bool getSRjetSat() const override
virtual unsigned int getTTowerET(unsigned int TTID) const override
virtual void setup(int inputTable[7][7], int inputTableDisplaced[7][7]) override
virtual void buildSeeds() override
virtual ~jFEXSmallRJetAlgo()
Destructor.
SG::ReadHandle< jTowerContainer > m_jTowerContainer
virtual unsigned int getSmallETRing() const override
virtual unsigned int getTTIDcentre() const override
bool CalculateLM(int mymatrix[5][5])
virtual StatusCode safetyTest() override
virtual unsigned int getSmallClusterET() const override
std::unordered_map< int, std::vector< int > > m_map_Etvalues
virtual void setFPGAEnergy(const std::unordered_map< int, std::vector< int > > &et_map) override
virtual StatusCode initialize() override
standard Athena-Algorithm method
virtual unsigned int getSeedET() const override
SG::ReadHandleKey< LVL1::jTowerContainer > m_jTowerContainerKey
int m_jFEXalgoSearchWindowSeedET_displaced[5][5]
jFEXSmallRJetAlgo(const std::string &type, const std::string &name, const IInterface *parent)
Constructors.
bool getTTowerSat(unsigned int TTID)
Property holding a SG store/key/clid from which a ReadHandle is made.
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...