#include <iostream>
#include <fstream>
#include <algorithm>
#include <numeric>
#include "TString.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "Calibration/HcalCalibAlgos/interface/hcalCalibUtils.h"
#include "Calibration/HcalCalibAlgos/interface/CommonUsefulStuff.h"
#include "DataFormats/DetId/interface/DetId.h"
#include "Geometry/HcalTowerAlgo/interface/HcalGeometry.h"
Go to the source code of this file.
Functions | |
void | combinePhi (std::vector< TCell > &selectCells) |
void | combinePhi (std::vector< TCell > &selectCells, std::vector< TCell > &combinedCells) |
void | filterCells3x3 (std::vector< TCell > &selectCells, Int_t iEtaMaxE, UInt_t iPhiMaxE) |
void | filterCells5x5 (std::vector< TCell > &selectCells, Int_t iEtaMaxE, UInt_t iPhiMaxE) |
void | filterCellsInCone (std::vector< TCell > &selectCells, const GlobalPoint hitPositionHcal, Float_t maxConeDist, const CaloGeometry *theCaloGeometry) |
void | getIEtaIPhiForHighestE (std::vector< TCell > &selectCells, Int_t &iEtaMostE, UInt_t &iPhiMostE) |
void | sumDepths (std::vector< TCell > &selectCells) |
void | sumSmallDepths (std::vector< TCell > &selectCells) |
void combinePhi | ( | std::vector< TCell > & | selectCells | ) |
Definition at line 89 of file hcalCalibUtils.cc.
References hcalRecHitTable_cff::depth, and hcalRecHitTable_cff::ieta.
Referenced by hcalCalib::Process().
Definition at line 120 of file hcalCalibUtils.cc.
References hcalRecHitTable_cff::depth, and hcalRecHitTable_cff::ieta.
void filterCells3x3 | ( | std::vector< TCell > & | selectCells, |
Int_t | iEtaMaxE, | ||
UInt_t | iPhiMaxE | ||
) |
Definition at line 172 of file hcalCalibUtils.cc.
References funct::abs(), HLT_2024v14_cff::dEta, HLT_2024v14_cff::dPhi, hcalRecHitTable_cff::ieta, hcalRecHitTable_cff::iphi, and ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it.
Referenced by hcalCalib::Process().
void filterCells5x5 | ( | std::vector< TCell > & | selectCells, |
Int_t | iEtaMaxE, | ||
UInt_t | iPhiMaxE | ||
) |
Definition at line 236 of file hcalCalibUtils.cc.
References funct::abs(), HLT_2024v14_cff::dEta, HLT_2024v14_cff::dPhi, hcalRecHitTable_cff::ieta, hcalRecHitTable_cff::iphi, and ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it.
Referenced by hcalCalib::Process().
void filterCellsInCone | ( | std::vector< TCell > & | selectCells, |
const GlobalPoint | hitPositionHcal, | ||
Float_t | maxConeDist, | ||
const CaloGeometry * | theCaloGeometry | ||
) |
Definition at line 325 of file hcalCalibUtils.cc.
References getDistInPlaneSimple(), CaloGeometry::getPosition(), CaloGeometry::getSubdetectorGeometry(), DetId::Hcal, and ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it.
Referenced by hcalCalib::Process().
void getIEtaIPhiForHighestE | ( | std::vector< TCell > & | selectCells, |
Int_t & | iEtaMostE, | ||
UInt_t & | iPhiMostE | ||
) |
Definition at line 143 of file hcalCalibUtils.cc.
References MillePedeFileConverter_cfg::e, hcalRecHitTable_cff::ieta, hcalRecHitTable_cff::iphi, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, and sumDepths().
Referenced by hcalCalib::Process().
void sumDepths | ( | std::vector< TCell > & | selectCells | ) |
Definition at line 15 of file hcalCalibUtils.cc.
References funct::abs(), hcalRecHitTable_cff::depth, HcalBarrel, hcalRecHitTable_cff::ieta, ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::barrel::ietaAbs(), and hcalRecHitTable_cff::iphi.
Referenced by getIEtaIPhiForHighestE(), and hcalCalib::Process().
void sumSmallDepths | ( | std::vector< TCell > & | selectCells | ) |
Definition at line 267 of file hcalCalibUtils.cc.
References hcalRecHitTable_cff::depth, spr::find(), hcalRecHitTable_cff::ieta, ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::barrel::ietaAbs(), and hcalRecHitTable_cff::iphi.
Referenced by hcalCalib::Process().