ATLAS Offline Software
L1JEMJetTools.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
5 // L1JEMJetTools.h,
7 
8  /***************************************************************************
9  * *
10  * *
11  ***************************************************************************/
12 
13 #ifndef LVL1L1JEMJETTOOLS_H
14 #define LVL1L1JEMJETTOOLS_H
15 
22 
24 
25 class AtlasDetectorID;
26 class Identifier;
27 
28 namespace TrigConf {
29  class L1Menu;
30 }
31 
32 namespace LVL1
33 {
34 
44  class L1JEMJetTools : virtual public extends<AthAlgTool, IL1JEMJetTools>
45  {
46  public:
47 
48  L1JEMJetTools(const std::string&,const std::string&,const IInterface*);
49 
51  virtual StatusCode initialize() override;
53  virtual StatusCode finalize() override;
54 
56  virtual void mapJetInputs(const xAOD::JetElementContainer* jes, std::map<int, JetInput*>* elements, int slice = -1) const override;
57 
59  virtual void findRoIs(const std::map<int, JetInput*>* elements, xAOD::JEMTobRoIContainer* rois) const override;
60  virtual void findRoIs(const xAOD::JetElementContainer* jes, xAOD::JEMTobRoIContainer* rois, int slice = -1) const override;
61 
63  virtual void findRoIs(const std::map<int, JetInput*>* elements, DataVector<JEMJetAlgorithm>* rois) const override;
64  virtual void findRoIs(const xAOD::JetElementContainer* jes, DataVector<JEMJetAlgorithm>* rois, int slice = -1) const override;
65 
68  virtual void findJEMResults(const std::map<int, JetInput*>* inputs, int crate, int module,
69  xAOD::JEMTobRoIContainer* rois, std::vector<unsigned int>& jetCMXData) const override;
72  virtual void findJEMResults(const std::map<int, JetInput*>* inputs, int crate, int module,
73  DataVector<JEMTobRoI>* rois, std::vector<unsigned int>& jetCMXData) const override;
74 
76  virtual JEMJetAlgorithm findRoI(double RoIeta, double RoIphi, const std::map<int, JetInput*>* elements) const override;
77 
79  virtual JEMJetAlgorithm formSums(double RoIeta, double RoIphi,
80  const std::map<int, JetInput*>* elements) const override;
81  virtual JEMJetAlgorithm formSums(uint32_t roiWord, const std::map<int, JetInput*>* elements) const override;
82 
83  private:
84 
85  const TrigConf::L1Menu * m_l1menu{nullptr};
86 
89 
90  };
91 } // end of namespace
92 
93 #endif
LVL1::L1JEMJetTools
Definition: L1JEMJetTools.h:45
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
LVL1::JEPRoIDecoder
A level 1 calorimeter trigger conversion service: returns the Coordinate represented by a RoI word.
Definition: JEPRoIDecoder.h:33
JetInput.h
LVL1::L1JEMJetTools::mapJetInputs
virtual void mapJetInputs(const xAOD::JetElementContainer *jes, std::map< int, JetInput * > *elements, int slice=-1) const override
Convert user-supplied JetElements to map of JetInputs.
Definition: L1JEMJetTools.cxx:43
LVL1::L1JEMJetTools::finalize
virtual StatusCode finalize() override
standard Athena-Algorithm method
Definition: L1JEMJetTools.cxx:36
TrigConf::L1Menu
L1 menu configuration.
Definition: L1Menu.h:28
LVL1
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Definition: ICMMCPHitsCnvTool.h:18
postInclude.inputs
inputs
Definition: postInclude.SortInput.py:15
LVL1::L1JEMJetTools::findRoI
virtual JEMJetAlgorithm findRoI(double RoIeta, double RoIphi, const std::map< int, JetInput * > *elements) const override
Return RoI object for specified location.
Definition: L1JEMJetTools.cxx:465
LVL1::L1JEMJetTools::findRoIs
virtual void findRoIs(const std::map< int, JetInput * > *elements, xAOD::JEMTobRoIContainer *rois) const override
Return vector of TOB RoI objects derived from user-specified inputs.
Definition: L1JEMJetTools.cxx:184
JetElementContainer.h
TrigConf
Forward iterator to traverse the main components of the trigger configuration.
Definition: Config.h:22
xAOD::roiWord
roiWord
Definition: TrigMissingET_v1.cxx:36
python.PyAthena.module
module
Definition: PyAthena.py:131
perfmonmt-refit.slice
slice
Definition: perfmonmt-refit.py:52
LVL1::JEMJetAlgorithm
This is an internal class, used in the jet trigger.
Definition: JEMJetAlgorithm.h:45
LVL1::L1JEMJetTools::L1JEMJetTools
L1JEMJetTools(const std::string &, const std::string &, const IInterface *)
Definition: L1JEMJetTools.cxx:23
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
LVL1::L1JEMJetTools::findJEMResults
virtual void findJEMResults(const std::map< int, JetInput * > *inputs, int crate, int module, xAOD::JEMTobRoIContainer *rois, std::vector< unsigned int > &jetCMXData) const override
Form JEM results for specified crate/module using user-supplied map of input towers Adds to DataVecto...
Definition: L1JEMJetTools.cxx:249
DataVector
Derived DataVector<T>.
Definition: DataVector.h:794
JEPRoIDecoder.h
IL1JEMJetTools.h
LVL1::L1JEMJetTools::formSums
virtual JEMJetAlgorithm formSums(double RoIeta, double RoIphi, const std::map< int, JetInput * > *elements) const override
Form jet cluster sums for a given RoI location.
Definition: L1JEMJetTools.cxx:471
JetInputKey.h
LVL1::L1JEMJetTools::m_conv
JEPRoIDecoder m_conv
Utility for decoding RoI words.
Definition: L1JEMJetTools.h:88
LVL1::L1JEMJetTools::initialize
virtual StatusCode initialize() override
standard Athena-Algorithm method
Definition: L1JEMJetTools.cxx:28
LVL1::L1JEMJetTools::m_l1menu
const TrigConf::L1Menu * m_l1menu
Definition: L1JEMJetTools.h:85
JEMJetAlgorithm.h
TriggerTest.rois
rois
Definition: TriggerTest.py:23
AtlasDetectorID
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
Definition: AtlasDetectorID.h:57
Identifier
Definition: IdentifierFieldParser.cxx:14