#include <iostream>
#include <fstream>
#include <algorithm>
#include <numeric>
#include "TString.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 (vector< TCell > &selectCells) |
void | combinePhi (vector< TCell > &selectCells, vector< TCell > &combinedCells) |
void | filterCells3x3 (vector< TCell > &selectCells, Int_t iEtaMaxE, UInt_t iPhiMaxE) |
void | filterCells5x5 (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 (vector< TCell > &selectCells, Int_t &iEtaMostE, UInt_t &iPhiMostE) |
void | sumDepths (vector< TCell > &selectCells) |
void | sumSmallDepths (vector< TCell > &selectCells) |
void combinePhi | ( | vector< TCell > & | selectCells | ) |
Definition at line 90 of file hcalCalibUtils.cc.
References LEDCalibrationChannels::depth, and LEDCalibrationChannels::ieta.
Referenced by hcalCalib::Process().
Definition at line 121 of file hcalCalibUtils.cc.
References LEDCalibrationChannels::depth, and LEDCalibrationChannels::ieta.
void filterCells3x3 | ( | vector< TCell > & | selectCells, |
Int_t | iEtaMaxE, | ||
UInt_t | iPhiMaxE | ||
) |
Definition at line 173 of file hcalCalibUtils.cc.
References funct::abs(), HLT_2018_cff::dEta, HLT_2018_cff::dPhi, LEDCalibrationChannels::ieta, and LEDCalibrationChannels::iphi.
Referenced by hcalCalib::Process().
void filterCells5x5 | ( | vector< TCell > & | selectCells, |
Int_t | iEtaMaxE, | ||
UInt_t | iPhiMaxE | ||
) |
Definition at line 237 of file hcalCalibUtils.cc.
References funct::abs(), HLT_2018_cff::dEta, HLT_2018_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 326 of file hcalCalibUtils.cc.
References getDistInPlaneSimple(), CaloGeometry::getPosition(), CaloGeometry::getSubdetectorGeometry(), and DetId::Hcal.
Referenced by hcalCalib::Process().
void getIEtaIPhiForHighestE | ( | vector< TCell > & | selectCells, |
Int_t & | iEtaMostE, | ||
UInt_t & | iPhiMostE | ||
) |
Definition at line 144 of file hcalCalibUtils.cc.
References MillePedeFileConverter_cfg::e, LEDCalibrationChannels::ieta, LEDCalibrationChannels::iphi, and sumDepths().
Referenced by hcalCalib::Process().
void sumDepths | ( | vector< TCell > & | selectCells | ) |
Definition at line 16 of file hcalCalibUtils.cc.
References funct::abs(), gather_cfg::cout, LEDCalibrationChannels::depth, HcalBarrel, LEDCalibrationChannels::ieta, and LEDCalibrationChannels::iphi.
Referenced by getIEtaIPhiForHighestE(), and hcalCalib::Process().
void sumSmallDepths | ( | vector< TCell > & | selectCells | ) |
Definition at line 268 of file hcalCalibUtils.cc.
References LEDCalibrationChannels::depth, spr::find(), LEDCalibrationChannels::ieta, and LEDCalibrationChannels::iphi.
Referenced by hcalCalib::Process().