Go to the documentation of this file.00001 #ifndef hcalCalibUtils_h
00002 #define hcalCalibUtils_h
00003
00004 #include <vector>
00005 #include <map>
00006
00007 #include "DataFormats/DetId/interface/DetId.h"
00008 #include "DataFormats/HcalDetId/interface/HcalDetId.h"
00009
00010 #include "Calibration/HcalCalibAlgos/src/TCell.h"
00011
00012
00013 #include "DataFormats/GeometryVector/interface/GlobalPoint.h"
00014 #include "DataFormats/GeometryVector/interface/GlobalVector.h"
00015 #include "Geometry/CaloGeometry/interface/CaloGeometry.h"
00016
00017
00018 void sumDepths(std::vector<TCell> &selectCells);
00019
00020
00021 void sumSmallDepths(std::vector<TCell> &selectCells);
00022
00023 void combinePhi(std::vector<TCell> &selectCells);
00024
00025 void combinePhi(std::vector<TCell> &selectCells, std::vector<TCell> &combinedCells);
00026
00027
00028
00029 void getIEtaIPhiForHighestE(std::vector<TCell>& selectCells, Int_t& iEta, UInt_t& iPhi);
00030 void filterCells3x3 (std::vector<TCell>& selectCells, Int_t iEta, UInt_t iPhi);
00031 void filterCells5x5 (std::vector<TCell>& selectCells, Int_t iEta, UInt_t iPhi);
00032
00033
00034 void filterCellsInCone (std::vector<TCell>& selectCells, const GlobalPoint hitPositionHcal,
00035 Float_t maxConeDist, const CaloGeometry* theCaloGeometry);
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045 #endif