ATLAS Offline Software
IgSuperCellTowerMapper.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef IgSuperCellTowerMapper_H
6 #define IgSuperCellTowerMapper_H
7 
11 #include "L1CaloFEXSim/gTower.h"
16 
17 namespace LVL1 {
18 
19 /*
20 Interface definition for gSuperCellTowerMapper
21 */
22 
23  static const InterfaceID IID_IgSuperCellTowerMapper("LVL1::IgSuperCellTowerMapper", 1, 0);
24 
25  class IgSuperCellTowerMapper : virtual public IAlgTool {
26  public:
27  static const InterfaceID& interfaceID( ) ;
28 
29  virtual StatusCode AssignSuperCellsToTowers(std::unique_ptr<gTowerContainer> & my_gTowerContainerRaw) const = 0;
30  virtual StatusCode AssignTriggerTowerMapper(std::unique_ptr<gTowerContainer> & my_gTowerContainerRaw) const = 0;
31 
32  virtual void reset() = 0;
33 
34  virtual int FindAndConnectTower(std::unique_ptr<gTowerContainer> & my_gTowerContainerRaw,CaloSampling::CaloSample sample,const int region, const int pos_neg, const int eta_index, const int phi_index, Identifier ID, float et, int prov, bool doPrint) const = 0;
35  virtual void ConnectSuperCellToTower(std::unique_ptr<gTowerContainer> & my_gTowerContainerRaw, int iGTower, Identifier ID, float et) const = 0;
36  virtual int FindTowerIDForSuperCell(int towereta, int towerphi, int nphi) const = 0;
37 
38  virtual void PrintCellSpec(const CaloSampling::CaloSample sample, const int region,
39  const int eta_index, const int phi_index, const int pos_neg,
40  int towereta, int towerphi, int nphi, int towerID_Modifier,
41  int iGTower, int prov, Identifier ID) const = 0;
42  private:
43 
44  };
45 
46  inline const InterfaceID& LVL1::IgSuperCellTowerMapper::interfaceID()
47  {
48  return IID_IgSuperCellTowerMapper;
49  }
50 
51 } // end of namespace
52 
53 #endif
et
Extra patterns decribing particle interation process.
LVL1::IgSuperCellTowerMapper
Definition: IgSuperCellTowerMapper.h:25
LVL1::IgSuperCellTowerMapper::FindAndConnectTower
virtual int FindAndConnectTower(std::unique_ptr< gTowerContainer > &my_gTowerContainerRaw, CaloSampling::CaloSample sample, const int region, const int pos_neg, const int eta_index, const int phi_index, Identifier ID, float et, int prov, bool doPrint) const =0
LVL1::IgSuperCellTowerMapper::reset
virtual void reset()=0
ID
std::vector< Identifier > ID
Definition: CalibHitIDCheck.h:24
gTowerContainer.h
TriggerTowerContainer.h
LVL1::IgSuperCellTowerMapper::FindTowerIDForSuperCell
virtual int FindTowerIDForSuperCell(int towereta, int towerphi, int nphi) const =0
LVL1
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Definition: ICMMCPHitsCnvTool.h:18
AthAlgorithm.h
FullCPAlgorithmsTest_eljob.sample
sample
Definition: FullCPAlgorithmsTest_eljob.py:116
CaloSampling::CaloSample
CaloSample
Definition: Calorimeter/CaloGeoHelpers/CaloGeoHelpers/CaloSampling.h:22
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
CaloCell_SuperCell_ID.h
Helper class for offline supercell identifiers.
createCablingJSON.eta_index
int eta_index
Definition: createCablingJSON.py:9
CaloCellContainer.h
LVL1::IgSuperCellTowerMapper::AssignSuperCellsToTowers
virtual StatusCode AssignSuperCellsToTowers(std::unique_ptr< gTowerContainer > &my_gTowerContainerRaw) const =0
LVL1::IgSuperCellTowerMapper::interfaceID
static const InterfaceID & interfaceID()
Definition: IgSuperCellTowerMapper.h:46
LVL1::IgSuperCellTowerMapper::PrintCellSpec
virtual void PrintCellSpec(const CaloSampling::CaloSample sample, const int region, const int eta_index, const int phi_index, const int pos_neg, int towereta, int towerphi, int nphi, int towerID_Modifier, int iGTower, int prov, Identifier ID) const =0
CaloIdManager.h
LVL1::IgSuperCellTowerMapper::AssignTriggerTowerMapper
virtual StatusCode AssignTriggerTowerMapper(std::unique_ptr< gTowerContainer > &my_gTowerContainerRaw) const =0
LVL1::IgSuperCellTowerMapper::ConnectSuperCellToTower
virtual void ConnectSuperCellToTower(std::unique_ptr< gTowerContainer > &my_gTowerContainerRaw, int iGTower, Identifier ID, float et) const =0
gTower.h
Identifier
Definition: IdentifierFieldParser.cxx:14