CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
HcalCellType.cc File Reference
#include "Geometry/HcalCommonData/interface/HcalCellType.h"
#include "CLHEP/Units/GlobalSystemOfUnits.h"
#include <iomanip>

Go to the source code of this file.

Functions

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

Function Documentation

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

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 }
int etaBin() const
which eta ring it belongs to, starting from one
Definition: HcalCellType.h:40
double depthMax() const
Definition: HcalCellType.h:75
double depthMin() const
Definition: HcalCellType.h:74
bool depthType() const
Definition: HcalCellType.h:76
double samplingFactor() const
ratio of real particle energy to deposited energy in the SimHi
Definition: HcalCellType.h:80
double phiBinWidth() const
phi bin width, in degrees
Definition: HcalCellType.h:52
double halfSize() const
Definition: HcalCellType.h:77
int nHalves() const
Number of halves (forward/backward)
Definition: HcalCellType.h:59
HcalSubdetector detType() const
Definition: HcalCellType.h:37
double etaMax() const
cell edge, always positive &amp; greater than etaMin
Definition: HcalCellType.h:70
std::vector< int > missingPhiMinus() const
Definition: HcalCellType.h:84
double etaMin() const
lower cell edge. Always positive
Definition: HcalCellType.h:67
int nPhiModule() const
Definition: HcalCellType.h:49
double phiOffset() const
phi offset in degrees
Definition: HcalCellType.h:55
int nPhiBins() const
the number of these cells in a ring
Definition: HcalCellType.h:48
int unitPhi() const
Definition: HcalCellType.h:56
std::vector< int > missingPhiPlus() const
missing phi rings
Definition: HcalCellType.h:83
int depthSegment() const
Definition: HcalCellType.h:45
int actualReadoutDirection() const
Definition: HcalCellType.h:64