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 111 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().

111  {
112  os << "Detector " << cell.detType() << " Eta " << cell.etaBin() << " ("
113  << cell.etaMin() << ":" << cell.etaMax() << ") Depth "
114  << cell.depthSegment() << " (" << cell.depthMin() << ":"
115  << cell.depthMax() << "; " << cell.depthType() << ") Phi "
116  << cell.nPhiBins() << " (" << cell.phiOffset() << ", "
117  << cell.phiBinWidth() << ", " << cell.nPhiModule() << ", "
118  << cell.unitPhi() << ") Halves " << cell.nHalves() << " Direction "
119  << cell.actualReadoutDirection() << " Half size " << cell.halfSize()
120  << " Sampling Factor " << cell.samplingFactor() << " # of missing cells "
121  << cell.missingPhiPlus().size() << "/" << cell.missingPhiMinus().size();
122  return os;
123 }
int etaBin() const
which eta ring it belongs to, starting from one
Definition: HcalCellType.h:41
double depthMax() const
Definition: HcalCellType.h:79
double depthMin() const
Definition: HcalCellType.h:78
bool depthType() const
Definition: HcalCellType.h:80
double samplingFactor() const
ratio of real particle energy to deposited energy in the SimHi
Definition: HcalCellType.h:84
double phiBinWidth() const
phi bin width, in degrees
Definition: HcalCellType.h:55
double halfSize() const
Definition: HcalCellType.h:81
int nHalves() const
Number of halves (forward/backward)
Definition: HcalCellType.h:63
HcalSubdetector detType() const
Definition: HcalCellType.h:38
double etaMax() const
cell edge, always positive &amp; greater than etaMin
Definition: HcalCellType.h:74
std::vector< int > missingPhiMinus() const
Definition: HcalCellType.h:88
double etaMin() const
lower cell edge. Always positive
Definition: HcalCellType.h:71
int nPhiModule() const
Definition: HcalCellType.h:52
double phiOffset() const
phi offset in degrees
Definition: HcalCellType.h:58
int nPhiBins() const
the number of these cells in a ring
Definition: HcalCellType.h:51
int unitPhi() const
Definition: HcalCellType.h:59
std::vector< int > missingPhiPlus() const
missing phi rings
Definition: HcalCellType.h:87
int depthSegment() const
Definition: HcalCellType.h:47
int actualReadoutDirection() const
Definition: HcalCellType.h:68