#include <DDHCalTBZposAlgo.h>
Definition at line 10 of file DDHCalTBZposAlgo.h.
DDHCalTBZposAlgo::DDHCalTBZposAlgo |
( |
| ) |
|
DDHCalTBZposAlgo::~DDHCalTBZposAlgo |
( |
| ) |
|
|
virtual |
Definition at line 53 of file DDHCalTBZposAlgo.cc.
References funct::cos(), dbl_to_string(), DDrot(), DDSplit(), first, LogDebug, dbtoconf::parent, DDCompactView::position(), makeMuonMisalignmentScenario::rot, edm::second(), funct::sin(), AlCaHLTBitMon_QueryRunRegistry::string, funct::tan(), theta(), x, detailsBasic3DVector::y, and detailsBasic3DVector::z.
58 double thetax = 90.*CLHEP::deg -
theta;
64 double tiltdeg =
tilt/CLHEP::deg;
65 int itilt = int(tiltdeg+0.1);
68 if (tiltdeg < 100) rotstr =
"R0";
72 LogDebug(
"HCalGeom") <<
"DDHCalAngular test: Creating a new rotation "
74 <<
", 90, " << (tiltdeg+90) <<
", 0, 0";
76 90*CLHEP::deg, (90*CLHEP::deg+
tilt), 0.0, 0.0);
80 LogDebug(
"HCalGeom") <<
"DDHCalTBZposAlgo test: " <<
child <<
" number "
82 <<
" at " << tran <<
" with " <<
rot;
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.
std::string dbl_to_string(const double &in)
Converts only the integer part of a double to a string.
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)
Tan< T >::type tan(const T &t)
std::pair< std::string, std::string > DDSplit(const std::string &n)
split into (name,namespace), separator = ':'
std::string DDHCalTBZposAlgo::childName |
|
private |
int DDHCalTBZposAlgo::copyNumber |
|
private |
double DDHCalTBZposAlgo::dist |
|
private |
double DDHCalTBZposAlgo::eta |
|
private |
std::string DDHCalTBZposAlgo::idNameSpace |
|
private |
double DDHCalTBZposAlgo::shiftX |
|
private |
double DDHCalTBZposAlgo::shiftY |
|
private |
double DDHCalTBZposAlgo::theta |
|
private |
double DDHCalTBZposAlgo::tilt |
|
private |
double DDHCalTBZposAlgo::zoffset |
|
private |