11 #include "CLHEP/Units/defs.h" 12 #include "CLHEP/Units/PhysicalConstants.h" 13 #include "CLHEP/Units/SystemOfUnits.h" 35 double myPhi = thisPhi;
39 myPhi = myPhi + CLHEP::twopi;
41 myPhi = myPhi - CLHEP::twopi;
56 os <<
"Eta range = [" <<
std::fixed << std::setw(7) << std::setfill(
' ') << std::setprecision(4) <<
id.getEtaMin()
57 <<
"," <<
std::fixed << std::setw(7) << std::setfill(
' ') << std::setprecision(4) <<
id.getEtaMax()
58 <<
"], Phi range = [" <<
std::fixed << std::setw(7) << std::setfill(
' ') << std::setprecision(4) <<
id.getPhiMin()
59 <<
"," <<
std::fixed << std::setw(7) << std::setfill(
' ') << std::setprecision(4) <<
id.getPhiMax()
60 <<
"], subsystem = " <<
id.getSubSys();
std::ostream & operator<<(std::ostream &os, const CaloCellId &id)
CaloCellId(double theEtaMin, double theEtaMax, double thePhiMin, double thePhiMax, System theSubSys)
bool isInCell(double thisEta, double thisPhi)
bool operator==(const CaloCellId &) const
Geom::Theta< T > theta() const