ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigT1
TrigT1CaloUtils
TrigT1CaloUtils
TriggerTowerKey.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
/***************************************************************************
5
TriggerTowerKey.h - description
6
-------------------
7
begin : Tue Sep 26 2000
8
email : e.moyse@qmw.ac.uk
9
***************************************************************************/
10
11
12
#ifndef TRIGGERTOWERKEY_H
13
14
#define TRIGGERTOWERKEY_H
15
16
#include <iostream>
17
#include <stdlib.h>
18
19
#ifndef TRIGGERSPACE
20
// running in Athena
21
22
#include "
TrigT1CaloEvent/TriggerTower.h
"
23
#include "
TrigT1CaloUtils/KeyUtilities.h
"
24
#include "
TrigT1CaloUtils/ICoordinate.h
"
25
#include "
TrigT1Interfaces/Coordinate.h
"
26
#include "
TrigT1CaloUtils/BinAndCoord.h
"
27
#include "
CaloEvent/CaloCell.h
"
28
29
30
#else
31
// running in TRIGGERSPACE
32
#include "
KeyUtilities.h
"
33
#include "
ICoordinate.h
"
34
#include "
BinAndCoord.h
"
35
#include "
Coordinate.h
"
36
37
#endif
38
39
40
41
namespace
LVL1
{
42
51
class
TriggerTowerKey
:
public
KeyUtilities
{
52
public
:
53
54
enum
TriggerTowerRegion
{
55
TTBarrel
=0,
56
TTEndCap1
=1,
57
TTEndCap2
=2,
58
TTFCAL
=3,
59
TTRegionError
=999
60
};
61
62
TriggerTowerKey
(
double
m_phi
,
double
m_eta
);
63
TriggerTowerKey
();
64
virtual
~TriggerTowerKey
();
65
66
#ifndef TRIGGERSPACE
67
// these methods are only applicable if running in Athena
69
virtual
unsigned
int
ttKey
(
const
TriggerTower
& tower);
71
unsigned
int
ttKey
(
const
CaloCell
& calocell) ;
72
#endif
73
75
unsigned
int
ttKey
(
const
double
phi
,
const
double
eta
);
77
TriggerTowerRegion
region
(
const
Coordinate
&
coord
)
const
;
79
double
dEta
(
const
Coordinate
&
coord
)
const
;
81
double
dPhi
(
const
Coordinate
&
coord
)
const
;
82
83
84
85
86
private
:
// Private methods
89
virtual
BinAndCoord
calculateTriggerBin
(
const
ICoordinate
& iCoord);
90
private
:
91
// bool m_debug;
92
};
93
}
94
#endif
eta
Scalar eta() const
pseudorapidity method
Definition
AmgMatrixBasePlugin.h:83
phi
Scalar phi() const
phi method
Definition
AmgMatrixBasePlugin.h:67
BinAndCoord.h
CaloCell.h
ICoordinate.h
coord
double coord
Type of coordination system.
Definition
JetVoronoiDiagramHelpers.h:43
KeyUtilities.h
Coordinate.h
Coordinate.h
Coordinate policies.
TriggerTower.h
CaloCell
Data object for each calorimeter readout cell.
Definition
CaloCell.h:57
LVL1::BinAndCoord
Used to pass data between the methods of the Key Classes: Returns the Eta and Phi bins,...
Definition
BinAndCoord.h:35
LVL1::Coordinate
Coordinate class declaration.
Definition
TrigT1/TrigT1Interfaces/TrigT1Interfaces/Coordinate.h:45
LVL1::ICoordinate
Used by Key Classes, returns and integer coorginate for the bin Eta-Phi.
Definition
ICoordinate.h:26
LVL1::KeyUtilities::KeyUtilities
KeyUtilities()
the constructor is protected so a user can never make a KeyUtilities object
Definition
KeyUtilities.cxx:37
LVL1::KeyUtilities::m_phi
double m_phi
phi coordinate of key
Definition
KeyUtilities.h:102
LVL1::KeyUtilities::m_eta
double m_eta
eta coordinate of key
Definition
KeyUtilities.h:100
LVL1::TriggerTowerKey::~TriggerTowerKey
virtual ~TriggerTowerKey()
Definition
TriggerTowerKey.cxx:51
LVL1::TriggerTowerKey::TriggerTowerKey
TriggerTowerKey(double m_phi, double m_eta)
takes phi and eta and constructs a TriggerTowerKey object which can return the key for this coord *to...
Definition
TriggerTowerKey.cxx:31
LVL1::TriggerTowerKey::region
TriggerTowerRegion region(const Coordinate &coord) const
returns the TT region that the coordinate corresponds to.
Definition
TriggerTowerKey.cxx:156
LVL1::TriggerTowerKey::dPhi
double dPhi(const Coordinate &coord) const
returns phi height of trigger tower at coordinate coord
Definition
TriggerTowerKey.cxx:179
LVL1::TriggerTowerKey::TriggerTowerRegion
TriggerTowerRegion
Definition
TriggerTowerKey.h:54
LVL1::TriggerTowerKey::TTEndCap2
@ TTEndCap2
Definition
TriggerTowerKey.h:57
LVL1::TriggerTowerKey::TTEndCap1
@ TTEndCap1
Definition
TriggerTowerKey.h:56
LVL1::TriggerTowerKey::TTRegionError
@ TTRegionError
Definition
TriggerTowerKey.h:59
LVL1::TriggerTowerKey::TTBarrel
@ TTBarrel
Definition
TriggerTowerKey.h:55
LVL1::TriggerTowerKey::TTFCAL
@ TTFCAL
Definition
TriggerTowerKey.h:58
LVL1::TriggerTowerKey::dEta
double dEta(const Coordinate &coord) const
returns eta width of trigger tower at coordinate coord
Definition
TriggerTowerKey.cxx:169
LVL1::TriggerTowerKey::TriggerTowerKey
TriggerTowerKey()
constructs a TriggerTowerKey object
Definition
TriggerTowerKey.cxx:42
LVL1::TriggerTowerKey::ttKey
virtual unsigned int ttKey(const TriggerTower &tower)
returns the key of the passed tower
Definition
TriggerTowerKey.cxx:136
LVL1::TriggerTowerKey::calculateTriggerBin
virtual BinAndCoord calculateTriggerBin(const ICoordinate &iCoord)
converts integer phi, eta coordinates to phi, eta trigger bins.
Definition
TriggerTowerKey.cxx:56
LVL1::TriggerTower
Trigger towers are the inputs to all other parts of the calorimeter trigger.
Definition
Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/TriggerTower.h:45
LVL1
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Definition
IZdcDataAccess.h:13
Generated on
for ATLAS Offline Software by
1.17.0