14 #include "CLHEP/Units/GlobalSystemOfUnits.h"
20 edm::LogInfo(
"HGCalGeom") <<
"DDHGCalWaferAlgo test: Creating an instance";
43 <<
" times with cell size " <<
cellSize;
49 rotns = sArgs[
"RotNameSpace"];
53 edm::LogInfo(
"HGCalGeom") <<
"DDHGCalWaferAlgo debug: Parent "
55 <<
" for Rotation " <<
rotns;
62 edm::LogInfo(
"HGCalGeom") <<
"==>> Constructing DDHGCalWaferAlgo...";
65 double dy = 0.5*dx*
tan(30.0*CLHEP::deg);
78 edm::LogInfo(
"HGCalGeom") <<
"DDHGCalWaferAlgo: Creating new rotation "
84 angles[k]*CLHEP::deg, 90*CLHEP::deg,
85 (90+
angles[k])*CLHEP::deg, 0*CLHEP::deg, 0*CLHEP::deg);
void initialize(const DDNumericArguments &nArgs, const DDVectorArguments &vArgs, const DDMapArguments &mArgs, const DDStringArguments &sArgs, const DDStringVectorArguments &vsArgs)
void position(const DDLogicalPart &self, const DDLogicalPart &parent, std::string copyno, const DDTranslation &trans, const DDRotation &rot, const DDDivision *div=NULL)
void execute(DDCompactView &cpv)
DDName is used to identify DDD entities uniquely.
static std::string & ns()
std::string dbl_to_string(const double &in)
Converts only the integer part of a double to a string.
type of data representation of DDCompactView
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > DDTranslation
Represents a uniquely identifyable rotation matrix.
std::vector< int > dbl_to_int(const std::vector< double > &vecdbl)
Converts a std::vector of doubles to a std::vector of int.
Tan< T >::type tan(const T &t)
std::vector< int > positionX
std::vector< int > detectorType
std::vector< std::string > childNames
std::vector< int > positionY
virtual ~DDHGCalWaferAlgo()
std::vector< double > angles