Definition at line 23 of file DDHCalTestBeamAlgo.cc.
◆ DDHCalTestBeamAlgo()
DDHCalTestBeamAlgo::DDHCalTestBeamAlgo |
( |
| ) |
|
◆ ~DDHCalTestBeamAlgo()
DDHCalTestBeamAlgo::~DDHCalTestBeamAlgo |
( |
| ) |
|
|
override |
◆ execute()
Definition at line 87 of file DDHCalTestBeamAlgo.cc.
References funct::abs(), angle_units::operators::convertRadToDeg(), funct::cos(), DDrot(), PVValHelper::dz, MillePedeFileConverter_cfg::e, PVValHelper::eta, class-composition::parent, DDCompactView::position(), idealTransformation::rotation, funct::sin(), AlCaHLTBitMon_QueryRunRegistry::string, and theta().
88 double thetax = 90._deg +
theta;
89 double sthx =
sin(thetax);
95 double thetay = 90._deg;
96 double phiy = 90._deg +
phi;
97 double thetaz =
theta;
103 edm::LogVerbatim(
"HCalGeom") <<
"DDHCalTestBeamAlgo: Creating a rotation " << rotstr <<
"\t" 120 <<
" positioned in " << parentName <<
" at " << tran <<
" with " <<
rotation;
126 edm::LogInfo(
"HCalGeom") <<
"DDHCalTestBeamAlgo: Suggested Beam position " 127 <<
"(" << xpos <<
", " << ypos <<
", " << zpos <<
") and (dist, eta, phi) = (" << (
dist -
dz)
128 <<
", " <<
eta <<
", " <<
phi <<
")";
Log< level::Info, true > LogVerbatim
void position(const DDLogicalPart &self, const DDLogicalPart &parent, const std::string ©no, const DDTranslation &trans, const DDRotation &rot, const DDDivision *div=nullptr)
constexpr NumType convertRadToDeg(NumType radians)
Sin< T >::type sin(const T &t)
DDName is used to identify DDD entities uniquely.
Represents a uniquely identifyable rotation matrix.
Cos< T >::type cos(const T &t)
Abs< T >::type abs(const T &t)
Log< level::Info, false > LogInfo
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > DDTranslation
◆ initialize()
Definition at line 59 of file DDHCalTestBeamAlgo.cc.
References angle_units::operators::convertRadToDeg(), HLT_2022v15_cff::distance, PVValHelper::dz, PVValHelper::eta, JetChargeProducer_cfi::exp, createfilelist::int, DDCurrentNamespace::ns(), class-composition::parent, funct::sin(), and theta().
73 edm::LogVerbatim(
"HCalGeom") <<
"DDHCalTestBeamAlgo: Parameters for position" Log< level::Info, true > LogVerbatim
constexpr NumType convertRadToDeg(NumType radians)
Sin< T >::type sin(const T &t)
static std::string & ns()
◆ childName
std::string DDHCalTestBeamAlgo::childName |
|
private |
◆ copyNumber
int DDHCalTestBeamAlgo::copyNumber |
|
private |
◆ dist
double DDHCalTestBeamAlgo::dist |
|
private |
◆ distance
double DDHCalTestBeamAlgo::distance |
|
private |
◆ distanceZ
double DDHCalTestBeamAlgo::distanceZ |
|
private |
◆ dz
double DDHCalTestBeamAlgo::dz |
|
private |
◆ eta
double DDHCalTestBeamAlgo::eta |
|
private |
◆ idNameSpace
std::string DDHCalTestBeamAlgo::idNameSpace |
|
private |
◆ phi
double DDHCalTestBeamAlgo::phi |
|
private |
◆ theta
double DDHCalTestBeamAlgo::theta |
|
private |