Go to the documentation of this file.
12 #include "CLHEP/Units/GlobalPhysicalConstants.h"
13 #include "CLHEP/Units/GlobalSystemOfUnits.h"
49 LogDebug(
"TrackerGeom") <<
"DDTrackerLinear info: Creating an instance";
60 theta = nArgs[
"Theta"];
63 delta = nArgs[
"Delta"];
65 rotMat = sArgs[
"Rotation"];
66 if (nArgs.find(
"StartCopyNo") != nArgs.end()) {
67 startcn = size_t(nArgs[
"StartCopyNo"]);
71 if (nArgs.find(
"IncrCopyNo") != nArgs.end()) {
80 LogDebug(
"TrackerGeom") <<
"DDTrackerLinear debug: Parent " << parentName <<
"\tChild " <<
childName <<
" NameSpace "
82 <<
phi / CLHEP::deg <<
"\t(Offset/Delta) " <<
offset <<
", " <<
delta <<
"\tCentre "
93 if (rotstr !=
"NULL") {
101 LogDebug(
"TrackerGeom") <<
"DDTrackerLinear test: " <<
child <<
" number " << ci <<
" positioned in " << mother
102 <<
" at " << tran <<
" with " <<
rot;
~DDTrackerLinear() override
void execute(DDCompactView &cpv) override
DDName is used to identify DDD entities uniquely.
U second(std::pair< T, U > const &p)
Sin< T >::type sin(const T &t)
Cos< T >::type cos(const T &t)
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > DDTranslation
void initialize(const DDNumericArguments &nArgs, const DDVectorArguments &vArgs, const DDMapArguments &mArgs, const DDStringArguments &sArgs, const DDStringVectorArguments &vsArgs) override
Compact representation of the geometrical detector hierarchy.
#define DEFINE_EDM_PLUGIN(factory, type, name)
static std::string & ns()
Represents a uniquely identifyable rotation matrix.
static AlgebraicMatrix initialize()
std::pair< std::string, std::string > DDSplit(const std::string &n)
split into (name,namespace), separator = ':'
void position(const DDLogicalPart &self, const DDLogicalPart &parent, const std::string ©no, const DDTranslation &trans, const DDRotation &rot, const DDDivision *div=nullptr)