ATLAS Offline Software
Loading...
Searching...
No Matches
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
17namespace LVL1 {
18
19/*
20Interface 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
47 {
49 }
50
51} // end of namespace
52
53#endif
std::vector< Identifier > ID
Helper class for offline supercell identifiers.
static const InterfaceID & interfaceID()
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
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
virtual void ConnectSuperCellToTower(std::unique_ptr< gTowerContainer > &my_gTowerContainerRaw, int iGTower, Identifier ID, float et) const =0
virtual StatusCode AssignSuperCellsToTowers(std::unique_ptr< gTowerContainer > &my_gTowerContainerRaw) const =0
virtual StatusCode AssignTriggerTowerMapper(std::unique_ptr< gTowerContainer > &my_gTowerContainerRaw) const =0
virtual int FindTowerIDForSuperCell(int towereta, int towerphi, int nphi) const =0
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
static const InterfaceID IID_IgSuperCellTowerMapper("LVL1::IgSuperCellTowerMapper", 1, 0)
Extra patterns decribing particle interation process.