57 m_numberGctEmJetPhiBins(0),
58 m_numberGctEtSumPhiBins(0),
59 m_numberGctHtSumPhiBins(0),
60 m_numberGctCentralEtaBinsPerHalf(0),
61 m_numberGctForwardEtaBinsPerHalf(0),
62 m_etaSignBitOffset(0),
63 m_gctEtaBinBoundaries(),
65 m_gctEmJetPhiBinWidth(0.),
66 m_gctEtSumPhiBinWidth(0.),
67 m_gctHtSumPhiBinWidth(0.),
68 m_gctEmJetPhiOffset(0.),
69 m_gctEtSumPhiOffset(0.),
70 m_gctHtSumPhiOffset(0.) {}
318 if (phiAdjusted < 0.) {
320 phiAdjusted += 2. *
M_PI;
321 }
while (phiAdjusted < 0.);
322 }
else if (phiAdjusted > 2. *
M_PI) {
324 phiAdjusted -= 2. *
M_PI;
325 }
while (phiAdjusted > 2. *
M_PI);
335 if (phiAdjusted < 0.) {
337 phiAdjusted += 2. *
M_PI;
338 }
while (phiAdjusted < 0.);
339 }
else if (phiAdjusted > 2. *
M_PI) {
341 phiAdjusted -= 2. *
M_PI;
342 }
while (phiAdjusted > 2. *
M_PI);
352 if (phiAdjusted < 0.) {
354 phiAdjusted += 2. *
M_PI;
355 }
while (phiAdjusted < 0.);
356 }
else if (phiAdjusted > 2. *
M_PI) {
358 phiAdjusted -= 2. *
M_PI;
359 }
while (phiAdjusted > 2. *
M_PI);
378 os <<
"L1CaloGeometry:" << std::endl;
380 os <<
"Central/tau eta bins: low / center / high" << std::endl;
386 os <<
"Forward eta bins: low / center / high" << std::endl;
392 os <<
"Global eta bins: low / center / high" << std::endl;
398 os <<
"EM/jet phi bins: low / center / high" << std::endl;
404 os <<
"Et sum phi bins: low / center / high" << std::endl;
410 os <<
"Ht sum phi bins: low / center / high" << std::endl;
double globalEtaBinLowEdge(unsigned int globalEtaIndex) const
unsigned int numberGctForwardEtaBinsPerHalf() const
double etaBinHighEdge(unsigned int etaIndex, bool central=true) const
unsigned int numberGctHtSumPhiBins() const
double etaBinLowEdge(unsigned int etaIndex, bool central=true) const
double htSumPhiBinLowEdge(unsigned int phiIndex) const
unsigned int numberGctEtSumPhiBins() const
unsigned int m_numberGctEtSumPhiBins
virtual ~L1CaloGeometry()
double m_gctEmJetPhiBinWidth
unsigned int numberGctEmJetPhiBins() const
double m_gctEtSumPhiOffset
double etaBinCenter(unsigned int etaIndex, bool central=true) const
unsigned int numberGctCentralEtaBinsPerHalf() const
unsigned int htSumPhiIndex(const double &phiValue) const
double m_gctHtSumPhiOffset
std::ostream & operator<<(std::ostream &os, const L1CaloGeometry &obj)
unsigned int m_numberGctCentralEtaBinsPerHalf
std::vector< double > m_gctEtaBinBoundaries
unsigned int m_numberGctEmJetPhiBins
double m_gctEmJetPhiOffset
double htSumPhiBinCenter(unsigned int phiIndex) const
unsigned int etSumPhiIndex(const double &phiValue) const
double m_gctHtSumPhiBinWidth
double m_gctEtSumPhiBinWidth
unsigned int emJetPhiIndex(const double &phiValue) const
double globalEtaBinCenter(unsigned int globalEtaIndex) const
double globalEtaBinHighEdge(unsigned int globalEtaIndex) const
double etSumPhiBinLowEdge(unsigned int phiIndex) const
unsigned int m_etaSignBitOffset
unsigned int m_etaBinsPerHalf
unsigned int m_numberGctHtSumPhiBins
unsigned int etaSignBitOffset() const
unsigned int m_numberGctForwardEtaBinsPerHalf
double emJetPhiBinCenter(unsigned int phiIndex) const
double emJetPhiBinLowEdge(unsigned int phiIndex) const
double htSumPhiBinHighEdge(unsigned int phiIndex) const
unsigned int globalEtaIndex(const double &etaValue) const
double etSumPhiBinCenter(unsigned int phiIndex) const
double emJetPhiBinHighEdge(unsigned int phiIndex) const
double etSumPhiBinHighEdge(unsigned int phiIndex) const
unsigned int etaIndex(const double &etaValue) const