CMS 3D CMS Logo

Classes | Functions

calogeom Namespace Reference

Classes

class  IdealCastorTrapezoid
class  IdealObliquePrism
class  IdealZDCTrapezoid
class  IdealZPrism

Functions

static GlobalPoint etaPhiPerp (float eta, float phi, float perp)
static GlobalPoint etaPhiR (float eta, float phi, float rad)
static GlobalPoint etaPhiZ (float eta, float phi, float z)
std::ostream & operator<< (std::ostream &s, const IdealZDCTrapezoid &cell)
std::ostream & operator<< (std::ostream &s, const IdealZPrism &cell)
std::ostream & operator<< (std::ostream &s, const IdealObliquePrism &cell)
std::ostream & operator<< (std::ostream &s, const IdealCastorTrapezoid &cell)

Function Documentation

static GlobalPoint calogeom::etaPhiPerp ( float  eta,
float  phi,
float  perp 
) [static]
static GlobalPoint calogeom::etaPhiR ( float  eta,
float  phi,
float  rad 
) [static]

Definition at line 6 of file IdealZPrism.cc.

Referenced by calogeom::IdealZPrism::localCorners().

   {
      return GlobalPoint( rad*cosf(  phi )/coshf( eta ) ,
                          rad*sinf(  phi )/coshf( eta ) ,
                          rad*tanhf( eta )             ) ;
   }
static GlobalPoint calogeom::etaPhiZ ( float  eta,
float  phi,
float  z 
) [static]
std::ostream & calogeom::operator<< ( std::ostream &  s,
const IdealZDCTrapezoid &  cell 
)

Definition at line 68 of file IdealZDCTrapezoid.cc.

References calogeom::IdealZDCTrapezoid::an(), calogeom::IdealZDCTrapezoid::dx(), calogeom::IdealZDCTrapezoid::dy(), calogeom::IdealZDCTrapezoid::dz(), CaloCellGeometry::getPosition(), M_PI, and asciidump::s.

   {
      s << "Center: " <<  cell.getPosition() << std::endl ;
      s << "TiltAngle = " << cell.an()*180./M_PI << " deg, dx = " 
        << cell.dx() 
        << ", dy = " << cell.dy() << ", dz = " << cell.dz() << std::endl ;
      return s;
   }
std::ostream & calogeom::operator<< ( std::ostream &  s,
const IdealZPrism &  cell 
)

Definition at line 101 of file IdealZPrism.cc.

References calogeom::IdealZPrism::dEta(), calogeom::IdealZPrism::dPhi(), calogeom::IdealZPrism::dz(), CaloCellGeometry::getPosition(), and asciidump::s.

   {
      s << "Center: " <<  cell.getPosition() << std::endl ;
      s << "dEta = " << cell.dEta() << ", dPhi = " << cell.dPhi() << ", dz = " << cell.dz() << std::endl ;
      return s;
   }
std::ostream & calogeom::operator<< ( std::ostream &  s,
const IdealObliquePrism &  cell 
)

Definition at line 136 of file IdealObliquePrism.cc.

References calogeom::IdealObliquePrism::dEta(), calogeom::IdealObliquePrism::dPhi(), calogeom::IdealObliquePrism::dz(), CaloCellGeometry::getPosition(), and asciidump::s.

   {
      s << "Center: " <<  cell.getPosition() << std::endl ;
      s << "dEta = " << cell.dEta() << ", dPhi = " << cell.dPhi() << ", dz = " << cell.dz() << std::endl ;
      return s;
}
std::ostream & calogeom::operator<< ( std::ostream &  s,
const IdealCastorTrapezoid &  cell 
)

Definition at line 80 of file IdealCastorTrapezoid.cc.

References CaloCellGeometry::getPosition(), and asciidump::s.

   {
      s << "Center: " <<  cell.getPosition() << std::endl ;
//      s        << ", dx = " << cell.dx() 
//<< "TiltAngle = " << cell.an() 
//      << ", dy = " << cell.dy() << ", dz = " << cell.dz() << std::endl ;
      return s;
   }