13 #include "CLHEP/Units/GlobalPhysicalConstants.h" 14 #include "CLHEP/Units/GlobalSystemOfUnits.h" 18 LogDebug(
"TrackerGeom") <<
"DDTrackerLinear info: Creating an instance";
30 theta = nArgs[
"Theta"];
33 delta = nArgs[
"Delta"];
35 rotMat = sArgs[
"Rotation"];
36 if ( nArgs.find(
"StartCopyNo") != nArgs.end() ) {
37 startcn = size_t(nArgs[
"StartCopyNo"]);
41 if ( nArgs.find(
"IncrCopyNo") != nArgs.end() ) {
50 LogDebug(
"TrackerGeom") <<
"DDTrackerLinear debug: Parent " << parentName
51 <<
"\tChild " <<
childName <<
" NameSpace " 53 <<
"\tAxis (theta/phi) " <<
theta/CLHEP::deg <<
", " 54 <<
phi/CLHEP::deg <<
"\t(Offset/Delta) " <<
offset 55 <<
", " <<
delta <<
"\tCentre " <<
centre[0] <<
", " 68 if (rotstr !=
"NULL") {
76 cpv.
position(child, mother, ci, tran, rot);
77 LogDebug(
"TrackerGeom") <<
"DDTrackerLinear test: " << child <<
" number " 78 << ci <<
" positioned in " << mother <<
" at " 79 << tran <<
" with " <<
rot;
virtual ~DDTrackerLinear()
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)
DDName is used to identify DDD entities uniquely.
void initialize(const DDNumericArguments &nArgs, const DDVectorArguments &vArgs, const DDMapArguments &mArgs, const DDStringArguments &sArgs, const DDStringVectorArguments &vsArgs)
static std::string & ns()
type of data representation of DDCompactView
std::vector< double > centre
void execute(DDCompactView &cpv)
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > DDTranslation
Represents a uniquely identifyable rotation matrix.
U second(std::pair< T, U > const &p)
Cos< T >::type cos(const T &t)
base
Make Sure CMSSW is Setup ##.
std::pair< std::string, std::string > DDSplit(const std::string &n)
split into (name,namespace), separator = ':'