CMS 3D CMS Logo

hcalCalibUtils.h
Go to the documentation of this file.
1 #ifndef hcalCalibUtils_h
2 #define hcalCalibUtils_h
3 
4 #include <vector>
5 #include <map>
6 
9 
11 
15 
16 void sumDepths(std::vector<TCell>& selectCells); // replaces original collection
17 
18 // sum "small" depths in towers 16,17: depths 1,2 in HB
19 void sumSmallDepths(std::vector<TCell>& selectCells); // replaces original collection
20 
21 void combinePhi(std::vector<TCell>& selectCells); // replaces original collection
22 
23 void combinePhi(std::vector<TCell>& selectCells, std::vector<TCell>& combinedCells);
24 
25 void getIEtaIPhiForHighestE(std::vector<TCell>& selectCells, Int_t& iEta, UInt_t& iPhi);
26 void filterCells3x3(std::vector<TCell>& selectCells, Int_t iEta, UInt_t iPhi);
27 void filterCells5x5(std::vector<TCell>& selectCells, Int_t iEta, UInt_t iPhi);
28 
29 void filterCellsInCone(std::vector<TCell>& selectCells,
30  const GlobalPoint hitPositionHcal,
31  Float_t maxConeDist,
32  const CaloGeometry* theCaloGeometry);
33 
34 // Jim's implementation fo the cone
35 
36 //double getDistInPlaneSimple(const GlobalPoint caloPoint, const GlobalPoint rechitPoint);
37 
38 //void makeTextFile(std::map<Int_t, Float_t> &coef);
39 
40 #endif
void filterCellsInCone(std::vector< TCell > &selectCells, const GlobalPoint hitPositionHcal, Float_t maxConeDist, const CaloGeometry *theCaloGeometry)
void combinePhi(std::vector< TCell > &selectCells)
void filterCells3x3(std::vector< TCell > &selectCells, Int_t iEta, UInt_t iPhi)
void sumSmallDepths(std::vector< TCell > &selectCells)
void filterCells5x5(std::vector< TCell > &selectCells, Int_t iEta, UInt_t iPhi)
void sumDepths(std::vector< TCell > &selectCells)
void getIEtaIPhiForHighestE(std::vector< TCell > &selectCells, Int_t &iEta, UInt_t &iPhi)