ATLAS Offline Software
IL1JEMJetTools.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // IL1JEMJetTools.h,
8 #ifndef ILVL1L1JEMJETTOOLS_H
9 #define ILVL1L1JEMJETTOOLS_H
10 
11 #include "GaudiKernel/IAlgTool.h"
15 
16 
17 namespace LVL1
18 {
19 class JEMJetAlgorithm;
20 class JetInput;
21 
22 // amazurov: for deprecated method
23 class JEMTobRoI;
24 
29  static const InterfaceID IID_IL1JEMJetTools("LVL1::IL1JEMJetTools", 1, 0);
30 
31  class IL1JEMJetTools : virtual public IAlgTool {
32  public:
33  static const InterfaceID& interfaceID( ) ;
34 
35  // enter declaration of your interface-defining member functions here
36  virtual void findRoIs(const std::map<int, JetInput*>* elements, xAOD::JEMTobRoIContainer* rois) const = 0;
37  virtual void findRoIs(const xAOD::JetElementContainer* jes, xAOD::JEMTobRoIContainer* rois, int slice = -1) const = 0;
38  virtual void findRoIs(const std::map<int, JetInput*>* elements, DataVector<JEMJetAlgorithm>* rois) const = 0;
39 
40  virtual void findRoIs(const xAOD::JetElementContainer* jes, DataVector<JEMJetAlgorithm>* rois, int slice = -1) const = 0;
41 
42  virtual void findJEMResults(const std::map<int, JetInput*>* inputs, int crate, int module,
43  xAOD::JEMTobRoIContainer* rois, std::vector<unsigned int>& jetCMXData) const = 0;
44 
45  // DEPRECATED(amazurov): use findJEMResults with AOD::JEMTobRoIContainer
46  virtual void findJEMResults(const std::map<int, JetInput*>* inputs, int crate, int module,
47  DataVector<JEMTobRoI>* rois, std::vector<unsigned int>& jetCMXData) const = 0;
48 
49 
50  virtual void mapJetInputs(const xAOD::JetElementContainer* jes, std::map<int, JetInput*>* elements, int slice = -1) const = 0;
51  virtual JEMJetAlgorithm findRoI(double RoIeta, double RoIphi, const std::map<int, JetInput*>* elements) const = 0;
52  virtual JEMJetAlgorithm formSums(double RoIeta, double RoIphi, const std::map<int, JetInput*>* elements) const = 0;
53  virtual JEMJetAlgorithm formSums(uint32_t roiWord, const std::map<int, JetInput*>* elements) const = 0;
54 
55  };
56 
57  inline const InterfaceID& LVL1::IL1JEMJetTools::interfaceID()
58  {
59  return IID_IL1JEMJetTools;
60  }
61 
62 } // end of namespace
63 
64 #endif
LVL1::IL1JEMJetTools::findRoIs
virtual void findRoIs(const std::map< int, JetInput * > *elements, xAOD::JEMTobRoIContainer *rois) const =0
xAOD::JEMTobRoI
JEMTobRoI_v1 JEMTobRoI
Define the latest version of the JEMTobRoI class.
Definition: Event/xAOD/xAODTrigL1Calo/xAODTrigL1Calo/JEMTobRoI.h:17
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
LVL1::IL1JEMJetTools::findJEMResults
virtual void findJEMResults(const std::map< int, JetInput * > *inputs, int crate, int module, xAOD::JEMTobRoIContainer *rois, std::vector< unsigned int > &jetCMXData) const =0
LVL1::IL1JEMJetTools::findRoIs
virtual void findRoIs(const xAOD::JetElementContainer *jes, DataVector< JEMJetAlgorithm > *rois, int slice=-1) const =0
JEMTobRoIContainer.h
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::IL1JEMJetTools::formSums
virtual JEMJetAlgorithm formSums(double RoIeta, double RoIphi, const std::map< int, JetInput * > *elements) const =0
LVL1::IL1JEMJetTools::findRoIs
virtual void findRoIs(const xAOD::JetElementContainer *jes, xAOD::JEMTobRoIContainer *rois, int slice=-1) const =0
JetElementContainer.h
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::IL1JEMJetTools::interfaceID
static const InterfaceID & interfaceID()
Definition: IL1JEMJetTools.h:57
LVL1::IL1JEMJetTools::findRoIs
virtual void findRoIs(const std::map< int, JetInput * > *elements, DataVector< JEMJetAlgorithm > *rois) const =0
DataVector
Derived DataVector<T>.
Definition: DataVector.h:794
LVL1::IL1JEMJetTools::formSums
virtual JEMJetAlgorithm formSums(uint32_t roiWord, const std::map< int, JetInput * > *elements) const =0
LVL1::IL1JEMJetTools
Definition: IL1JEMJetTools.h:31
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
LVL1::IL1JEMJetTools::mapJetInputs
virtual void mapJetInputs(const xAOD::JetElementContainer *jes, std::map< int, JetInput * > *elements, int slice=-1) const =0
LVL1::IL1JEMJetTools::findRoI
virtual JEMJetAlgorithm findRoI(double RoIeta, double RoIphi, const std::map< int, JetInput * > *elements) const =0
TriggerTest.rois
rois
Definition: TriggerTest.py:23
LVL1::IL1JEMJetTools::findJEMResults
virtual void findJEMResults(const std::map< int, JetInput * > *inputs, int crate, int module, DataVector< JEMTobRoI > *rois, std::vector< unsigned int > &jetCMXData) const =0