Definition at line 10 of file DDHGCalWafer.h.
Definition at line 53 of file DDHGCalWafer.cc.
References angleEdges_, cellType_, childNames_, popcon2dropbox::copy(), gather_cfg::cout, DDrot(), detectorType_, PVValHelper::dx, PVValHelper::dy, idNameSpace_, dataset::name, nBottomY_, nCellsRow_, nColumns_, parentName_, DDCompactView::position(), makeMuonMisalignmentScenario::rot, AlCaHLTBitMon_QueryRunRegistry::string, funct::tan(), and waferSize_.
56 edm::LogInfo(
"HGCalGeom") <<
"==>> Constructing DDHGCalWafer...";
59 double dy = 0.5*dx*
tan(30.0*CLHEP::deg);
63 for (
unsigned int ir=0; ir<
nCellsRow_.size(); ++ir) {
72 }
else if (ic+1== nCellsRow_[ir]) {
78 if (irot >=0 && irot < 100) rotstr =
"R0";
80 rotstr = rotstr + std::to_string(irot);
84 std::cout <<
"DDHGCalWaferAlgo: Creating new rotation " 86 <<
", 90, " << (irot+90) <<
", 0, 0" << std::endl;
89 irot*CLHEP::deg, 90*CLHEP::deg, (90+irot)*CLHEP::deg,
90 0*CLHEP::deg,0*CLHEP::deg);
101 << copy <<
" positioned in " <<
parentName_ <<
" at " << tran
102 <<
" with " << rot << std::endl;
DDName is used to identify DDD entities uniquely.
std::vector< int > detectorType_
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > DDTranslation
Represents a uniquely identifyable rotation matrix.
std::vector< std::string > childNames_
std::vector< int > nCellsRow_
Tan< T >::type tan(const T &t)
std::vector< int > angleEdges_
void position(const DDLogicalPart &self, const DDLogicalPart &parent, const std::string ©no, const DDTranslation &trans, const DDRotation &rot, const DDDivision *div=0)