#include <DDHGCalWaferAlgo.h>
Definition at line 10 of file DDHGCalWaferAlgo.h.
DDHGCalWaferAlgo::DDHGCalWaferAlgo |
( |
| ) |
|
DDHGCalWaferAlgo::~DDHGCalWaferAlgo |
( |
| ) |
|
|
virtual |
Definition at line 59 of file DDHGCalWaferAlgo.cc.
References angles, cellSize, cellType, childNames, filterCSVwithJSON::copy, dbl_to_string(), DDrot(), detectorType, idNameSpace, relval_2017::k, mergeVDriftHistosByStation::name, parentName, DDCompactView::position(), positionX, positionY, idealTransformation::rotation, rotns, AlCaHLTBitMon_QueryRunRegistry::string, and funct::tan().
62 edm::LogInfo(
"HGCalGeom") <<
"==>> Constructing DDHGCalWaferAlgo...";
65 double dy = 0.5*dx*
tan(30.0*CLHEP::deg);
78 edm::LogInfo(
"HGCalGeom") <<
"DDHGCalWaferAlgo: Creating new rotation "
84 angles[
k]*CLHEP::deg, 90*CLHEP::deg,
85 (90+
angles[
k])*CLHEP::deg, 0*CLHEP::deg, 0*CLHEP::deg);
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.
Tan< T >::type tan(const T &t)
std::vector< int > positionX
std::vector< int > detectorType
std::vector< std::string > childNames
std::vector< int > positionY
std::vector< double > angles
Definition at line 26 of file DDHGCalWaferAlgo.cc.
References angles, cellSize, cellType, childNames, dbl_to_int(), detectorType, idNameSpace, relval_2017::k, DDName::name(), DDCurrentNamespace::ns(), parentName, positionX, positionY, and rotns.
43 <<
" times with cell size " <<
cellSize;
49 rotns = sArgs[
"RotNameSpace"];
53 edm::LogInfo(
"HGCalGeom") <<
"DDHGCalWaferAlgo debug: Parent "
55 <<
" for Rotation " <<
rotns;
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
const std::string & name() const
Returns the name.
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 |