CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
FindEtaPhi.h
Go to the documentation of this file.
1 #ifndef CalibrationIsolatedParticlesFindEtaPhi_h
2 #define CalibrationIsolatedParticlesFindEtaPhi_h
3 
4 // system include files
5 #include <memory>
6 #include <cmath>
7 #include <string>
8 #include <map>
9 #include <vector>
10 
11 namespace spr {
12 
13  // For even number of NxN array
14  struct EtaPhi {
15  EtaPhi() {ntrys = 0;}
16  int ietaE[4], ietaW[4], iphiN[4], iphiS[4];
17  int ntrys;
18  };
19 
20  EtaPhi getEtaPhi(int ieta, int iphi, bool debug=false);
21 
22 }
23 
24 #endif
int ietaE[4]
Definition: FindEtaPhi.h:16
#define debug
Definition: HDRShower.cc:19
int ietaW[4]
Definition: FindEtaPhi.h:16
int iphiN[4]
Definition: FindEtaPhi.h:16
int iphiS[4]
Definition: FindEtaPhi.h:16
void getEtaPhi(HBHERecHitCollection::const_iterator hit, std::vector< int > &RH_ieta, std::vector< int > &RH_iphi, std::vector< double > &RH_ene)
Definition: FindDistCone.cc:72