#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 LEDCalibrationChannels::depth, and LEDCalibrationChannels::ieta.
Referenced by hcalCalib::Process().
Definition at line 120 of file hcalCalibUtils.cc.
References LEDCalibrationChannels::depth, and LEDCalibrationChannels::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_2022v15_cff::dEta, HLT_2022v15_cff::dPhi, LEDCalibrationChannels::ieta, and LEDCalibrationChannels::iphi.
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_2022v15_cff::dEta, HLT_2022v15_cff::dPhi, LEDCalibrationChannels::ieta, and LEDCalibrationChannels::iphi.
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(), and DetId::Hcal.
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, LEDCalibrationChannels::ieta, LEDCalibrationChannels::iphi, and sumDepths().
Referenced by hcalCalib::Process().
void sumDepths | ( | std::vector< TCell > & | selectCells | ) |
Definition at line 15 of file hcalCalibUtils.cc.
References funct::abs(), LEDCalibrationChannels::depth, HcalBarrel, LEDCalibrationChannels::ieta, and LEDCalibrationChannels::iphi.
Referenced by getIEtaIPhiForHighestE(), and hcalCalib::Process().
void sumSmallDepths | ( | std::vector< TCell > & | selectCells | ) |
Definition at line 267 of file hcalCalibUtils.cc.
References LEDCalibrationChannels::depth, spr::find(), LEDCalibrationChannels::ieta, and LEDCalibrationChannels::iphi.
Referenced by hcalCalib::Process().