CMS 3D CMS Logo

Classes | Functions
L1CaloGeometry.h File Reference
#include "CondFormats/Serialization/interface/Serializable.h"
#include <vector>
#include <ostream>
#include "DataFormats/L1CaloTrigger/interface/L1CaloRegionDetId.h"

Go to the source code of this file.

Classes

class  L1CaloGeometry
 

Functions

std::ostream & operator<< (std::ostream &os, const L1CaloGeometry &obj)
 

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  os,
const L1CaloGeometry obj 
)

Definition at line 377 of file L1CaloGeometry.cc.

References mps_fire::i, and getGTfromDQMFile::obj.

377  {
378  os << "L1CaloGeometry:" << std::endl;
379 
380  os << "Central/tau eta bins: low / center / high" << std::endl;
381  for (unsigned int i = 0; i < obj.numberGctCentralEtaBinsPerHalf(); ++i) {
382  os << " bin " << i << ": " << obj.etaBinLowEdge(i) << " / " << obj.etaBinCenter(i) << " / "
383  << obj.etaBinHighEdge(i) << std::endl;
384  }
385 
386  os << "Forward eta bins: low / center / high" << std::endl;
387  for (unsigned int i = 0; i < obj.numberGctForwardEtaBinsPerHalf(); ++i) {
388  os << " bin " << i << ": " << obj.etaBinLowEdge(i, false) << " / " << obj.etaBinCenter(i, false) << " / "
389  << obj.etaBinHighEdge(i, false) << std::endl;
390  }
391 
392  os << "Global eta bins: low / center / high" << std::endl;
393  for (unsigned int i = 0; i < obj.numberGctCentralEtaBinsPerHalf() + obj.numberGctForwardEtaBinsPerHalf(); ++i) {
394  os << " bin " << i << ": " << obj.globalEtaBinLowEdge(i) << " / " << obj.globalEtaBinCenter(i) << " / "
395  << obj.globalEtaBinHighEdge(i) << std::endl;
396  }
397 
398  os << "EM/jet phi bins: low / center / high" << std::endl;
399  for (unsigned int i = 0; i < obj.numberGctEmJetPhiBins(); ++i) {
400  os << " bin " << i << ": " << obj.emJetPhiBinLowEdge(i) << " / " << obj.emJetPhiBinCenter(i) << " / "
401  << obj.emJetPhiBinHighEdge(i) << std::endl;
402  }
403 
404  os << "Et sum phi bins: low / center / high" << std::endl;
405  for (unsigned int i = 0; i < obj.numberGctEtSumPhiBins(); ++i) {
406  os << " bin " << i << ": " << obj.etSumPhiBinLowEdge(i) << " / " << obj.etSumPhiBinCenter(i) << " / "
407  << obj.etSumPhiBinHighEdge(i) << std::endl;
408  }
409 
410  os << "Ht sum phi bins: low / center / high" << std::endl;
411  for (unsigned int i = 0; i < obj.numberGctHtSumPhiBins(); ++i) {
412  os << " bin " << i << ": " << obj.htSumPhiBinLowEdge(i) << " / " << obj.htSumPhiBinCenter(i) << " / "
413  << obj.htSumPhiBinHighEdge(i) << std::endl;
414  }
415 
416  return os;
417 }