5#ifndef CALOCLUSTERMATCHING_TOPOCLUSTERMAP_H
6#define CALOCLUSTERMATCHING_TOPOCLUSTERMAP_H
13 typedef std::map<int, std::map< int, std::vector<const xAOD::CaloCluster* > > >
TopoCluster2DMap;
20 TopoClusterMap(
float minEta=-6.,
float minPhi=-3.2,
float maxEta=6.,
float maxPhi=3.2,
21 float dEta=0.3,
float dPhi=0.1);
53 return m_map.at(eta_key).at(phi_key);
71 return std::pair<int,int>(eta_key,phi_key);
Scalar eta() const
pseudorapidity method
Scalar phi() const
phi method
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
File providing the different SG_BASE macros.
TopoClusterMap & DuplicateMap()
static double GetLArThirdLayerRatio(const xAOD::CaloCluster *)
TopoClusterMap(float minEta=-6., float minPhi=-3.2, float maxEta=6., float maxPhi=3.2, float dEta=0.3, float dPhi=0.1)
std::pair< int, int > GetEtaPhiKeys(double eta, double phi) const
TopoCluster2DMap & RetrieveMap()
std::vector< const xAOD::CaloCluster * > RetrieveTopoClusters(int eta_key, int phi_key) const
StatusCode SetTopoClusters(const xAOD::CaloClusterContainer *)
void InsertTopoCluster(xAOD::CaloCluster *)
interface methods
void SortGridVector(int eta_key, int phi_key)
std::map< int, std::map< int, std::vector< const xAOD::CaloCluster * > > > TopoCluster2DMap
std::vector< const xAOD::CaloCluster * > RetrieveTopoClusters(double eta, double phi, double Pt) const
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.
CaloClusterContainer_v1 CaloClusterContainer
Define the latest version of the calorimeter cluster container.