CMS 3D CMS Logo

Functions
L1CaloGeometry.cc File Reference
#include <cmath>
#include "CondFormats/L1TObjects/interface/L1CaloGeometry.h"

Go to the source code of this file.

Functions

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

Function Documentation

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

Definition at line 517 of file L1CaloGeometry.cc.

References L1CaloGeometry::emJetPhiBinCenter(), L1CaloGeometry::emJetPhiBinHighEdge(), L1CaloGeometry::emJetPhiBinLowEdge(), L1CaloGeometry::etaBinCenter(), L1CaloGeometry::etaBinHighEdge(), L1CaloGeometry::etaBinLowEdge(), L1CaloGeometry::etSumPhiBinCenter(), L1CaloGeometry::etSumPhiBinHighEdge(), L1CaloGeometry::etSumPhiBinLowEdge(), L1CaloGeometry::globalEtaBinCenter(), L1CaloGeometry::globalEtaBinHighEdge(), L1CaloGeometry::globalEtaBinLowEdge(), L1CaloGeometry::htSumPhiBinCenter(), L1CaloGeometry::htSumPhiBinHighEdge(), L1CaloGeometry::htSumPhiBinLowEdge(), mps_fire::i, L1CaloGeometry::numberGctCentralEtaBinsPerHalf(), L1CaloGeometry::numberGctEmJetPhiBins(), L1CaloGeometry::numberGctEtSumPhiBins(), L1CaloGeometry::numberGctForwardEtaBinsPerHalf(), and L1CaloGeometry::numberGctHtSumPhiBins().

518 {
519  os << "L1CaloGeometry:" << std::endl ;
520 
521  os << "Central/tau eta bins: low / center / high" << std::endl ;
522  for( unsigned int i = 0 ; i < obj.numberGctCentralEtaBinsPerHalf() ; ++i )
523  {
524  os << " bin " << i << ": "
525  << obj.etaBinLowEdge( i ) << " / "
526  << obj.etaBinCenter( i ) << " / "
527  << obj.etaBinHighEdge( i )
528  << std::endl ;
529  }
530 
531  os << "Forward eta bins: low / center / high" << std::endl ;
532  for( unsigned int i = 0 ; i < obj.numberGctForwardEtaBinsPerHalf() ; ++i )
533  {
534  os << " bin " << i << ": "
535  << obj.etaBinLowEdge( i, false ) << " / "
536  << obj.etaBinCenter( i, false ) << " / "
537  << obj.etaBinHighEdge( i, false )
538  << std::endl ;
539  }
540 
541  os << "Global eta bins: low / center / high" << std::endl ;
542  for( unsigned int i = 0 ; i < obj.numberGctCentralEtaBinsPerHalf() +
544  {
545  os << " bin " << i << ": "
546  << obj.globalEtaBinLowEdge( i ) << " / "
547  << obj.globalEtaBinCenter( i ) << " / "
548  << obj.globalEtaBinHighEdge( i )
549  << std::endl ;
550  }
551 
552  os << "EM/jet phi bins: low / center / high" << std::endl ;
553  for( unsigned int i = 0 ; i < obj.numberGctEmJetPhiBins() ; ++i )
554  {
555  os << " bin " << i << ": "
556  << obj.emJetPhiBinLowEdge( i ) << " / "
557  << obj.emJetPhiBinCenter( i ) << " / "
558  << obj.emJetPhiBinHighEdge( i )
559  << std::endl ;
560  }
561 
562  os << "Et sum phi bins: low / center / high" << std::endl ;
563  for( unsigned int i = 0 ; i < obj.numberGctEtSumPhiBins() ; ++i )
564  {
565  os << " bin " << i << ": "
566  << obj.etSumPhiBinLowEdge( i ) << " / "
567  << obj.etSumPhiBinCenter( i ) << " / "
568  << obj.etSumPhiBinHighEdge( i )
569  << std::endl ;
570  }
571 
572  os << "Ht sum phi bins: low / center / high" << std::endl ;
573  for( unsigned int i = 0 ; i < obj.numberGctHtSumPhiBins() ; ++i )
574  {
575  os << " bin " << i << ": "
576  << obj.htSumPhiBinLowEdge( i ) << " / "
577  << obj.htSumPhiBinCenter( i ) << " / "
578  << obj.htSumPhiBinHighEdge( i )
579  << std::endl ;
580  }
581 
582  return os ;
583 }
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 numberGctEmJetPhiBins() const
double etaBinCenter(unsigned int etaIndex, bool central=true) const
unsigned int numberGctCentralEtaBinsPerHalf() const
double htSumPhiBinCenter(unsigned int phiIndex) const
double globalEtaBinCenter(unsigned int globalEtaIndex) const
double globalEtaBinHighEdge(unsigned int globalEtaIndex) const
double etSumPhiBinLowEdge(unsigned int phiIndex) const
double emJetPhiBinCenter(unsigned int phiIndex) const
double emJetPhiBinLowEdge(unsigned int phiIndex) const
double htSumPhiBinHighEdge(unsigned int phiIndex) const
double etSumPhiBinCenter(unsigned int phiIndex) const
double emJetPhiBinHighEdge(unsigned int phiIndex) const
double etSumPhiBinHighEdge(unsigned int phiIndex) const