CMS 3D CMS Logo

Classes | Functions

/data/refman/pasoursint/CMSSW_5_3_4/src/CondFormats/L1TObjects/interface/L1CaloGeometry.h File Reference

#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

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(), i, L1CaloGeometry::numberGctCentralEtaBinsPerHalf(), L1CaloGeometry::numberGctEmJetPhiBins(), L1CaloGeometry::numberGctEtSumPhiBins(), L1CaloGeometry::numberGctForwardEtaBinsPerHalf(), and L1CaloGeometry::numberGctHtSumPhiBins().

{
   os << "L1CaloGeometry:" << std::endl ;

   os << "Central/tau eta bins: low / center / high" << std::endl ;
   for( unsigned int i = 0 ; i < obj.numberGctCentralEtaBinsPerHalf() ; ++i )
     {
       os << "  bin " << i << ": "
          << obj.etaBinLowEdge( i ) << " / "
          << obj.etaBinCenter( i ) << " / "
          << obj.etaBinHighEdge( i )
          << std::endl ;
     }

   os << "Forward eta bins: low / center / high" << std::endl ;
   for( unsigned int i = 0 ; i < obj.numberGctForwardEtaBinsPerHalf() ; ++i )
     {
       os << "  bin " << i << ": "
          << obj.etaBinLowEdge( i, false ) << " / "
          << obj.etaBinCenter( i, false ) << " / "
          << obj.etaBinHighEdge( i, false )
          << std::endl ;
     }

   os << "Global eta bins: low / center / high" << std::endl ;
   for( unsigned int i = 0 ; i < obj.numberGctCentralEtaBinsPerHalf() +
          obj.numberGctForwardEtaBinsPerHalf() ; ++i )
     {
       os << "  bin " << i << ": "
          << obj.globalEtaBinLowEdge( i ) << " / "
          << obj.globalEtaBinCenter( i ) << " / "
          << obj.globalEtaBinHighEdge( i )
          << std::endl ;
     }

   os << "EM/jet phi bins: low / center / high" << std::endl ;
   for( unsigned int i = 0 ; i < obj.numberGctEmJetPhiBins() ; ++i )
     {
       os << "  bin " << i << ": "
          << obj.emJetPhiBinLowEdge( i ) << " / "
          << obj.emJetPhiBinCenter( i ) << " / "
          << obj.emJetPhiBinHighEdge( i )
          << std::endl ;
     }

   os << "Et sum phi bins: low / center / high" << std::endl ;
   for( unsigned int i = 0 ; i < obj.numberGctEtSumPhiBins() ; ++i )
     {
       os << "  bin " << i << ": "
          << obj.etSumPhiBinLowEdge( i ) << " / "
          << obj.etSumPhiBinCenter( i ) << " / "
          << obj.etSumPhiBinHighEdge( i )
          << std::endl ;
     }

   os << "Ht sum phi bins: low / center / high" << std::endl ;
   for( unsigned int i = 0 ; i < obj.numberGctHtSumPhiBins() ; ++i )
     {
       os << "  bin " << i << ": "
          << obj.htSumPhiBinLowEdge( i ) << " / "
          << obj.htSumPhiBinCenter( i ) << " / "
          << obj.htSumPhiBinHighEdge( i )
          << std::endl ;
     }

   return os ;
}