#include <DDHCalTestBeamAlgo.h>
Definition at line 10 of file DDHCalTestBeamAlgo.h.
DDHCalTestBeamAlgo::DDHCalTestBeamAlgo |
( |
| ) |
|
DDHCalTestBeamAlgo::~DDHCalTestBeamAlgo |
( |
| ) |
|
|
override |
Definition at line 58 of file DDHCalTestBeamAlgo.cc.
References funct::abs(), geant_units::operators::convertRadToDeg(), funct::cos(), DDrot(), PVValHelper::dz, MillePedeFileConverter_cfg::e, PVValHelper::eta, class-composition::parent, DDCompactView::position(), alignCSCRings::r, idealTransformation::rotation, funct::sin(), AlCaHLTBitMon_QueryRunRegistry::string, and theta().
60 double thetax = 90._deg +
theta;
61 double sthx =
sin(thetax);
62 if (
std::abs(sthx)>1.
e-12) sthx = 1./sthx;
65 double thetay = 90._deg;
66 double phiy = 90._deg +
phi;
67 double thetaz =
theta;
96 <<
copyNumber <<
" positioned in " << parentName
97 <<
" at " << tran <<
" with " <<
rotation;
103 edm::LogInfo(
"HCalGeom") <<
"DDHCalTestBeamAlgo: Suggested Beam position " 104 <<
"(" << xpos <<
", " << ypos <<
", " << zpos
105 <<
") and (dist, eta, phi) = (" << (
dist-
dz) <<
", " 106 <<
eta <<
", " <<
phi <<
")";
Sin< T >::type sin(const T &t)
DDName is used to identify DDD entities uniquely.
constexpr NumType convertRadToDeg(NumType radians)
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > DDTranslation
Represents a uniquely identifyable rotation matrix.
Cos< T >::type cos(const T &t)
Abs< T >::type abs(const T &t)
void position(const DDLogicalPart &self, const DDLogicalPart &parent, const std::string ©no, const DDTranslation &trans, const DDRotation &rot, const DDDivision *div=0)
std::string DDHCalTestBeamAlgo::childName |
|
private |
int DDHCalTestBeamAlgo::copyNumber |
|
private |
double DDHCalTestBeamAlgo::dist |
|
private |
double DDHCalTestBeamAlgo::distance |
|
private |
double DDHCalTestBeamAlgo::distanceZ |
|
private |
double DDHCalTestBeamAlgo::dz |
|
private |
double DDHCalTestBeamAlgo::eta |
|
private |
std::string DDHCalTestBeamAlgo::idNameSpace |
|
private |
double DDHCalTestBeamAlgo::phi |
|
private |
double DDHCalTestBeamAlgo::theta |
|
private |