CMS 3D CMS Logo

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 } // namespace spr
23 
24 #endif
spr::EtaPhi::iphiN
int iphiN[4]
Definition: FindEtaPhi.h:16
spr
Definition: CaloConstants.h:6
spr::EtaPhi::ietaE
int ietaE[4]
Definition: FindEtaPhi.h:16
spr::EtaPhi::ietaW
int ietaW[4]
Definition: FindEtaPhi.h:16
spr::EtaPhi::ntrys
int ntrys
Definition: FindEtaPhi.h:17
LEDCalibrationChannels.iphi
iphi
Definition: LEDCalibrationChannels.py:64
debug
#define debug
Definition: HDRShower.cc:19
spr::getEtaPhi
void getEtaPhi(HBHERecHitCollection::const_iterator hit, std::vector< int > &RH_ieta, std::vector< int > &RH_iphi, std::vector< double > &RH_ene, bool debug=false)
Definition: FindDistCone.cc:119
LEDCalibrationChannels.ieta
ieta
Definition: LEDCalibrationChannels.py:63
spr::EtaPhi
Definition: FindEtaPhi.h:14
spr::EtaPhi::EtaPhi
EtaPhi()
Definition: FindEtaPhi.h:15
spr::EtaPhi::iphiS
int iphiS[4]
Definition: FindEtaPhi.h:16