CMS 3D CMS Logo

CMSSW_4_4_3_patch1/src/DetectorDescription/Parser/src/DDDividedBox.h

Go to the documentation of this file.
00001 #ifndef DD_DividedBox_H
00002 #define DD_DividedBox_H
00003 
00004 //
00005 // ********************************************************************
00006 // 25.04.04 - M. Case ddd-ize G4ParametarisationBox*
00007 // ********************************************************************
00008 
00009 #include "DDDividedGeometryObject.h"
00010 #include "DetectorDescription/Base/interface/DDTranslation.h"
00011 
00012 class DDLogicalPart;
00013 class DDRotation;
00014 
00015 class DDDividedBoxX : public DDDividedGeometryObject
00016 { 
00017  public:
00018   
00019   DDDividedBoxX( const DDDivision& div, DDCompactView* cpv);
00020   
00021   virtual ~DDDividedBoxX();
00022 
00023   virtual double getMaxParameter() const;
00024 
00025   virtual DDTranslation makeDDTranslation( const int copyNo ) const;
00026 
00027   virtual DDRotation makeDDRotation( const int copyNo ) const;
00028 
00029   virtual DDLogicalPart makeDDLogicalPart(const int copyNo) const;
00030 };
00031 
00032 class DDDividedBoxY : public DDDividedGeometryObject
00033 { 
00034  public:
00035   
00036   DDDividedBoxY( const DDDivision& div, DDCompactView* cpv);
00037   
00038   virtual ~DDDividedBoxY();
00039 
00040   virtual double getMaxParameter() const;
00041 
00042   virtual DDTranslation makeDDTranslation( const int copyNo ) const;
00043 
00044   virtual DDRotation makeDDRotation( const int copyNo ) const;
00045 
00046   virtual DDLogicalPart makeDDLogicalPart(const int copyNo) const;
00047 };
00048 
00049 class DDDividedBoxZ : public DDDividedGeometryObject
00050 { 
00051  public:
00052   
00053   DDDividedBoxZ( const DDDivision& div, DDCompactView* cpv);
00054   
00055   virtual ~DDDividedBoxZ();
00056 
00057   virtual double getMaxParameter() const;
00058 
00059   virtual DDTranslation makeDDTranslation( const int copyNo ) const;
00060 
00061   virtual DDRotation makeDDRotation( const int copyNo ) const;
00062 
00063   virtual DDLogicalPart makeDDLogicalPart(const int copyNo) const;
00064 };
00065 #endif