EtaPhi

Macros

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
#ifndef CalibrationIsolatedParticlesFindEtaPhi_h
#define CalibrationIsolatedParticlesFindEtaPhi_h

// system include files
#include <memory>
#include <cmath>
#include <string>
#include <map>
#include <vector>

namespace spr {

  // For even number of NxN array
  struct EtaPhi {
    EtaPhi() { ntrys = 0; }
    int ietaE[4], ietaW[4], iphiN[4], iphiS[4];
    int ntrys;
  };

  EtaPhi getEtaPhi(int ieta, int iphi, bool debug = false);

}  // namespace spr

#endif