CMS 3D CMS Logo

Classes | Functions
HcalCellType.h File Reference
#include <vector>
#include <iostream>
#include "DataFormats/HcalDetId/interface/HcalSubdetector.h"
#include "CLHEP/Units/GlobalSystemOfUnits.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 101 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::nPhiBins(), HcalCellType::nPhiModule(), HcalCellType::phiBinWidth(), HcalCellType::phiOffset(), HcalCellType::samplingFactor(), HcalCellType::unitPhi(), and HcalCellType::zside().

101  {
102  os << "Detector " << cell.detType() << " Eta " << cell.etaBin() << " ("
103  << cell.etaMin() << ":" << cell.etaMax() << ") Zside " << cell.zside()
104  << " Depth " << cell.depthSegment() << " (" << cell.depthMin() << ":"
105  << cell.depthMax() << "; " << cell.depthType() << ") Phi "
106  << cell.nPhiBins() << " (" << cell.phiOffset()/CLHEP::deg << ", "
107  << cell.phiBinWidth()/CLHEP::deg << ", " << cell.unitPhi() << ", "
108  << cell.nPhiModule() << ") Direction "
109  << cell.actualReadoutDirection() << " Half size " << cell.halfSize()
110  << " Sampling Factor " << cell.samplingFactor();
111  return os;
112 }