ATLAS Offline Software
IL1EtTools.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 // IL1EtTools.h
8 #ifndef ILVL1L1ETTOOLS_H
9 #define ILVL1L1ETTOOLS_H
10 
11 #include "GaudiKernel/IAlgTool.h"
14 //#include "TrigT1CaloUtils/ModuleEnergy.h"
15 //#include "TrigT1CaloUtils/CrateEnergy.h"
16 //#include "TrigT1CaloUtils/SystemEnergy.h"
17 
18 namespace LVL1
19 {
20 class ModuleEnergy;
21 class CrateEnergy;
22 class SystemEnergy;
23 class EnergyCMXData;
24 
29  static const InterfaceID IID_IL1EtTools("LVL1::IL1EtTools", 1, 0);
30 
31  class IL1EtTools : virtual public IAlgTool {
32  public:
33  static const InterfaceID& interfaceID( ) ;
34 
35  // enter declaration of your interface-defining member functions here
36  virtual void moduleSums(const xAOD::JetElementContainer* jetelements,
37  DataVector<ModuleEnergy>* modules, int slice = -1) const = 0;
38  virtual void moduleSums(const xAOD::JetElementMap_t* jemap,
39  DataVector<ModuleEnergy>* modules, int slice = -1) const = 0;
40  virtual void crateSums(const DataVector<ModuleEnergy>* modules,
41  DataVector<CrateEnergy>* crates, uint32_t maskXE = 0xff, uint32_t maskTE = 0xff, bool restricted = false) const = 0 ;
42  virtual void crateSums(const DataVector<EnergyCMXData>* modules,
43  DataVector<CrateEnergy>* crates, uint32_t maskXE = 0xff, uint32_t maskTE = 0xff, bool restricted = false) const = 0 ;
44  virtual void crateSums(const xAOD::JetElementContainer* jetelements,
45  DataVector<CrateEnergy>* crates, int slice = -1, uint32_t maskXE = 0xff, uint32_t maskTE = 0xff, bool restricted = false) const = 0;
46  virtual void crateSums(const xAOD::JetElementMap_t* jemap,
47  DataVector<CrateEnergy>* crates, int slice = -1, uint32_t maskXE = 0xff, uint32_t maskTE = 0xff, bool restricted = false) const = 0;
48  virtual SystemEnergy systemSums(const DataVector<CrateEnergy>* crates) const = 0;
49  virtual SystemEnergy systemSums(const xAOD::JetElementContainer* jetelements, int slice = -1, uint32_t maskXE = 0xff, uint32_t maskTE = 0xff, bool restricted = false) const = 0;
50  virtual SystemEnergy systemSums(const xAOD::JetElementMap_t* jemap, int slice = -1, uint32_t maskXE = 0xff, uint32_t maskTE = 0xff, bool restricted = false) const = 0;
51 
52  };
53 
54  inline const InterfaceID& LVL1::IL1EtTools::interfaceID()
55  {
56  return IID_IL1EtTools;
57  }
58 
59 } // end of namespace
60 
61 #endif
LVL1::IL1EtTools::interfaceID
static const InterfaceID & interfaceID()
Definition: IL1EtTools.h:54
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
LVL1::IL1EtTools::crateSums
virtual void crateSums(const xAOD::JetElementContainer *jetelements, DataVector< CrateEnergy > *crates, int slice=-1, uint32_t maskXE=0xff, uint32_t maskTE=0xff, bool restricted=false) const =0
LVL1
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Definition: ICMMCPHitsCnvTool.h:18
JetElementContainer.h
LVL1::IL1EtTools::crateSums
virtual void crateSums(const xAOD::JetElementMap_t *jemap, DataVector< CrateEnergy > *crates, int slice=-1, uint32_t maskXE=0xff, uint32_t maskTE=0xff, bool restricted=false) const =0
LVL1::IL1EtTools::crateSums
virtual void crateSums(const DataVector< ModuleEnergy > *modules, DataVector< CrateEnergy > *crates, uint32_t maskXE=0xff, uint32_t maskTE=0xff, bool restricted=false) const =0
xAOD::JetElementMap_t
std::map< int, const JetElement * > JetElementMap_t
Definition: Event/xAOD/xAODTrigL1Calo/xAODTrigL1Calo/JetElement.h:18
perfmonmt-refit.slice
slice
Definition: perfmonmt-refit.py:52
LVL1::IL1EtTools::systemSums
virtual SystemEnergy systemSums(const DataVector< CrateEnergy > *crates) const =0
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
LVL1::IL1EtTools::systemSums
virtual SystemEnergy systemSums(const xAOD::JetElementContainer *jetelements, int slice=-1, uint32_t maskXE=0xff, uint32_t maskTE=0xff, bool restricted=false) const =0
LVL1::IL1EtTools::moduleSums
virtual void moduleSums(const xAOD::JetElementMap_t *jemap, DataVector< ModuleEnergy > *modules, int slice=-1) const =0
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
LVL1::IL1EtTools
Definition: IL1EtTools.h:31
LVL1::IL1EtTools::moduleSums
virtual void moduleSums(const xAOD::JetElementContainer *jetelements, DataVector< ModuleEnergy > *modules, int slice=-1) const =0
LVL1::IL1EtTools::systemSums
virtual SystemEnergy systemSums(const xAOD::JetElementMap_t *jemap, int slice=-1, uint32_t maskXE=0xff, uint32_t maskTE=0xff, bool restricted=false) const =0
LVL1::IL1EtTools::crateSums
virtual void crateSums(const DataVector< EnergyCMXData > *modules, DataVector< CrateEnergy > *crates, uint32_t maskXE=0xff, uint32_t maskTE=0xff, bool restricted=false) const =0
LVL1::SystemEnergy
SystemEnergy class declaration Simulates behaviour of the Crate-CMM System CMM logic is done in Energ...
Definition: SystemEnergy.h:35