#include <JGTowerHelper.h>
|
| static bool | inBox (float eta1, float eta2, float deta, float phi1, float phi2, float dphi) |
Definition at line 25 of file JGTowerHelper.h.
◆ JGTowerHelper() [1/2]
| LVL1::JGTowerHelper::JGTowerHelper |
( |
| ) |
|
|
delete |
◆ JGTowerHelper() [2/2]
| LVL1::JGTowerHelper::JGTowerHelper |
( |
float | eta, |
|
|
float | deta, |
|
|
float | phi, |
|
|
float | dphi ) |
Definition at line 12 of file JGTowerHelper.cxx.
13 {
18 }
Scalar eta() const
pseudorapidity method
Scalar phi() const
phi method
◆ ~JGTowerHelper()
| LVL1::JGTowerHelper::~JGTowerHelper |
( |
| ) |
|
|
virtual |
◆ area()
| float LVL1::JGTowerHelper::area |
( |
| ) |
const |
|
inline |
◆ dEta()
| float LVL1::JGTowerHelper::dEta |
( |
| ) |
const |
|
inline |
◆ dPhi()
| float LVL1::JGTowerHelper::dPhi |
( |
| ) |
const |
|
inline |
◆ Eta()
| float LVL1::JGTowerHelper::Eta |
( |
| ) |
const |
|
inline |
◆ GetSCIndices()
| const std::vector< int > & LVL1::JGTowerHelper::GetSCIndices |
( |
| ) |
const |
|
inline |
◆ GetTileIndices()
| const std::vector< int > & LVL1::JGTowerHelper::GetTileIndices |
( |
| ) |
const |
|
inline |
◆ hasNextEta()
| bool LVL1::JGTowerHelper::hasNextEta |
( |
| ) |
const |
|
inline |
Whether there is a next eta tower.
Definition at line 68 of file JGTowerHelper.h.
std::size_t m_nextEtaIndex
◆ hasNextPhi()
| bool LVL1::JGTowerHelper::hasNextPhi |
( |
| ) |
const |
|
inline |
Whether there is a next phi tower.
Definition at line 76 of file JGTowerHelper.h.
std::size_t m_nextPhiIndex
◆ hasPreviousEta()
| bool LVL1::JGTowerHelper::hasPreviousEta |
( |
| ) |
const |
|
inline |
Whether there is a previous eta tower.
Definition at line 64 of file JGTowerHelper.h.
std::size_t m_prevEtaIndex
◆ hasPreviousPhi()
| bool LVL1::JGTowerHelper::hasPreviousPhi |
( |
| ) |
const |
|
inline |
Whether there is a previous phi tower.
Definition at line 72 of file JGTowerHelper.h.
std::size_t m_prevPhiIndex
◆ inBox() [1/2]
| bool LVL1::JGTowerHelper::inBox |
( |
float | eta, |
|
|
float | phi ) const |
Definition at line 38 of file JGTowerHelper.cxx.
39 {
41 }
static bool inBox(float eta1, float eta2, float deta, float phi1, float phi2, float dphi)
◆ inBox() [2/2]
| bool LVL1::JGTowerHelper::inBox |
( |
float | eta1, |
|
|
float | eta2, |
|
|
float | deta, |
|
|
float | phi1, |
|
|
float | phi2, |
|
|
float | dphi ) |
|
static |
Definition at line 24 of file JGTowerHelper.cxx.
25 {
26
27 bool inEtaBox = std::abs(eta1 - eta2) < deta;
28 if (phi2 > TMath::Pi())
29 phi2 = phi2 - 2 * TMath::Pi();
30 float deltaPhi = std::abs(phi1 - phi2);
34
35 return inEtaBox && inPhiBox;
36 }
Scalar deltaPhi(const MatrixBase< Derived > &vec) const
◆ indexBehind()
| std::size_t LVL1::JGTowerHelper::indexBehind |
( |
| ) |
const |
|
inline |
The index of the tower behind this one.
Definition at line 82 of file JGTowerHelper.h.
std::size_t m_indexBehind
◆ indexInFront()
| std::size_t LVL1::JGTowerHelper::indexInFront |
( |
| ) |
const |
|
inline |
The index of the tower in front of this one.
Definition at line 78 of file JGTowerHelper.h.
std::size_t m_indexInFront
◆ isBackTower()
| bool LVL1::JGTowerHelper::isBackTower |
( |
| ) |
const |
|
inline |
Whether there is a tower behind this one.
Definition at line 84 of file JGTowerHelper.h.
◆ isFrontTower()
| bool LVL1::JGTowerHelper::isFrontTower |
( |
| ) |
const |
|
inline |
Whether there is a tower in front of this one.
Definition at line 80 of file JGTowerHelper.h.
◆ nextEtaIndex()
| std::size_t LVL1::JGTowerHelper::nextEtaIndex |
( |
| ) |
const |
|
inline |
The index of the tower after this one in eta (SIZE_MAX if not valid)
Definition at line 66 of file JGTowerHelper.h.
◆ nextPhiIndex()
| std::size_t LVL1::JGTowerHelper::nextPhiIndex |
( |
| ) |
const |
|
inline |
The index of the tower after this one in phi (SIZE_MAX if not valid)
Definition at line 74 of file JGTowerHelper.h.
◆ Phi()
| float LVL1::JGTowerHelper::Phi |
( |
| ) |
const |
|
inline |
◆ previousEtaIndex()
| std::size_t LVL1::JGTowerHelper::previousEtaIndex |
( |
| ) |
const |
|
inline |
The index of the tower before this one in eta (SIZE_MAX if not valid)
Definition at line 62 of file JGTowerHelper.h.
◆ previousPhiIndex()
| std::size_t LVL1::JGTowerHelper::previousPhiIndex |
( |
| ) |
const |
|
inline |
The index of the tower before this one in phi (SIZE_MAX if not valid)
Definition at line 70 of file JGTowerHelper.h.
◆ sampling()
| float LVL1::JGTowerHelper::sampling |
( |
| ) |
const |
|
inline |
◆ setArea()
| void LVL1::JGTowerHelper::setArea |
( |
float | value | ) |
|
|
inline |
◆ setIndexBehind()
| void LVL1::JGTowerHelper::setIndexBehind |
( |
std::size_t | value | ) |
|
|
inline |
◆ setIndexInFront()
| void LVL1::JGTowerHelper::setIndexInFront |
( |
std::size_t | value | ) |
|
|
inline |
◆ setNextEtaIndex()
| void LVL1::JGTowerHelper::setNextEtaIndex |
( |
std::size_t | value | ) |
|
|
inline |
◆ setNextPhiIndex()
| void LVL1::JGTowerHelper::setNextPhiIndex |
( |
std::size_t | value | ) |
|
|
inline |
◆ setPreviousEtaIndex()
| void LVL1::JGTowerHelper::setPreviousEtaIndex |
( |
std::size_t | value | ) |
|
|
inline |
◆ setPreviousPhiIndex()
| void LVL1::JGTowerHelper::setPreviousPhiIndex |
( |
std::size_t | value | ) |
|
|
inline |
◆ SetSampling()
| void LVL1::JGTowerHelper::SetSampling |
( |
int | sampling | ) |
|
|
inline |
◆ SetSCIndices()
| void LVL1::JGTowerHelper::SetSCIndices |
( |
int | sc_id | ) |
|
|
inline |
◆ SetTileIndices()
| void LVL1::JGTowerHelper::SetTileIndices |
( |
int | tile_id | ) |
|
|
inline |
◆ m_area
| float LVL1::JGTowerHelper::m_area {-1} |
|
private |
◆ m_deta
| float LVL1::JGTowerHelper::m_deta {-999} |
|
private |
◆ m_dphi
| float LVL1::JGTowerHelper::m_dphi {-999} |
|
private |
◆ m_eta
| float LVL1::JGTowerHelper::m_eta {-999} |
|
private |
◆ m_indexBehind
| std::size_t LVL1::JGTowerHelper::m_indexBehind {SIZE_MAX} |
|
private |
◆ m_indexInFront
| std::size_t LVL1::JGTowerHelper::m_indexInFront {SIZE_MAX} |
|
private |
◆ m_nextEtaIndex
| std::size_t LVL1::JGTowerHelper::m_nextEtaIndex {SIZE_MAX} |
|
private |
◆ m_nextPhiIndex
| std::size_t LVL1::JGTowerHelper::m_nextPhiIndex {SIZE_MAX} |
|
private |
◆ m_phi
| float LVL1::JGTowerHelper::m_phi {-999} |
|
private |
◆ m_prevEtaIndex
| std::size_t LVL1::JGTowerHelper::m_prevEtaIndex {SIZE_MAX} |
|
private |
◆ m_prevPhiIndex
| std::size_t LVL1::JGTowerHelper::m_prevPhiIndex {SIZE_MAX} |
|
private |
◆ m_sampling
| int LVL1::JGTowerHelper::m_sampling {-999} |
|
private |
◆ m_scellIndices
| std::vector<int> LVL1::JGTowerHelper::m_scellIndices |
|
private |
◆ m_tileIndices
| std::vector<int> LVL1::JGTowerHelper::m_tileIndices |
|
private |
The documentation for this class was generated from the following files: