ATLAS Offline Software
IT2GeometryTool.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 /********************************************************************
6 
7  NAME: IT2GeometryTool.h
8  PACKAGE: Trigger/TrigAlgorithms/TrigT2CaloCommon
9 
10  AUTHOR: Denis Oliveira Damazio
11  Carlos Osuna Escamilla
12 
13  PURPOSE: This Tools provides the information about whether
14  a cell is part of a cluster for different cluster sizes.
15 *******************************************************************/
16 
17 
18 #ifndef TRIGT2CALOCOMMON_IT2GEOMETRYTOOL_H
19 #define TRIGT2CALOCOMMON_IT2GEOMETRYTOOL_H
20 
21 #include "GaudiKernel/IAlgTool.h"
22 
23 
24 class IT2GeometryTool : virtual public IAlgTool {
25 public:
27 
36  virtual int EtaPhiRange(const int nCaloType, const int nCaloSamp,
37  const double& energyEta, const double& energyPhi) = 0;
38 
45  virtual bool CellInNorCluster( const int nCaloType,const int nCaloSamp,
46  const double& etaCell, const double& phiCell) = 0;
53  virtual bool CellInNarCluster( const int nCaloType,const int nCaloSamp,
54  const double& etaCell, const double& phiCell) = 0;
61  virtual bool CellInWidCluster( const int nCaloType,const int nCaloSamp,
62  const double& etaCell, const double& phiCell) = 0;
63 
64  virtual int nStripetaEMnar(const int layer) const = 0;
65  virtual int nStripphiEMnar(const int layer) const = 0;
66 
67  virtual int nStripetaEMwid(const int layer) const = 0;
68  virtual int nStripphiEMwid(const int layer) const = 0;
69 
70  virtual int nStripetaEMnor(const int layer) const = 0;
71  virtual int nStripphiEMnor(const int layer) const = 0;
72 
73  virtual int nStripetaHADnar(const int layer) const = 0;
74  virtual int nStripphiHADnar(const int layer) const = 0;
75 
76  virtual int nStripetaHADwid(const int layer) const = 0;
77  virtual int nStripphiHADwid(const int layer) const = 0;
78 
79  virtual int nStripetaHADnor(const int layer) const = 0;
80  virtual int nStripphiHADnor(const int layer) const = 0;
81 
82  protected:
83 
84  virtual int EtaPhiRangeInt(const int layer, const int& nStripEta,
85  const int& nStripPhi,const double& energyEta,
86  const double& energyPhi,const int index_size) = 0;
87 
88 };
89 
90 #endif
IT2GeometryTool::nStripetaHADwid
virtual int nStripetaHADwid(const int layer) const =0
IT2GeometryTool::nStripetaHADnor
virtual int nStripetaHADnor(const int layer) const =0
IT2GeometryTool::nStripphiHADnor
virtual int nStripphiHADnor(const int layer) const =0
IT2GeometryTool::nStripetaEMnar
virtual int nStripetaEMnar(const int layer) const =0
IT2GeometryTool::CellInWidCluster
virtual bool CellInWidCluster(const int nCaloType, const int nCaloSamp, const double &etaCell, const double &phiCell)=0
Finds whether a cell is in a Wide Sized Cluster.
IT2GeometryTool::DeclareInterfaceID
DeclareInterfaceID(IT2GeometryTool, 1, 0)
IT2GeometryTool::nStripphiHADwid
virtual int nStripphiHADwid(const int layer) const =0
TRT::Hit::layer
@ layer
Definition: HitInfo.h:79
IT2GeometryTool::nStripetaEMnor
virtual int nStripetaEMnor(const int layer) const =0
IT2GeometryTool::nStripphiEMnar
virtual int nStripphiEMnar(const int layer) const =0
IT2GeometryTool::CellInNorCluster
virtual bool CellInNorCluster(const int nCaloType, const int nCaloSamp, const double &etaCell, const double &phiCell)=0
Finds whether a cell is in a Normal Sized Cluster.
IT2GeometryTool
Definition: IT2GeometryTool.h:24
IT2GeometryTool::EtaPhiRange
virtual int EtaPhiRange(const int nCaloType, const int nCaloSamp, const double &energyEta, const double &energyPhi)=0
This prepares internal tables based on the cluster position.
IT2GeometryTool::CellInNarCluster
virtual bool CellInNarCluster(const int nCaloType, const int nCaloSamp, const double &etaCell, const double &phiCell)=0
Finds whether a cell is in a Narrow Sized Cluster.
IT2GeometryTool::nStripphiEMnor
virtual int nStripphiEMnor(const int layer) const =0
IT2GeometryTool::nStripetaHADnar
virtual int nStripetaHADnar(const int layer) const =0
IT2GeometryTool::nStripetaEMwid
virtual int nStripetaEMwid(const int layer) const =0
IT2GeometryTool::EtaPhiRangeInt
virtual int EtaPhiRangeInt(const int layer, const int &nStripEta, const int &nStripPhi, const double &energyEta, const double &energyPhi, const int index_size)=0
IT2GeometryTool::nStripphiHADnar
virtual int nStripphiHADnar(const int layer) const =0
IT2GeometryTool::nStripphiEMwid
virtual int nStripphiEMwid(const int layer) const =0