CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Functions
HcalCellType.h File Reference
#include <vector>
#include <iostream>
#include "DataFormats/HcalDetId/interface/HcalSubdetector.h"

Go to the source code of this file.

Classes

struct  HcalCellType::HcalCell
 
class  HcalCellType
 

Functions

std::ostream & operator<< (std::ostream &, const HcalCellType &)
 

Function Documentation

std::ostream& operator<< ( std::ostream &  ,
const HcalCellType  
)

Definition at line 68 of file HcalCellType.cc.

References HcalCellType::actualReadoutDirection(), HcalCellType::depthMax(), HcalCellType::depthMin(), HcalCellType::depthSegment(), HcalCellType::depthType(), HcalCellType::detType(), HcalCellType::etaBin(), HcalCellType::etaMax(), HcalCellType::etaMin(), HcalCellType::halfSize(), HcalCellType::missingPhiMinus(), HcalCellType::missingPhiPlus(), HcalCellType::nHalves(), HcalCellType::nPhiBins(), HcalCellType::nPhiModule(), HcalCellType::phiBinWidth(), HcalCellType::phiOffset(), HcalCellType::samplingFactor(), and HcalCellType::unitPhi().

68  {
69  os << "Detector " << cell.detType() << " Eta " << cell.etaBin() << " ("
70  << cell.etaMin() << ":" << cell.etaMax() << ") Depth "
71  << cell.depthSegment() << " (" << cell.depthMin() << ":"
72  << cell.depthMax() << "; " << cell.depthType() << ") Phi "
73  << cell.nPhiBins() << " (" << cell.phiOffset() << ", "
74  << cell.phiBinWidth() << ", " << cell.nPhiModule() << ", "
75  << cell.unitPhi() << ") Halves " << cell.nHalves() << " Direction "
76  << cell.actualReadoutDirection() << " Half size " << cell.halfSize()
77  << " Sampling Factor " << cell.samplingFactor() << " # of missing cells "
78  << cell.missingPhiPlus().size() << "/" << cell.missingPhiMinus().size();
79  return os;
80 }