#include <DDHGCalWaferAlgo.h>
Definition at line 10 of file DDHGCalWaferAlgo.h.
DDHGCalWaferAlgo::DDHGCalWaferAlgo |
( |
| ) |
|
DDHGCalWaferAlgo::~DDHGCalWaferAlgo |
( |
| ) |
|
|
override |
Definition at line 57 of file DDHGCalWaferAlgo.cc.
References angles, cellSize, cellType, childNames, popcon2dropbox::copy(), gather_cfg::cout, DDrot(), detectorType, PVValHelper::dx, PVValHelper::dy, idNameSpace, gen::k, dataset::name, parentName, DDCompactView::position(), positionX, positionY, idealTransformation::rotation, rotns, AlCaHLTBitMon_QueryRunRegistry::string, and funct::tan().
60 edm::LogInfo(
"HGCalGeom") <<
"==>> Constructing DDHGCalWaferAlgo...";
63 double dy = 0.5*dx*
tan(30.0*CLHEP::deg);
72 rotstr = rotstr + std::to_string(
angles[
k]);
76 std::cout <<
"DDHGCalWaferAlgo: Creating new rotation " 78 << (
angles[
k]+90) <<
", 0, 0" << std::endl;
81 angles[
k]*CLHEP::deg, 90*CLHEP::deg,
82 (90+
angles[
k])*CLHEP::deg, 0*CLHEP::deg,0*CLHEP::deg);
92 << copy <<
" positioned in " <<
parentName <<
" at " << tran
93 <<
" with " << rotation << std::endl;
DDName is used to identify DDD entities uniquely.
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > DDTranslation
Represents a uniquely identifyable rotation matrix.
Tan< T >::type tan(const T &t)
std::vector< int > positionX
std::vector< int > detectorType
std::vector< std::string > childNames
std::vector< int > positionY
void position(const DDLogicalPart &self, const DDLogicalPart &parent, const std::string ©no, const DDTranslation &trans, const DDRotation &rot, const DDDivision *div=0)
std::vector< double > angles
Definition at line 26 of file DDHGCalWaferAlgo.cc.
References angles, cellSize, cellType, childNames, gather_cfg::cout, dbl_to_int(), detectorType, idNameSpace, createfilelist::int, gen::k, DDCurrentNamespace::ns(), class-composition::parent, parentName, positionX, positionY, and rotns.
42 <<
" times with cell size " <<
cellSize << std::endl;
48 rotns = sArgs[
"RotNameSpace"];
static std::string & ns()
std::vector< int > dbl_to_int(const std::vector< double > &vecdbl)
Converts a std::vector of doubles to a std::vector of int.
std::vector< int > positionX
std::vector< int > detectorType
std::vector< std::string > childNames
std::vector< int > positionY
std::vector< double > angles
std::vector<double> DDHGCalWaferAlgo::angles |
|
private |
double DDHGCalWaferAlgo::cellSize |
|
private |
int DDHGCalWaferAlgo::cellType |
|
private |
std::vector<std::string> DDHGCalWaferAlgo::childNames |
|
private |
std::vector<int> DDHGCalWaferAlgo::detectorType |
|
private |
std::string DDHGCalWaferAlgo::idName |
|
private |
std::string DDHGCalWaferAlgo::idNameSpace |
|
private |
DDName DDHGCalWaferAlgo::parentName |
|
private |
std::vector<int> DDHGCalWaferAlgo::positionX |
|
private |
std::vector<int> DDHGCalWaferAlgo::positionY |
|
private |
std::string DDHGCalWaferAlgo::rotns |
|
private |