File indexing completed on 2024-04-06 11:58:47
0001 #ifndef hcalCalibUtils_h
0002 #define hcalCalibUtils_h
0003
0004 #include <vector>
0005 #include <map>
0006 #include "Rtypes.h"
0007
0008 #include "DataFormats/DetId/interface/DetId.h"
0009 #include "DataFormats/HcalDetId/interface/HcalDetId.h"
0010
0011 #include "Calibration/HcalCalibAlgos/interface/TCell.h"
0012
0013 #include "DataFormats/GeometryVector/interface/GlobalPoint.h"
0014 #include "DataFormats/GeometryVector/interface/GlobalVector.h"
0015 #include "Geometry/CaloGeometry/interface/CaloGeometry.h"
0016
0017 void sumDepths(std::vector<TCell>& selectCells);
0018
0019
0020 void sumSmallDepths(std::vector<TCell>& selectCells);
0021
0022 void combinePhi(std::vector<TCell>& selectCells);
0023
0024 void combinePhi(std::vector<TCell>& selectCells, std::vector<TCell>& combinedCells);
0025
0026 void getIEtaIPhiForHighestE(std::vector<TCell>& selectCells, Int_t& iEta, UInt_t& iPhi);
0027 void filterCells3x3(std::vector<TCell>& selectCells, Int_t iEta, UInt_t iPhi);
0028 void filterCells5x5(std::vector<TCell>& selectCells, Int_t iEta, UInt_t iPhi);
0029
0030 void filterCellsInCone(std::vector<TCell>& selectCells,
0031 const GlobalPoint hitPositionHcal,
0032 Float_t maxConeDist,
0033 const CaloGeometry* theCaloGeometry);
0034
0035
0036
0037
0038
0039
0040
0041 #endif