CMS 3D CMS Logo

DDCons Class Reference

#include <DetectorDescription/Core/interface/DDSolid.h>

Inheritance diagram for DDCons:

DDSolid DDBase< DDName, DDI::Solid * >

List of all members.

Public Member Functions

 DDCons (const DDSolid &s)
double deltaPhi () const
double phiFrom () const
double rInMinusZ () const
double rInPlusZ () const
double rOutMinusZ () const
double rOutPlusZ () const
double zhalf () const

Private Member Functions

 DDCons ()


Detailed Description

Definition at line 289 of file DDSolid.h.


Constructor & Destructor Documentation

DDCons::DDCons ( const DDSolid s  ) 

Definition at line 432 of file DDSolid.cc.

References ddcons, DDName::name(), DDBase< N, C >::name(), DDName::ns(), and DDSolid::shape().

00433   : DDSolid(s) {
00434   if (s.shape() != ddcons) {
00435     std::string ex  = "Solid [" + s.name().ns() + ":" + s.name().name() + "] is not a DDCons.\n";
00436     ex = ex + "Use a different solid interface!";
00437     throw DDException(ex);
00438   }
00439 }

DDCons::DDCons (  )  [private]


Member Function Documentation

double DDCons::deltaPhi (  )  const

Definition at line 453 of file DDSolid.cc.

References DDBase< DDName, DDI::Solid * >::rep().

Referenced by SolidsForOnline::beginJob(), DDDividedConsPhi::DDDividedConsPhi(), and DDDividedConsPhi::getMaxParameter().

00453 { return rep().parameters()[6]; }

double DDCons::phiFrom (  )  const

Definition at line 451 of file DDSolid.cc.

References DDBase< DDName, DDI::Solid * >::rep().

Referenced by SolidsForOnline::beginJob().

00451 { return rep().parameters()[5]; }

double DDCons::rInMinusZ (  )  const

Definition at line 443 of file DDSolid.cc.

References DDBase< DDName, DDI::Solid * >::rep().

Referenced by SolidsForOnline::beginJob(), DDDividedConsRho::DDDividedConsRho(), and DDDividedConsRho::getMaxParameter().

00443 { return rep().parameters()[1]; }

double DDCons::rInPlusZ (  )  const

Definition at line 447 of file DDSolid.cc.

References DDBase< DDName, DDI::Solid * >::rep().

Referenced by SolidsForOnline::beginJob(), and DDDividedConsRho::DDDividedConsRho().

00447 { return rep().parameters()[3]; }

double DDCons::rOutMinusZ (  )  const

Definition at line 445 of file DDSolid.cc.

References DDBase< DDName, DDI::Solid * >::rep().

Referenced by SolidsForOnline::beginJob(), DDDividedConsRho::DDDividedConsRho(), and DDDividedConsRho::getMaxParameter().

00445 { return rep().parameters()[2]; }

double DDCons::rOutPlusZ (  )  const

Definition at line 449 of file DDSolid.cc.

References DDBase< DDName, DDI::Solid * >::rep().

Referenced by SolidsForOnline::beginJob().

00449 { return rep().parameters()[4]; }

double DDCons::zhalf (  )  const

Definition at line 441 of file DDSolid.cc.

References DDBase< DDName, DDI::Solid * >::rep().

Referenced by SolidsForOnline::beginJob(), DDDividedConsZ::DDDividedConsZ(), DDDividedConsZ::getMaxParameter(), and DDDividedConsZ::makeDDTranslation().

00441 { return rep().parameters()[0]; }


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:17:49 2009 for CMSSW by  doxygen 1.5.4