88 double dy = 0.5 * dx *
tan(30._deg);
92 for (
unsigned int ir = 0; ir <
nCellsRow_.size(); ++ir) {
94 double ypos = dy * ny;
101 }
else if (ic + 1 == nCellsRow_[ir]) {
113 <<
"\t90, " << irot <<
", 90, " << (irot + 90) <<
", 0, 0";
118 double xpos = dx * nx;
126 <<
" positioned in " <<
parentName_ <<
" at " << tran <<
" with " <<
rot;
Log< level::Info, true > LogVerbatim
constexpr double convertDegToRad(NumType degrees)
void position(const DDLogicalPart &self, const DDLogicalPart &parent, const std::string ©no, const DDTranslation &trans, const DDRotation &rot, const DDDivision *div=nullptr)
DDName is used to identify DDD entities uniquely.
std::vector< int > detectorType_
Represents a uniquely identifyable rotation matrix.
std::vector< std::string > childNames_
std::vector< int > nCellsRow_
Tan< T >::type tan(const T &t)
std::string formatAsDegrees(double radianVal)
static int32_t packCellType6(int type, int cell)
std::vector< int > angleEdges_
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > DDTranslation