ATLAS Offline Software
IL1CPMTools.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
5 // L1CPMTools.h,
7 
8 
9 #ifndef ILVL1L1CPMTOOLS_H
10 #define ILVL1L1CPMTOOLS_H
11 
12 #include "GaudiKernel/IAlgTool.h"
16 
17 #include "TrigConfData/L1Menu.h"
18 
19 namespace LVL1
20 {
21 
22 class CPMTobAlgorithm;
23 class CPMTobRoI;
24 
30  static const InterfaceID IID_IL1CPMTools("LVL1::IL1CPMTools", 1, 0);
31 
32  class IL1CPMTools : virtual public IAlgTool {
33  public:
34  static const InterfaceID& interfaceID( ) ;
35 
36  // enter declaration of your interface-defining member functions here
37  virtual void mapTowers(const DataVector<xAOD::CPMTower>* cpmts, xAOD::CPMTowerMap_t* towers) const = 0;
38 
39  virtual void findRoIs(const TrigConf::L1Menu* l1menu, const xAOD::CPMTowerMap_t* towers, DataVector<CPMTobAlgorithm>* tobs, int slice = -1) const = 0;
40 
41  virtual void findRoIs(const TrigConf::L1Menu* l1menu, const DataVector<xAOD::CPMTower>* cpmts, DataVector<CPMTobAlgorithm>* tobs, int slice = -1) const = 0;
42 
44 
45  virtual void findCPMTobRoIs(const TrigConf::L1Menu* l1menu, const DataVector<xAOD::CPMTower>* cpmts, xAOD::CPMTobRoIContainer* rois, int slice = -1) const = 0;
46 
47  virtual void findCPMResults(const TrigConf::L1Menu* l1menu, const xAOD::CPMTowerMap_t* towers, int crate, int module,
48  DataVector<CPMTobRoI>* rois, std::vector<unsigned int>& emCMXData,
49  std::vector<unsigned int>& tauCMXData, int slice = -1) const = 0;
50 
51  virtual CPMTobAlgorithm findRoI(const TrigConf::L1Menu* l1menu, double RoIeta, double RoIphi, const xAOD::CPMTowerMap_t* towers, int slice = -1) const = 0;
52 
53  virtual CPMTobAlgorithm formSums(const TrigConf::L1Menu* l1menu, double RoIeta, double RoIphi, const xAOD::CPMTowerMap_t* towers, int slice = -1) const = 0;
54 
56 
57  };
58 
59  inline const InterfaceID& LVL1::IL1CPMTools::interfaceID()
60  {
61  return IID_IL1CPMTools;
62  }
63 
64 }
65 
66 #endif
LVL1::IL1CPMTools::formSums
virtual CPMTobAlgorithm formSums(const TrigConf::L1Menu *l1menu, double RoIeta, double RoIphi, const xAOD::CPMTowerMap_t *towers, int slice=-1) const =0
LVL1::IL1CPMTools::mapTowers
virtual void mapTowers(const DataVector< xAOD::CPMTower > *cpmts, xAOD::CPMTowerMap_t *towers) const =0
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
LVL1::IL1CPMTools::findRoIs
virtual void findRoIs(const TrigConf::L1Menu *l1menu, const xAOD::CPMTowerMap_t *towers, DataVector< CPMTobAlgorithm > *tobs, int slice=-1) const =0
LVL1::CPMTobAlgorithm
This is an internal class, used in the EM/Tau trigger.
Definition: CPMTobAlgorithm.h:43
TrigConf::L1Menu
L1 menu configuration.
Definition: L1Menu.h:28
LVL1::IL1CPMTools::findCPMTobRoIs
virtual void findCPMTobRoIs(const TrigConf::L1Menu *l1menu, const xAOD::CPMTowerMap_t *towers, xAOD::CPMTobRoIContainer *rois, int slice=-1) const =0
LVL1
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Definition: ICMMCPHitsCnvTool.h:18
xAOD::roiWord
roiWord
Definition: TrigMissingET_v1.cxx:36
python.PyAthena.module
module
Definition: PyAthena.py:131
LVL1::IL1CPMTools::findCPMTobRoIs
virtual void findCPMTobRoIs(const TrigConf::L1Menu *l1menu, const DataVector< xAOD::CPMTower > *cpmts, xAOD::CPMTobRoIContainer *rois, int slice=-1) const =0
perfmonmt-refit.slice
slice
Definition: perfmonmt-refit.py:52
CPMTower.h
CPMTobRoIContainer.h
xAOD::CPMTowerMap_t
std::map< int, const CPMTower * > CPMTowerMap_t
Definition: Event/xAOD/xAODTrigL1Calo/xAODTrigL1Calo/CPMTower.h:18
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
LVL1::IL1CPMTools::formSums
virtual CPMTobAlgorithm formSums(const TrigConf::L1Menu *l1menu, uint32_t roiWord, const xAOD::CPMTowerMap_t *towers, int slice=-1) const =0
LVL1::IL1CPMTools
Definition: IL1CPMTools.h:32
LVL1::IL1CPMTools::findRoI
virtual CPMTobAlgorithm findRoI(const TrigConf::L1Menu *l1menu, double RoIeta, double RoIphi, const xAOD::CPMTowerMap_t *towers, int slice=-1) const =0
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
RunTileMonitoring.towers
towers
Definition: RunTileMonitoring.py:133
LVL1::IL1CPMTools::findRoIs
virtual void findRoIs(const TrigConf::L1Menu *l1menu, const DataVector< xAOD::CPMTower > *cpmts, DataVector< CPMTobAlgorithm > *tobs, int slice=-1) const =0
TriggerTest.rois
rois
Definition: TriggerTest.py:23
python.XMLReader.l1menu
l1menu
Definition: XMLReader.py:73
LVL1::IL1CPMTools::findCPMResults
virtual void findCPMResults(const TrigConf::L1Menu *l1menu, const xAOD::CPMTowerMap_t *towers, int crate, int module, DataVector< CPMTobRoI > *rois, std::vector< unsigned int > &emCMXData, std::vector< unsigned int > &tauCMXData, int slice=-1) const =0
L1Menu.h
LVL1::IL1CPMTools::interfaceID
static const InterfaceID & interfaceID()
Definition: IL1CPMTools.h:59
xAOD::CPMTobRoI
CPMTobRoI_v1 CPMTobRoI
Define the latest version of the CPMTobRoI class.
Definition: Event/xAOD/xAODTrigL1Calo/xAODTrigL1Calo/CPMTobRoI.h:17