CMS 3D CMS Logo

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