17 #include "CLHEP/Units/GlobalPhysicalConstants.h"
18 #include "CLHEP/Units/GlobalSystemOfUnits.h"
22 LogDebug(
"TECGeom") <<
"DDTECCoolAlgo info: Creating an instance";
38 LogDebug(
"TECGeom") <<
"DDTECCoolAlgo debug: Parent " << parentName
39 <<
" NameSpace " <<
idNameSpace <<
" at radial Position "
45 LogDebug(
"TECGeom") <<
"DDTECCoolAlgo debug: Insert[" <<
i <<
"]: "
49 LogDebug(
"TECGeom") <<
"ERROR: Number of inserts does not match the numer of PhiPositions!";
51 LogDebug(
"TECGeom") <<
" Done creating instance of DDTECCoolAlgo ";
55 LogDebug(
"TECGeom") <<
"==>> Constructing DDTECCoolAlgo...";
69 cpv.
position(child, mother, copyNo, tran, rotation);
70 LogDebug(
"TECGeom") <<
"DDTECCoolAlgo test " << child <<
"["
71 << copyNo <<
"] positioned in " << mother
72 <<
" at " << tran <<
" with " << rotation
77 LogDebug(
"TECGeom") <<
"<<== End of DDTECCoolAlgo construction ...";
Sin< T >::type sin(const T &t)
void position(const DDLogicalPart &self, const DDLogicalPart &parent, std::string copyno, const DDTranslation &trans, const DDRotation &rot, const DDDivision *div=NULL)
const reco::GenParticle * mother(const reco::GenParticle &p, unsigned int imoth=0)
DDName is used to identify DDD entities uniquely.
static std::string & ns()
void execute(DDCompactView &cpv)
type of data representation of DDCompactView
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > DDTranslation
Represents a uniquely identifyable rotation matrix.
U second(std::pair< T, U > const &p)
std::vector< std::string > coolInsert
Cos< T >::type cos(const T &t)
void initialize(const DDNumericArguments &nArgs, const DDVectorArguments &vArgs, const DDMapArguments &mArgs, const DDStringArguments &sArgs, const DDStringVectorArguments &vsArgs)
std::vector< double > phiPosition
std::pair< std::string, std::string > DDSplit(const std::string &n)
split into (name,namespace), separator = ':'