test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
12 
16 
17 
18 void sumDepths(std::vector<TCell> &selectCells); // replaces original collection
19 
20 // sum "small" depths in towers 16,17: depths 1,2 in HB
21 void sumSmallDepths(std::vector<TCell> &selectCells); // replaces original collection
22 
23 void combinePhi(std::vector<TCell> &selectCells); // replaces original collection
24 
25 void combinePhi(std::vector<TCell> &selectCells, std::vector<TCell> &combinedCells);
26 
27 
28 
29 void getIEtaIPhiForHighestE(std::vector<TCell>& selectCells, Int_t& iEta, UInt_t& iPhi);
30 void filterCells3x3 (std::vector<TCell>& selectCells, Int_t iEta, UInt_t iPhi);
31 void filterCells5x5 (std::vector<TCell>& selectCells, Int_t iEta, UInt_t iPhi);
32 
33 
34 void filterCellsInCone (std::vector<TCell>& selectCells, const GlobalPoint hitPositionHcal,
35  Float_t maxConeDist, const CaloGeometry* theCaloGeometry);
36 
37 // Jim's implementation fo the cone
38 
39 //double getDistInPlaneSimple(const GlobalPoint caloPoint, const GlobalPoint rechitPoint);
40 
41 
42 
43 //void makeTextFile(std::map<Int_t, Float_t> &coef);
44 
45 #endif
void filterCellsInCone(std::vector< TCell > &selectCells, const GlobalPoint hitPositionHcal, Float_t maxConeDist, const CaloGeometry *theCaloGeometry)
tuple sumSmallDepths
Definition: diJetCalib.py:58
tuple maxConeDist
Definition: diJetCalib.py:71
tuple combinePhi
Definition: diJetCalib.py:54
void filterCells3x3(std::vector< TCell > &selectCells, Int_t iEta, UInt_t iPhi)
tuple sumDepths
Definition: diJetCalib.py:51
void filterCells5x5(std::vector< TCell > &selectCells, Int_t iEta, UInt_t iPhi)
void getIEtaIPhiForHighestE(std::vector< TCell > &selectCells, Int_t &iEta, UInt_t &iPhi)