#include <FastL1RegionMap.h>
Public Member Functions | |
int | convertFromECal_to_HCal_iphi (int iphi_ecal) |
int | convertFromHCal_to_ECal_iphi (int iphi_hcal) |
void | display () |
FastL1RegionMap () | |
int | getNRegion () |
int | getNTower () |
std::pair< double, double > | getRegionCenterEtaPhi (int iRgn) |
std::pair< int, int > | getRegionEtaPhiIndex (std::pair< int, int > iEtaPhi) |
std::pair< int, int > | getRegionEtaPhiIndex (CaloTowerDetId towerId) |
std::pair< int, int > | getRegionEtaPhiIndex (int regionId) |
int | getRegionIndex (int ieta, int iphi) |
int | getRegionIndex (CaloTowerDetId tower) |
int | getRegionTowerIndex (std::pair< int, int > iEtaPhi) |
int | getRegionTowerIndex (int ieta, int iphi) |
int | getRegionTowerIndex (CaloTowerDetId towerId) |
std::pair< int, int > | GetTowerEastEtaPhi (int ieta, int iphi) |
std::pair< int, int > | GetTowerNEEtaPhi (int ieta, int iphi) |
std::pair< int, int > | GetTowerNorthEtaPhi (int ieta, int iphi) |
std::pair< int, int > | GetTowerNWEtaPhi (int ieta, int iphi) |
std::pair< int, int > | GetTowerSEEtaPhi (int ieta, int iphi) |
std::pair< int, int > | GetTowerSouthEtaPhi (int ieta, int iphi) |
std::pair< int, int > | GetTowerSWEtaPhi (int ieta, int iphi) |
std::pair< int, int > | GetTowerWestEtaPhi (int ieta, int iphi) |
~FastL1RegionMap () | |
Static Public Member Functions | |
static FastL1RegionMap * | getFastL1RegionMap () |
Private Attributes | |
int | nRegion |
int | nTower |
Static Private Attributes | |
static FastL1RegionMap * | theInstance = 0 |
Description: Mapping between DetIds, CaloTower IDs and Region IDs.
Implementation: <Notes on="" implementation>="">
Definition at line 49 of file FastL1RegionMap.h.
FastL1RegionMap::FastL1RegionMap | ( | ) |
Definition at line 23 of file FastL1RegionMap.cc.
References nRegion, and nTower.
Referenced by getFastL1RegionMap().
FastL1RegionMap::~FastL1RegionMap | ( | ) |
int FastL1RegionMap::convertFromECal_to_HCal_iphi | ( | int | iphi_ecal | ) |
Definition at line 313 of file FastL1RegionMap.cc.
Referenced by FastL1GlobalAlgo::checkMapping().
int FastL1RegionMap::convertFromHCal_to_ECal_iphi | ( | int | iphi_hcal | ) |
Definition at line 328 of file FastL1RegionMap.cc.
void FastL1RegionMap::display | ( | ) |
|
static |
Definition at line 33 of file FastL1RegionMap.cc.
References FastL1RegionMap(), and theInstance.
Referenced by FastL1GlobalAlgo::FastL1GlobalAlgo().
|
inline |
|
inline |
std::pair< double, double > FastL1RegionMap::getRegionCenterEtaPhi | ( | int | iRgn | ) |
Definition at line 252 of file FastL1RegionMap.cc.
References eta(), getRegionEtaPhiIndex(), and phi.
Referenced by FastL1GlobalAlgo::addJet(), FastL1GlobalAlgo::checkMapping(), FastL1GlobalAlgo::FillL1RegionsTP(), FastL1GlobalAlgo::FillMET(), FastL1GlobalAlgo::findJets(), and FastL1GlobalAlgo::isEMCand().
std::pair< int, int > FastL1RegionMap::getRegionEtaPhiIndex | ( | std::pair< int, int > | iEtaPhi | ) |
Definition at line 62 of file FastL1RegionMap.cc.
References funct::abs().
Referenced by FastL1GlobalAlgo::checkMapping(), FastL1GlobalAlgo::FillL1Regions(), getRegionCenterEtaPhi(), getRegionEtaPhiIndex(), getRegionIndex(), and FastL1GlobalAlgo::InitL1Regions().
std::pair< int, int > FastL1RegionMap::getRegionEtaPhiIndex | ( | CaloTowerDetId | towerId | ) |
Definition at line 44 of file FastL1RegionMap.cc.
References getRegionEtaPhiIndex(), CaloTowerDetId::ieta(), and CaloTowerDetId::iphi().
std::pair< int, int > FastL1RegionMap::getRegionEtaPhiIndex | ( | int | regionId | ) |
Definition at line 204 of file FastL1RegionMap.cc.
int FastL1RegionMap::getRegionIndex | ( | int | ieta, |
int | iphi | ||
) |
Definition at line 213 of file FastL1RegionMap.cc.
References getRegionEtaPhiIndex().
Referenced by FastL1GlobalAlgo::checkMapping(), FastL1GlobalAlgo::FillL1RegionsTP(), getRegionIndex(), and FastL1GlobalAlgo::isEMCand().
int FastL1RegionMap::getRegionIndex | ( | CaloTowerDetId | tower | ) |
Definition at line 225 of file FastL1RegionMap.cc.
References getRegionIndex(), CaloTowerDetId::ieta(), and CaloTowerDetId::iphi().
int FastL1RegionMap::getRegionTowerIndex | ( | std::pair< int, int > | iEtaPhi | ) |
Definition at line 175 of file FastL1RegionMap.cc.
References funct::abs().
Referenced by FastL1GlobalAlgo::checkMapping(), FastL1GlobalAlgo::FillL1Regions(), FastL1GlobalAlgo::FillL1RegionsTP(), getRegionTowerIndex(), and FastL1GlobalAlgo::isEMCand().
int FastL1RegionMap::getRegionTowerIndex | ( | int | ieta, |
int | iphi | ||
) |
Definition at line 198 of file FastL1RegionMap.cc.
References getRegionTowerIndex().
int FastL1RegionMap::getRegionTowerIndex | ( | CaloTowerDetId | towerId | ) |
Definition at line 52 of file FastL1RegionMap.cc.
References getRegionTowerIndex(), CaloTowerDetId::ieta(), and CaloTowerDetId::iphi().
std::pair< int, int > FastL1RegionMap::GetTowerEastEtaPhi | ( | int | ieta, |
int | iphi | ||
) |
Definition at line 369 of file FastL1RegionMap.cc.
Referenced by FastL1GlobalAlgo::isEMCand().
std::pair< int, int > FastL1RegionMap::GetTowerNEEtaPhi | ( | int | ieta, |
int | iphi | ||
) |
Definition at line 395 of file FastL1RegionMap.cc.
Referenced by FastL1GlobalAlgo::isEMCand().
std::pair< int, int > FastL1RegionMap::GetTowerNorthEtaPhi | ( | int | ieta, |
int | iphi | ||
) |
Definition at line 340 of file FastL1RegionMap.cc.
Referenced by FastL1GlobalAlgo::isEMCand().
std::pair< int, int > FastL1RegionMap::GetTowerNWEtaPhi | ( | int | ieta, |
int | iphi | ||
) |
Definition at line 380 of file FastL1RegionMap.cc.
Referenced by FastL1GlobalAlgo::isEMCand().
std::pair< int, int > FastL1RegionMap::GetTowerSEEtaPhi | ( | int | ieta, |
int | iphi | ||
) |
Definition at line 427 of file FastL1RegionMap.cc.
Referenced by FastL1GlobalAlgo::isEMCand().
std::pair< int, int > FastL1RegionMap::GetTowerSouthEtaPhi | ( | int | ieta, |
int | iphi | ||
) |
Definition at line 349 of file FastL1RegionMap.cc.
Referenced by FastL1GlobalAlgo::isEMCand().
std::pair< int, int > FastL1RegionMap::GetTowerSWEtaPhi | ( | int | ieta, |
int | iphi | ||
) |
Definition at line 412 of file FastL1RegionMap.cc.
Referenced by FastL1GlobalAlgo::isEMCand().
std::pair< int, int > FastL1RegionMap::GetTowerWestEtaPhi | ( | int | ieta, |
int | iphi | ||
) |
Definition at line 358 of file FastL1RegionMap.cc.
Referenced by FastL1GlobalAlgo::isEMCand().
|
private |
Definition at line 91 of file FastL1RegionMap.h.
Referenced by FastL1RegionMap(), and getNRegion().
|
private |
Definition at line 90 of file FastL1RegionMap.h.
Referenced by FastL1RegionMap(), and getNTower().
|
staticprivate |
Definition at line 88 of file FastL1RegionMap.h.
Referenced by getFastL1RegionMap().