#include <DDDividedGeometryObject.h>
Public Member Functions | |
DDDividedGeometryObject (const DDDivision &div, DDCompactView *cpv) | |
virtual void | execute (void) |
virtual const std::string & | getType (void) const |
virtual DDLogicalPart | makeDDLogicalPart (int copyNo) const |
virtual DDRotation | makeDDRotation (int copyNo) const |
virtual DDTranslation | makeDDTranslation (int copyNo) const |
virtual void | setType (const std::string &type) |
int | volumeFirstCopyNo (void) const |
virtual | ~DDDividedGeometryObject (void)=default |
Static Public Member Functions | |
static const double | tolerance (void) |
Protected Member Functions | |
int | calculateNDiv (double motherDim, double width, double offset) const |
double | calculateWidth (double motherDim, int nDiv, double offset) const |
std::unique_ptr< DDRotationMatrix > | changeRotMatrix (double rotZ=0.) const |
void | checkNDivAndWidth (double maxPar) |
void | checkOffset (double maxPar) |
virtual void | checkParametersValidity (void) |
virtual double | getMaxParameter (void) const |
Protected Attributes | |
int | compNDiv_ |
double | compWidth_ |
DDCompactView * | cpv_ |
DDDivision | div_ |
DivisionType | divisionType_ |
std::string | ftype_ |
int | theVoluFirstCopyNo_ |
Definition at line 20 of file DDDividedGeometryObject.h.
DDDividedGeometryObject::DDDividedGeometryObject | ( | const DDDivision & | div, |
DDCompactView * | cpv | ||
) |
Definition at line 13 of file DDDividedGeometryObject.cc.
References div_, divisionType_, DivNDIV, DivWIDTH, DDDivision::nReplicas(), tolerance(), and DDDivision::width().
|
virtualdefault |
|
protected |
Definition at line 33 of file DDDividedGeometryObject.cc.
References createfilelist::int, hltrates_dqm_sourceclient-live_cfg::offset, and ApeEstimator_cff::width.
Referenced by DDDividedPolyconeZ::checkParametersValidity(), DDDividedBoxX::DDDividedBoxX(), DDDividedBoxY::DDDividedBoxY(), DDDividedBoxZ::DDDividedBoxZ(), DDDividedConsPhi::DDDividedConsPhi(), DDDividedConsRho::DDDividedConsRho(), DDDividedConsZ::DDDividedConsZ(), DDDividedPolyconePhi::DDDividedPolyconePhi(), DDDividedPolyconeRho::DDDividedPolyconeRho(), DDDividedPolyconeZ::DDDividedPolyconeZ(), DDDividedPolyhedraPhi::DDDividedPolyhedraPhi(), DDDividedPolyhedraRho::DDDividedPolyhedraRho(), DDDividedPolyhedraZ::DDDividedPolyhedraZ(), DDDividedTrdX::DDDividedTrdX(), DDDividedTrdY::DDDividedTrdY(), DDDividedTrdZ::DDDividedTrdZ(), DDDividedTubsPhi::DDDividedTubsPhi(), DDDividedTubsRho::DDDividedTubsRho(), and DDDividedTubsZ::DDDividedTubsZ().
|
protected |
Definition at line 37 of file DDDividedGeometryObject.cc.
References hltrates_dqm_sourceclient-live_cfg::offset.
Referenced by DDDividedBoxX::DDDividedBoxX(), DDDividedBoxY::DDDividedBoxY(), DDDividedBoxZ::DDDividedBoxZ(), DDDividedConsPhi::DDDividedConsPhi(), DDDividedConsRho::DDDividedConsRho(), DDDividedConsZ::DDDividedConsZ(), DDDividedPolyconePhi::DDDividedPolyconePhi(), DDDividedPolyconeRho::DDDividedPolyconeRho(), DDDividedPolyhedraPhi::DDDividedPolyhedraPhi(), DDDividedPolyhedraRho::DDDividedPolyhedraRho(), DDDividedPolyhedraZ::DDDividedPolyhedraZ(), DDDividedTrdX::DDDividedTrdX(), DDDividedTrdY::DDDividedTrdY(), DDDividedTrdZ::DDDividedTrdZ(), DDDividedTubsPhi::DDDividedTubsPhi(), DDDividedTubsRho::DDDividedTubsRho(), DDDividedTubsZ::DDDividedTubsZ(), DDDividedConsRho::makeDDLogicalPart(), DDDividedPolyconeRho::makeDDLogicalPart(), and DDDividedPolyhedraRho::makeDDLogicalPart().
|
protected |
Definition at line 29 of file DDDividedGeometryObject.cc.
Referenced by DDDividedConsPhi::makeDDRotation(), DDDividedTubsPhi::makeDDRotation(), DDDividedPolyhedraPhi::makeDDRotation(), and DDDividedPolyconePhi::makeDDRotation().
|
protected |
Definition at line 64 of file DDDividedGeometryObject.cc.
References compNDiv_, compWidth_, gather_cfg::cout, div_, divisionType_, DivNDIVandWIDTH, Exception, DDName::name(), DDBase< N, C >::name(), DDDivision::offset(), DDDivision::parent(), alignCSCRings::s, AlCaHLTBitMon_QueryRunRegistry::string, and tolerance().
Referenced by checkParametersValidity().
|
protected |
Definition at line 54 of file DDDividedGeometryObject.cc.
References div_, Exception, DDDivision::offset(), alignCSCRings::s, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by checkParametersValidity().
|
protectedvirtual |
Reimplemented in DDDividedPolyconeZ, DDDividedPolyhedraZ, DDDividedTrdZ, DDDividedPolyconePhi, DDDividedPolyhedraPhi, DDDividedTrdY, DDDividedPolyconeRho, DDDividedPolyhedraRho, and DDDividedTrdX.
Definition at line 41 of file DDDividedGeometryObject.cc.
References checkNDivAndWidth(), checkOffset(), div_, Exception, getMaxParameter(), DDBase< N, C >::isDefined(), DDDivision::parent(), alignCSCRings::s, AlCaHLTBitMon_QueryRunRegistry::string, and DDBase< N, C >::toString().
Referenced by DDDividedPolyconeRho::checkParametersValidity(), DDDividedPolyhedraRho::checkParametersValidity(), DDDividedTrdX::checkParametersValidity(), DDDividedPolyconePhi::checkParametersValidity(), DDDividedPolyhedraPhi::checkParametersValidity(), DDDividedTrdY::checkParametersValidity(), DDDividedPolyconeZ::checkParametersValidity(), DDDividedPolyhedraZ::checkParametersValidity(), DDDividedTrdZ::checkParametersValidity(), DDDividedBoxX::DDDividedBoxX(), DDDividedBoxY::DDDividedBoxY(), DDDividedBoxZ::DDDividedBoxZ(), DDDividedConsPhi::DDDividedConsPhi(), DDDividedConsRho::DDDividedConsRho(), DDDividedConsZ::DDDividedConsZ(), DDDividedTubsPhi::DDDividedTubsPhi(), DDDividedTubsRho::DDDividedTubsRho(), and DDDividedTubsZ::DDDividedTubsZ().
|
virtual |
Definition at line 85 of file DDDividedGeometryObject.cc.
References compNDiv_, cpv_, div_, mps_fire::i, makeDDLogicalPart(), makeDDRotation(), makeDDTranslation(), DDDivision::parent(), DDCompactView::position(), and theVoluFirstCopyNo_.
Referenced by DDLDivision::processElement().
|
protectedvirtual |
Reimplemented in DDDividedPolyconeZ, DDDividedPolyhedraZ, DDDividedTrdZ, DDDividedBoxZ, DDDividedConsZ, DDDividedTubsZ, DDDividedPolyconePhi, DDDividedPolyhedraPhi, DDDividedTrdY, DDDividedBoxY, DDDividedConsPhi, DDDividedTubsPhi, DDDividedPolyconeRho, DDDividedPolyhedraRho, DDDividedTrdX, DDDividedBoxX, DDDividedConsRho, and DDDividedTubsRho.
Definition at line 91 of file DDDividedGeometryObject.cc.
Referenced by checkParametersValidity().
|
virtual |
|
virtual |
Reimplemented in DDDividedPolyconeZ, DDDividedPolyhedraZ, DDDividedTrdZ, DDDividedBoxZ, DDDividedConsZ, DDDividedTubsZ, DDDividedPolyconePhi, DDDividedPolyhedraPhi, DDDividedTrdY, DDDividedBoxY, DDDividedConsPhi, DDDividedTubsPhi, DDDividedPolyconeRho, DDDividedPolyhedraRho, DDDividedTrdX, DDDividedBoxX, DDDividedConsRho, and DDDividedTubsRho.
Definition at line 97 of file DDDividedGeometryObject.cc.
References div_, and DDDivision::parent().
Referenced by execute().
|
virtual |
Reimplemented in DDDividedPolyconeZ, DDDividedPolyhedraZ, DDDividedTrdZ, DDDividedBoxZ, DDDividedConsZ, DDDividedTubsZ, DDDividedPolyconePhi, DDDividedPolyhedraPhi, DDDividedTrdY, DDDividedBoxY, DDDividedConsPhi, DDDividedTubsPhi, DDDividedPolyconeRho, DDDividedPolyhedraRho, DDDividedTrdX, DDDividedBoxX, DDDividedConsRho, and DDDividedTubsRho.
Definition at line 93 of file DDDividedGeometryObject.cc.
Referenced by execute().
|
virtual |
Reimplemented in DDDividedPolyconeZ, DDDividedPolyhedraZ, DDDividedTrdZ, DDDividedBoxZ, DDDividedConsZ, DDDividedTubsZ, DDDividedPolyconePhi, DDDividedPolyhedraPhi, DDDividedTrdY, DDDividedBoxY, DDDividedConsPhi, DDDividedTubsPhi, DDDividedPolyconeRho, DDDividedPolyhedraRho, DDDividedTrdX, DDDividedBoxX, DDDividedConsRho, and DDDividedTubsRho.
Definition at line 95 of file DDDividedGeometryObject.cc.
Referenced by execute().
|
virtual |
Definition at line 81 of file DDDividedGeometryObject.cc.
References ftype_, and alignCSCRings::s.
Referenced by DDDividedBoxX::DDDividedBoxX(), DDDividedBoxY::DDDividedBoxY(), DDDividedBoxZ::DDDividedBoxZ(), DDDividedConsPhi::DDDividedConsPhi(), DDDividedConsRho::DDDividedConsRho(), DDDividedConsZ::DDDividedConsZ(), DDDividedPolyconePhi::DDDividedPolyconePhi(), DDDividedPolyconeRho::DDDividedPolyconeRho(), DDDividedPolyhedraPhi::DDDividedPolyhedraPhi(), DDDividedPolyhedraRho::DDDividedPolyhedraRho(), DDDividedPolyhedraZ::DDDividedPolyhedraZ(), DDDividedTrdX::DDDividedTrdX(), DDDividedTrdY::DDDividedTrdY(), DDDividedTrdZ::DDDividedTrdZ(), DDDividedTubsPhi::DDDividedTubsPhi(), DDDividedTubsRho::DDDividedTubsRho(), and DDDividedTubsZ::DDDividedTubsZ().
|
static |
Definition at line 75 of file DDDividedGeometryObject.cc.
Referenced by checkNDivAndWidth(), DDDividedTrdX::checkParametersValidity(), DDDividedTrdY::checkParametersValidity(), and DDDividedGeometryObject().
int DDDividedGeometryObject::volumeFirstCopyNo | ( | void | ) | const |
|
protected |
Definition at line 55 of file DDDividedGeometryObject.h.
Referenced by checkNDivAndWidth(), DDDividedPolyhedraPhi::checkParametersValidity(), DDDividedPolyhedraZ::checkParametersValidity(), DDDividedBoxX::DDDividedBoxX(), DDDividedBoxY::DDDividedBoxY(), DDDividedBoxZ::DDDividedBoxZ(), DDDividedConsPhi::DDDividedConsPhi(), DDDividedConsRho::DDDividedConsRho(), DDDividedConsZ::DDDividedConsZ(), DDDividedPolyconePhi::DDDividedPolyconePhi(), DDDividedPolyconeRho::DDDividedPolyconeRho(), DDDividedPolyconeZ::DDDividedPolyconeZ(), DDDividedPolyhedraPhi::DDDividedPolyhedraPhi(), DDDividedPolyhedraRho::DDDividedPolyhedraRho(), DDDividedPolyhedraZ::DDDividedPolyhedraZ(), DDDividedTrdX::DDDividedTrdX(), DDDividedTrdY::DDDividedTrdY(), DDDividedTrdZ::DDDividedTrdZ(), DDDividedTubsPhi::DDDividedTubsPhi(), DDDividedTubsRho::DDDividedTubsRho(), DDDividedTubsZ::DDDividedTubsZ(), execute(), DDDividedConsRho::makeDDLogicalPart(), DDDividedPolyconeRho::makeDDLogicalPart(), and DDDividedPolyhedraRho::makeDDLogicalPart().
|
protected |
Definition at line 56 of file DDDividedGeometryObject.h.
Referenced by checkNDivAndWidth(), DDDividedBoxX::DDDividedBoxX(), DDDividedBoxY::DDDividedBoxY(), DDDividedBoxZ::DDDividedBoxZ(), DDDividedConsPhi::DDDividedConsPhi(), DDDividedConsRho::DDDividedConsRho(), DDDividedConsZ::DDDividedConsZ(), DDDividedPolyconePhi::DDDividedPolyconePhi(), DDDividedPolyconeRho::DDDividedPolyconeRho(), DDDividedPolyconeZ::DDDividedPolyconeZ(), DDDividedPolyhedraPhi::DDDividedPolyhedraPhi(), DDDividedPolyhedraRho::DDDividedPolyhedraRho(), DDDividedPolyhedraZ::DDDividedPolyhedraZ(), DDDividedTrdX::DDDividedTrdX(), DDDividedTrdY::DDDividedTrdY(), DDDividedTrdZ::DDDividedTrdZ(), DDDividedTubsPhi::DDDividedTubsPhi(), DDDividedTubsRho::DDDividedTubsRho(), DDDividedTubsZ::DDDividedTubsZ(), DDDividedTubsRho::makeDDLogicalPart(), DDDividedConsRho::makeDDLogicalPart(), DDDividedBoxX::makeDDLogicalPart(), DDDividedTrdX::makeDDLogicalPart(), DDDividedTubsPhi::makeDDLogicalPart(), DDDividedBoxY::makeDDLogicalPart(), DDDividedConsPhi::makeDDLogicalPart(), DDDividedTrdY::makeDDLogicalPart(), DDDividedPolyconePhi::makeDDLogicalPart(), DDDividedPolyhedraPhi::makeDDLogicalPart(), DDDividedConsZ::makeDDLogicalPart(), DDDividedTubsZ::makeDDLogicalPart(), DDDividedBoxZ::makeDDLogicalPart(), DDDividedTrdZ::makeDDLogicalPart(), DDDividedPolyconeZ::makeDDLogicalPart(), DDDividedTubsPhi::makeDDRotation(), DDDividedConsPhi::makeDDRotation(), DDDividedPolyhedraPhi::makeDDRotation(), DDDividedPolyconePhi::makeDDRotation(), DDDividedBoxX::makeDDTranslation(), DDDividedTrdX::makeDDTranslation(), DDDividedBoxY::makeDDTranslation(), DDDividedTrdY::makeDDTranslation(), DDDividedBoxZ::makeDDTranslation(), DDDividedConsZ::makeDDTranslation(), DDDividedTubsZ::makeDDTranslation(), and DDDividedTrdZ::makeDDTranslation().
|
protected |
Definition at line 59 of file DDDividedGeometryObject.h.
Referenced by execute().
|
protected |
Definition at line 53 of file DDDividedGeometryObject.h.
Referenced by checkNDivAndWidth(), checkOffset(), DDDividedPolyhedraRho::checkParametersValidity(), DDDividedPolyconeRho::checkParametersValidity(), DDDividedTrdX::checkParametersValidity(), DDDividedTrdY::checkParametersValidity(), DDDividedPolyhedraPhi::checkParametersValidity(), DDDividedTrdZ::checkParametersValidity(), DDDividedPolyconeZ::checkParametersValidity(), DDDividedPolyhedraZ::checkParametersValidity(), checkParametersValidity(), DDDividedBoxX::DDDividedBoxX(), DDDividedBoxY::DDDividedBoxY(), DDDividedBoxZ::DDDividedBoxZ(), DDDividedConsPhi::DDDividedConsPhi(), DDDividedConsRho::DDDividedConsRho(), DDDividedConsZ::DDDividedConsZ(), DDDividedGeometryObject(), DDDividedPolyconePhi::DDDividedPolyconePhi(), DDDividedPolyconeRho::DDDividedPolyconeRho(), DDDividedPolyconeZ::DDDividedPolyconeZ(), DDDividedPolyhedraPhi::DDDividedPolyhedraPhi(), DDDividedPolyhedraRho::DDDividedPolyhedraRho(), DDDividedPolyhedraZ::DDDividedPolyhedraZ(), DDDividedTrdX::DDDividedTrdX(), DDDividedTrdY::DDDividedTrdY(), DDDividedTrdZ::DDDividedTrdZ(), DDDividedTubsPhi::DDDividedTubsPhi(), DDDividedTubsRho::DDDividedTubsRho(), DDDividedTubsZ::DDDividedTubsZ(), execute(), DDDividedTubsRho::getMaxParameter(), DDDividedBoxX::getMaxParameter(), DDDividedConsRho::getMaxParameter(), DDDividedPolyconeRho::getMaxParameter(), DDDividedPolyhedraRho::getMaxParameter(), DDDividedTrdX::getMaxParameter(), DDDividedConsPhi::getMaxParameter(), DDDividedTubsPhi::getMaxParameter(), DDDividedBoxY::getMaxParameter(), DDDividedPolyconePhi::getMaxParameter(), DDDividedTrdY::getMaxParameter(), DDDividedPolyhedraPhi::getMaxParameter(), DDDividedBoxZ::getMaxParameter(), DDDividedTubsZ::getMaxParameter(), DDDividedConsZ::getMaxParameter(), DDDividedTrdZ::getMaxParameter(), DDDividedPolyconeZ::getMaxParameter(), DDDividedPolyhedraZ::getMaxParameter(), DDDividedTubsRho::makeDDLogicalPart(), DDDividedBoxX::makeDDLogicalPart(), DDDividedConsRho::makeDDLogicalPart(), DDDividedPolyconeRho::makeDDLogicalPart(), DDDividedPolyhedraRho::makeDDLogicalPart(), DDDividedTrdX::makeDDLogicalPart(), makeDDLogicalPart(), DDDividedBoxY::makeDDLogicalPart(), DDDividedTubsPhi::makeDDLogicalPart(), DDDividedConsPhi::makeDDLogicalPart(), DDDividedTrdY::makeDDLogicalPart(), DDDividedPolyhedraPhi::makeDDLogicalPart(), DDDividedPolyconePhi::makeDDLogicalPart(), DDDividedConsZ::makeDDLogicalPart(), DDDividedBoxZ::makeDDLogicalPart(), DDDividedTubsZ::makeDDLogicalPart(), DDDividedPolyhedraZ::makeDDLogicalPart(), DDDividedPolyconeZ::makeDDLogicalPart(), DDDividedTrdZ::makeDDLogicalPart(), DDDividedConsPhi::makeDDRotation(), DDDividedTubsPhi::makeDDRotation(), DDDividedPolyconePhi::makeDDRotation(), DDDividedPolyhedraPhi::makeDDRotation(), DDDividedBoxX::makeDDTranslation(), DDDividedTrdX::makeDDTranslation(), DDDividedBoxY::makeDDTranslation(), DDDividedTrdY::makeDDTranslation(), DDDividedTubsZ::makeDDTranslation(), DDDividedConsZ::makeDDTranslation(), DDDividedBoxZ::makeDDTranslation(), DDDividedTrdZ::makeDDTranslation(), DDDividedPolyconeZ::makeDDTranslation(), and DDDividedPolyhedraZ::makeDDTranslation().
|
protected |
Definition at line 57 of file DDDividedGeometryObject.h.
Referenced by checkNDivAndWidth(), DDDividedPolyconeRho::checkParametersValidity(), DDDividedPolyhedraRho::checkParametersValidity(), DDDividedPolyhedraPhi::checkParametersValidity(), DDDividedPolyhedraZ::checkParametersValidity(), DDDividedBoxX::DDDividedBoxX(), DDDividedBoxY::DDDividedBoxY(), DDDividedBoxZ::DDDividedBoxZ(), DDDividedConsPhi::DDDividedConsPhi(), DDDividedConsRho::DDDividedConsRho(), DDDividedConsZ::DDDividedConsZ(), DDDividedGeometryObject(), DDDividedPolyconePhi::DDDividedPolyconePhi(), DDDividedPolyconeRho::DDDividedPolyconeRho(), DDDividedPolyconeZ::DDDividedPolyconeZ(), DDDividedPolyhedraPhi::DDDividedPolyhedraPhi(), DDDividedPolyhedraRho::DDDividedPolyhedraRho(), DDDividedPolyhedraZ::DDDividedPolyhedraZ(), DDDividedTrdX::DDDividedTrdX(), DDDividedTrdY::DDDividedTrdY(), DDDividedTrdZ::DDDividedTrdZ(), DDDividedTubsPhi::DDDividedTubsPhi(), DDDividedTubsRho::DDDividedTubsRho(), and DDDividedTubsZ::DDDividedTubsZ().
|
protected |
Definition at line 54 of file DDDividedGeometryObject.h.
|
protected |
Definition at line 58 of file DDDividedGeometryObject.h.
Referenced by execute().