#include <TopoClusterMap.h>
|
| TopoClusterMap (float minEta=-6., float minPhi=-3.2, float maxEta=6., float maxPhi=3.2, float dEta=0.3, float dPhi=0.1) |
|
| ~TopoClusterMap () |
|
void | InsertTopoCluster (xAOD::CaloCluster *) |
| interface methods More...
|
|
TopoClusterMap & | DuplicateMap () |
|
void | ClearMap () |
|
StatusCode | SetTopoClusters (const xAOD::CaloClusterContainer *) |
|
TopoCluster2DMap & | RetrieveMap () |
|
std::vector< const xAOD::CaloCluster * > | RetrieveTopoClusters (double eta, double phi, double Pt) const |
|
std::vector< const xAOD::CaloCluster * > | RetrieveTopoClusters (double eta, double phi, double dEta, double dPhi) const |
|
std::vector< const xAOD::CaloCluster * > | RetrieveTopoClusters (int eta_key, int phi_key) const |
|
std::pair< int, int > | GetEtaPhiKeys (double eta, double phi) const |
|
Definition at line 11 of file TopoClusterMap.h.
◆ TopoCluster2DMap
◆ TopoClusterMap()
TopoClusterMap::TopoClusterMap |
( |
float |
minEta = -6. , |
|
|
float |
minPhi = -3.2 , |
|
|
float |
maxEta = 6. , |
|
|
float |
maxPhi = 3.2 , |
|
|
float |
dEta = 0.3 , |
|
|
float |
dPhi = 0.1 |
|
) |
| |
◆ ~TopoClusterMap()
TopoClusterMap::~TopoClusterMap |
( |
| ) |
|
|
default |
◆ ClearMap()
void TopoClusterMap::ClearMap |
( |
| ) |
|
◆ DuplicateMap()
◆ GetEtaPhiKeys()
std::pair<int,int> TopoClusterMap::GetEtaPhiKeys |
( |
double |
eta, |
|
|
double |
phi |
|
) |
| const |
|
inline |
Definition at line 57 of file TopoClusterMap.h.
71 return std::pair<int,int>(eta_key,phi_key);
◆ GetLArThirdLayerRatio()
Definition at line 167 of file TopoClusterMap.cxx.
170 double totalEnergy(0.), thirdLayerEnergy(0.);
191 return (thirdLayerEnergy / totalEnergy);
◆ InsertTopoCluster()
◆ RetrieveMap()
◆ RetrieveTopoClusters() [1/3]
std::vector< const xAOD::CaloCluster * > TopoClusterMap::RetrieveTopoClusters |
( |
double |
eta, |
|
|
double |
phi, |
|
|
double |
dEta, |
|
|
double |
dPhi |
|
) |
| const |
Definition at line 137 of file TopoClusterMap.cxx.
142 std::vector<const xAOD::CaloCluster*>
clusters;
151 for (
int ieta = lower_keys.first; ieta <= upper_keys.first; ieta++)
152 for (
int iphi = lower_keys.second; iphi <= upper_keys.second; iphi++)
◆ RetrieveTopoClusters() [2/3]
std::vector< const xAOD::CaloCluster * > TopoClusterMap::RetrieveTopoClusters |
( |
double |
eta, |
|
|
double |
phi, |
|
|
double |
Pt |
|
) |
| const |
◆ RetrieveTopoClusters() [3/3]
◆ SetTopoClusters()
Definition at line 41 of file TopoClusterMap.cxx.
47 for(
const auto *
const cc : *inputTopoClusterContainer)
59 return StatusCode::SUCCESS;
◆ SortGridVector()
void TopoClusterMap::SortGridVector |
( |
int |
eta_key, |
|
|
int |
phi_key |
|
) |
| |
|
private |
◆ SortGridVectors()
void TopoClusterMap::SortGridVectors |
( |
| ) |
|
|
private |
◆ m_dEta
double TopoClusterMap::m_dEta |
|
private |
◆ m_dPhi
double TopoClusterMap::m_dPhi |
|
private |
◆ m_map
◆ m_maxEta
double TopoClusterMap::m_maxEta |
|
private |
◆ m_maxPhi
double TopoClusterMap::m_maxPhi |
|
private |
◆ m_minEta
double TopoClusterMap::m_minEta |
|
private |
◆ m_minPhi
double TopoClusterMap::m_minPhi |
|
private |
The documentation for this class was generated from the following files: