#include <DDHCalBarrelAlgo.h>
Public Member Functions | |
DDHCalBarrelAlgo () | |
void | execute (DDCompactView &cpv) |
double | getAbsorbD (unsigned int i) const |
int | getAbsorberN () const |
std::string | getAbsorbMat (unsigned int i) const |
std::string | getAbsorbName (unsigned int i) const |
double | getAbsorbT (unsigned int i) const |
double | getDetdP1 (unsigned int i) const |
double | getDetdP2 (unsigned int i) const |
std::string | getDetMat () const |
std::string | getDetMatPl () const |
std::string | getDetMatSc () const |
int | getDetPosY (unsigned int i) const |
double | getDetT11 (unsigned int i) const |
double | getDetT12 (unsigned int i) const |
double | getDetT21 (unsigned int i) const |
double | getDetT22 (unsigned int i) const |
double | getDetTsc (unsigned int i) const |
int | getDetType (unsigned int i) const |
double | getDetWidth1 (unsigned int i) const |
double | getDetWidth2 (unsigned int i) const |
std::string | getGenMaterial () const |
int | getLayerAbsorb (unsigned int i) const |
double | getLayerAlpha (unsigned i) const |
double | getLayerD1 (unsigned i) const |
double | getLayerD2 (unsigned i) const |
double | getLayerGap (unsigned int i) const |
int | getLayerId (unsigned i) const |
std::string | getLayerLabel (unsigned i) const |
std::string | getLayerMaterial (unsigned i) const |
double | getLayerT1 (unsigned i) const |
double | getLayerT2 (unsigned i) const |
double | getLayerWidth (unsigned i) const |
std::string | getMidAbsMat (unsigned int i) const |
std::string | getMidAbsName (unsigned int i) const |
int | getMidAbsorber () const |
double | getMidAbsT (unsigned int i) const |
double | getMidAbsW (unsigned int i) const |
double | getMiddleD () const |
std::string | getMiddleMat () const |
double | getMiddleW () const |
int | getNhalf () const |
int | getNLayers () const |
int | getNsectors () const |
int | getNsectortot () const |
double | getRin () const |
double | getRmax (unsigned int i) const |
double | getRout () const |
int | getRzones () const |
std::string | getSideAbsMat (unsigned int i) const |
std::string | getSideAbsName (unsigned int i) const |
int | getSideAbsorber () const |
double | getSideAbsW (unsigned int i) const |
double | getSideD (unsigned int i) const |
std::string | getSideMat (unsigned int i) const |
double | getSideT (unsigned int i) const |
double | getTanTheta (unsigned int i) const |
double | getTheta (unsigned int i) const |
double | getZoff (unsigned int i) const |
void | initialize (const DDNumericArguments &nArgs, const DDVectorArguments &vArgs, const DDMapArguments &mArgs, const DDStringArguments &sArgs, const DDStringVectorArguments &vsArgs) |
virtual | ~DDHCalBarrelAlgo () |
Protected Member Functions | |
void | constructGeneralVolume (DDCompactView &cpv) |
void | constructInsideDetectors (DDLogicalPart detector, std::string name, int id, double dx, double dy, double dz, int type, DDCompactView &cpv) |
void | constructInsideLayers (DDLogicalPart laylog, std::string name, int id, int nAbs, double rin, double d1, double alpha1, double d2, double alpha2, double t1, double t2, DDCompactView &cpv) |
void | constructInsideSector (DDLogicalPart sector, DDCompactView &cpv) |
DDLogicalPart | constructMidLayer (DDLogicalPart laylog, std::string nm, double rin, double alpha, DDCompactView &cpv) |
DDLogicalPart | constructSideLayer (DDLogicalPart laylog, std::string nm, int nAbs, double rin, double alpha, DDCompactView &cpv) |
Private Attributes | |
std::vector< double > | absorbD |
std::vector< std::string > | absorbMat |
std::vector< std::string > | absorbName |
std::vector< double > | absorbT |
std::vector< double > | detdP1 |
std::vector< double > | detdP2 |
std::string | detMat |
std::string | detMatPl |
std::string | detMatSc |
std::vector< int > | detPosY |
std::string | detRot |
std::vector< double > | detT11 |
std::vector< double > | detT12 |
std::vector< double > | detT21 |
std::vector< double > | detT22 |
std::vector< double > | detTsc |
std::vector< int > | detType |
std::vector< double > | detWidth1 |
std::vector< double > | detWidth2 |
std::string | genMaterial |
std::string | idName |
std::string | idNameSpace |
int | idOffset |
std::vector< int > | layerAbsorb |
std::vector< double > | layerAlpha |
std::vector< double > | layerD1 |
std::vector< double > | layerD2 |
std::vector< double > | layerGap |
std::vector< int > | layerId |
std::vector< std::string > | layerLabel |
std::vector< std::string > | layerMat |
std::vector< double > | layerT1 |
std::vector< double > | layerT2 |
std::vector< double > | layerWidth |
double | middleD |
std::string | middleMat |
double | middleW |
std::vector< std::string > | midMat |
std::vector< std::string > | midName |
std::vector< double > | midT |
std::vector< double > | midW |
int | nAbsorber |
int | nhalf |
int | nLayers |
int | nMidAbs |
int | nsectors |
int | nsectortot |
int | nSideAbs |
double | rin |
std::vector< double > | rmax |
std::string | rotHalf |
std::string | rotns |
double | rout |
int | rzones |
std::vector< std::string > | sideAbsMat |
std::vector< std::string > | sideAbsName |
std::vector< double > | sideAbsW |
std::vector< double > | sideD |
std::vector< std::string > | sideMat |
std::vector< double > | sideT |
std::vector< double > | theta |
std::vector< double > | ttheta |
std::vector< double > | zoff |
Definition at line 10 of file DDHCalBarrelAlgo.h.
DDHCalBarrelAlgo::DDHCalBarrelAlgo | ( | ) |
Definition at line 22 of file DDHCalBarrelAlgo.cc.
References LogDebug.
|
virtual |
Definition at line 33 of file DDHCalBarrelAlgo.cc.
|
protected |
Definition at line 198 of file DDHCalBarrelAlgo.cc.
References alpha, constructInsideSector(), dbl_to_string(), DDrot(), DDSplit(), plotBeamSpotDB::first, getGenMaterial(), getNhalf(), getNsectors(), getNsectortot(), getRin(), getRmax(), getRout(), getTanTheta(), getZoff(), i, idName, idNameSpace, cuy::ii, LogDebug, mergeVDriftHistosByStation::name, DDBase< N, C >::name(), dbtoconf::parent, phi, pi, DDSolidFactory::polyhedra(), DDCompactView::position(), rin, makeMuonMisalignmentScenario::rot, idealTransformation::rotation, rotHalf, rotns, rout, edm::second(), and SiStripMonitorClusterAlca_cfi::zmax.
Referenced by execute().
|
protected |
Definition at line 885 of file DDHCalBarrelAlgo.cc.
References DDSolidFactory::box(), DDBase< N, C >::ddname(), DDSplit(), plotBeamSpotDB::first, getDetdP1(), getDetdP2(), getDetMatPl(), getDetMatSc(), getDetPosY(), getDetT11(), getDetT12(), getDetT21(), getDetT22(), getDetTsc(), getDetType(), getDetWidth1(), getDetWidth2(), idName, idNameSpace, LogDebug, DDName::name(), mergeVDriftHistosByStation::name, DDBase< N, C >::name(), DDCompactView::position(), edm::second(), x, and detailsBasic3DVector::y.
Referenced by constructInsideLayers().
|
protected |
Definition at line 554 of file DDHCalBarrelAlgo.cc.
References DDSolidFactory::box(), constructInsideDetectors(), constructMidLayer(), constructSideLayer(), DDBase< N, C >::ddname(), DDSplit(), detRot, plotBeamSpotDB::first, getDetMat(), getRmax(), getRzones(), getTanTheta(), getZoff(), i, idName, idNameSpace, idOffset, recoMuon::in, LogDebug, mergeVDriftHistosByStation::name, DDBase< N, C >::name(), DDCompactView::position(), makeMuonMisalignmentScenario::rot, rotns, edm::second(), funct::tan(), x, and detailsBasic3DVector::y.
Referenced by constructInsideSector().
|
protected |
!!!!!!!!!!!!!!!!Should be zero. And removed as soon as
Definition at line 438 of file DDHCalBarrelAlgo.cc.
References alpha, constructInsideLayers(), DDSplit(), alignCSCRings::e, plotBeamSpotDB::first, getLayerAbsorb(), getLayerAlpha(), getLayerD1(), getLayerD2(), getLayerGap(), getLayerId(), getLayerLabel(), getLayerMaterial(), getLayerT1(), getLayerT2(), getLayerWidth(), getNLayers(), getNsectors(), getRin(), getRmax(), getRzones(), getTanTheta(), getZoff(), i, idName, idNameSpace, recoMuon::in, j, relval_steps::k, LogDebug, mergeVDriftHistosByStation::name, DDBase< N, C >::name(), dbtoconf::out, pi, DDSolidFactory::polyhedra(), DDCompactView::position(), rin, rout, edm::second(), funct::tan(), and create_public_lumi_plots::width.
Referenced by constructGeneralVolume().
|
protected |
Definition at line 738 of file DDHCalBarrelAlgo.cc.
References DDBase< N, C >::ddname(), DDSplit(), plotBeamSpotDB::first, getAbsorbD(), getAbsorberN(), getAbsorbMat(), getAbsorbName(), getAbsorbT(), getMidAbsMat(), getMidAbsName(), getMidAbsorber(), getMidAbsT(), getMidAbsW(), getMiddleD(), getMiddleMat(), getMiddleW(), getRmax(), getRzones(), getTanTheta(), getZoff(), i, idNameSpace, cuy::ii, recoMuon::in, relval_steps::k, cmsBatch::log, LogDebug, mergeVDriftHistosByStation::name, DDBase< N, C >::name(), DDSolidFactory::polyhedra(), DDCompactView::position(), rmax, and edm::second().
Referenced by constructInsideLayers().
|
protected |
Definition at line 654 of file DDHCalBarrelAlgo.cc.
References funct::abs(), DDBase< N, C >::ddname(), DDSplit(), plotBeamSpotDB::first, getRmax(), getRzones(), getSideAbsMat(), getSideAbsName(), getSideAbsorber(), getSideAbsW(), getSideD(), getSideMat(), getSideT(), getTanTheta(), getZoff(), i, idNameSpace, cuy::ii, recoMuon::in, relval_steps::k, cmsBatch::log, LogDebug, mergeVDriftHistosByStation::name, DDBase< N, C >::name(), DDSolidFactory::polyhedra(), DDCompactView::position(), and edm::second().
Referenced by constructInsideLayers().
void DDHCalBarrelAlgo::execute | ( | DDCompactView & | cpv | ) |
Definition at line 189 of file DDHCalBarrelAlgo.cc.
References constructGeneralVolume(), and LogDebug.
|
inline |
|
inline |
Definition at line 50 of file DDHCalBarrelAlgo.h.
References nAbsorber.
Referenced by constructMidLayer().
|
inline |
|
inline |
Definition at line 51 of file DDHCalBarrelAlgo.h.
References absorbName, and i.
Referenced by constructMidLayer().
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 64 of file DDHCalBarrelAlgo.h.
References detMat.
Referenced by constructInsideLayers().
|
inline |
Definition at line 65 of file DDHCalBarrelAlgo.h.
References detMatPl.
Referenced by constructInsideDetectors().
|
inline |
Definition at line 66 of file DDHCalBarrelAlgo.h.
References detMatSc.
Referenced by constructInsideDetectors().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 17 of file DDHCalBarrelAlgo.h.
References genMaterial.
Referenced by constructGeneralVolume().
|
inline |
Definition at line 39 of file DDHCalBarrelAlgo.h.
References i, and layerAbsorb.
Referenced by constructInsideSector().
|
inline |
Definition at line 36 of file DDHCalBarrelAlgo.h.
References i, and layerAlpha.
Referenced by constructInsideSector().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 31 of file DDHCalBarrelAlgo.h.
References i, and layerLabel.
Referenced by constructInsideSector().
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 33 of file DDHCalBarrelAlgo.h.
References i, and layerWidth.
Referenced by constructInsideSector().
|
inline |
|
inline |
|
inline |
Definition at line 58 of file DDHCalBarrelAlgo.h.
References nMidAbs.
Referenced by constructMidLayer().
|
inline |
|
inline |
|
inline |
Definition at line 56 of file DDHCalBarrelAlgo.h.
References middleD.
Referenced by constructMidLayer().
|
inline |
Definition at line 55 of file DDHCalBarrelAlgo.h.
References middleMat.
Referenced by constructMidLayer().
|
inline |
Definition at line 57 of file DDHCalBarrelAlgo.h.
References middleW.
Referenced by constructMidLayer().
|
inline |
Definition at line 20 of file DDHCalBarrelAlgo.h.
References nhalf.
Referenced by constructGeneralVolume().
|
inline |
Definition at line 29 of file DDHCalBarrelAlgo.h.
References nLayers.
Referenced by constructInsideSector().
|
inline |
Definition at line 18 of file DDHCalBarrelAlgo.h.
References nsectors.
Referenced by constructGeneralVolume(), and constructInsideSector().
|
inline |
Definition at line 19 of file DDHCalBarrelAlgo.h.
References nsectortot.
Referenced by constructGeneralVolume().
|
inline |
Definition at line 21 of file DDHCalBarrelAlgo.h.
References rin.
Referenced by constructGeneralVolume(), and constructInsideSector().
|
inline |
Definition at line 26 of file DDHCalBarrelAlgo.h.
Referenced by constructGeneralVolume(), constructInsideLayers(), constructInsideSector(), constructMidLayer(), and constructSideLayer().
|
inline |
Definition at line 22 of file DDHCalBarrelAlgo.h.
References rout.
Referenced by constructGeneralVolume().
|
inline |
Definition at line 23 of file DDHCalBarrelAlgo.h.
References rzones.
Referenced by constructInsideLayers(), constructInsideSector(), constructMidLayer(), and constructSideLayer().
|
inline |
Definition at line 47 of file DDHCalBarrelAlgo.h.
References i, and sideAbsMat.
Referenced by constructSideLayer().
|
inline |
Definition at line 46 of file DDHCalBarrelAlgo.h.
References i, and sideAbsName.
Referenced by constructSideLayer().
|
inline |
Definition at line 45 of file DDHCalBarrelAlgo.h.
References nSideAbs.
Referenced by constructSideLayer().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 24 of file DDHCalBarrelAlgo.h.
Referenced by constructGeneralVolume(), constructInsideLayers(), constructInsideSector(), constructMidLayer(), and constructSideLayer().
|
inline |
Definition at line 25 of file DDHCalBarrelAlgo.h.
|
inline |
Definition at line 27 of file DDHCalBarrelAlgo.h.
Referenced by constructGeneralVolume(), constructInsideLayers(), constructInsideSector(), constructMidLayer(), and constructSideLayer().
void DDHCalBarrelAlgo::initialize | ( | const DDNumericArguments & | nArgs, |
const DDVectorArguments & | vArgs, | ||
const DDMapArguments & | mArgs, | ||
const DDStringArguments & | sArgs, | ||
const DDStringVectorArguments & | vsArgs | ||
) |
Definition at line 36 of file DDHCalBarrelAlgo.cc.
References absorbD, absorbMat, absorbName, absorbT, dbl_to_int(), detdP1, detdP2, detMat, detMatPl, detMatSc, detPosY, detRot, detT11, detT12, detT21, detT22, detTsc, detType, detWidth1, detWidth2, genMaterial, i, idName, idNameSpace, idOffset, layerAbsorb, layerAlpha, layerD1, layerD2, layerGap, layerId, layerLabel, layerMat, layerT1, layerT2, layerWidth, LogDebug, middleD, middleMat, middleW, midMat, midName, midT, midW, nAbsorber, nhalf, nLayers, nMidAbs, DDCurrentNamespace::ns(), nsectors, nsectortot, nSideAbs, dbtoconf::parent, rin, rmax, rotHalf, rotns, rout, rzones, sideAbsMat, sideAbsName, sideAbsW, sideD, sideMat, sideT, funct::tan(), theta, ttheta, and zoff.
|
private |
Definition at line 169 of file DDHCalBarrelAlgo.h.
Referenced by getAbsorbD(), and initialize().
|
private |
Definition at line 168 of file DDHCalBarrelAlgo.h.
Referenced by getAbsorbMat(), and initialize().
|
private |
Definition at line 167 of file DDHCalBarrelAlgo.h.
Referenced by getAbsorbName(), and initialize().
|
private |
Definition at line 170 of file DDHCalBarrelAlgo.h.
Referenced by getAbsorbT(), and initialize().
|
private |
Definition at line 205 of file DDHCalBarrelAlgo.h.
Referenced by getDetdP1(), and initialize().
|
private |
Definition at line 206 of file DDHCalBarrelAlgo.h.
Referenced by getDetdP2(), and initialize().
|
private |
Definition at line 200 of file DDHCalBarrelAlgo.h.
Referenced by getDetMat(), and initialize().
|
private |
Definition at line 202 of file DDHCalBarrelAlgo.h.
Referenced by getDetMatPl(), and initialize().
|
private |
Definition at line 203 of file DDHCalBarrelAlgo.h.
Referenced by getDetMatSc(), and initialize().
|
private |
Definition at line 214 of file DDHCalBarrelAlgo.h.
Referenced by getDetPosY(), and initialize().
|
private |
Definition at line 201 of file DDHCalBarrelAlgo.h.
Referenced by constructInsideLayers(), and initialize().
|
private |
Definition at line 207 of file DDHCalBarrelAlgo.h.
Referenced by getDetT11(), and initialize().
|
private |
Definition at line 208 of file DDHCalBarrelAlgo.h.
Referenced by getDetT12(), and initialize().
|
private |
Definition at line 210 of file DDHCalBarrelAlgo.h.
Referenced by getDetT21(), and initialize().
|
private |
Definition at line 211 of file DDHCalBarrelAlgo.h.
Referenced by getDetT22(), and initialize().
|
private |
Definition at line 209 of file DDHCalBarrelAlgo.h.
Referenced by getDetTsc(), and initialize().
|
private |
Definition at line 204 of file DDHCalBarrelAlgo.h.
Referenced by getDetType(), and initialize().
|
private |
Definition at line 212 of file DDHCalBarrelAlgo.h.
Referenced by getDetWidth1(), and initialize().
|
private |
Definition at line 213 of file DDHCalBarrelAlgo.h.
Referenced by getDetWidth2(), and initialize().
|
private |
Definition at line 114 of file DDHCalBarrelAlgo.h.
Referenced by getGenMaterial(), and initialize().
|
private |
Definition at line 216 of file DDHCalBarrelAlgo.h.
Referenced by constructGeneralVolume(), constructInsideDetectors(), constructInsideLayers(), constructInsideSector(), and initialize().
|
private |
Definition at line 217 of file DDHCalBarrelAlgo.h.
Referenced by constructGeneralVolume(), constructInsideDetectors(), constructInsideLayers(), constructInsideSector(), constructMidLayer(), constructSideLayer(), and initialize().
|
private |
Definition at line 218 of file DDHCalBarrelAlgo.h.
Referenced by constructInsideLayers(), and initialize().
|
private |
Definition at line 163 of file DDHCalBarrelAlgo.h.
Referenced by getLayerAbsorb(), and initialize().
|
private |
Definition at line 160 of file DDHCalBarrelAlgo.h.
Referenced by getLayerAlpha(), and initialize().
|
private |
Definition at line 158 of file DDHCalBarrelAlgo.h.
Referenced by getLayerD1(), and initialize().
|
private |
Definition at line 159 of file DDHCalBarrelAlgo.h.
Referenced by getLayerD2(), and initialize().
|
private |
Definition at line 164 of file DDHCalBarrelAlgo.h.
Referenced by getLayerGap(), and initialize().
|
private |
Definition at line 154 of file DDHCalBarrelAlgo.h.
Referenced by getLayerId(), and initialize().
|
private |
Definition at line 155 of file DDHCalBarrelAlgo.h.
Referenced by getLayerLabel(), and initialize().
|
private |
Definition at line 156 of file DDHCalBarrelAlgo.h.
Referenced by getLayerMaterial(), and initialize().
|
private |
Definition at line 161 of file DDHCalBarrelAlgo.h.
Referenced by getLayerT1(), and initialize().
|
private |
Definition at line 162 of file DDHCalBarrelAlgo.h.
Referenced by getLayerT2(), and initialize().
|
private |
Definition at line 157 of file DDHCalBarrelAlgo.h.
Referenced by getLayerWidth(), and initialize().
|
private |
Definition at line 172 of file DDHCalBarrelAlgo.h.
Referenced by getMiddleD(), and initialize().
|
private |
Definition at line 171 of file DDHCalBarrelAlgo.h.
Referenced by getMiddleMat(), and initialize().
|
private |
Definition at line 173 of file DDHCalBarrelAlgo.h.
Referenced by getMiddleW(), and initialize().
|
private |
Definition at line 176 of file DDHCalBarrelAlgo.h.
Referenced by getMidAbsMat(), and initialize().
|
private |
Definition at line 175 of file DDHCalBarrelAlgo.h.
Referenced by getMidAbsName(), and initialize().
|
private |
Definition at line 178 of file DDHCalBarrelAlgo.h.
Referenced by getMidAbsT(), and initialize().
|
private |
Definition at line 177 of file DDHCalBarrelAlgo.h.
Referenced by getMidAbsW(), and initialize().
|
private |
Definition at line 166 of file DDHCalBarrelAlgo.h.
Referenced by getAbsorberN(), and initialize().
|
private |
Definition at line 117 of file DDHCalBarrelAlgo.h.
Referenced by getNhalf(), and initialize().
|
private |
Definition at line 153 of file DDHCalBarrelAlgo.h.
Referenced by getNLayers(), and initialize().
|
private |
Definition at line 174 of file DDHCalBarrelAlgo.h.
Referenced by getMidAbsorber(), and initialize().
|
private |
Definition at line 115 of file DDHCalBarrelAlgo.h.
Referenced by getNsectors(), and initialize().
|
private |
Definition at line 116 of file DDHCalBarrelAlgo.h.
Referenced by getNsectortot(), and initialize().
|
private |
Definition at line 183 of file DDHCalBarrelAlgo.h.
Referenced by getSideAbsorber(), and initialize().
|
private |
Definition at line 118 of file DDHCalBarrelAlgo.h.
Referenced by constructGeneralVolume(), constructInsideSector(), getRin(), and initialize().
|
private |
Definition at line 121 of file DDHCalBarrelAlgo.h.
Referenced by constructMidLayer(), getRmax(), and initialize().
|
private |
Definition at line 124 of file DDHCalBarrelAlgo.h.
Referenced by constructGeneralVolume(), and initialize().
|
private |
Definition at line 125 of file DDHCalBarrelAlgo.h.
Referenced by constructGeneralVolume(), constructInsideLayers(), and initialize().
|
private |
Definition at line 118 of file DDHCalBarrelAlgo.h.
Referenced by constructGeneralVolume(), constructInsideSector(), getRout(), and initialize().
|
private |
Definition at line 119 of file DDHCalBarrelAlgo.h.
Referenced by getRzones(), and initialize().
|
private |
Definition at line 185 of file DDHCalBarrelAlgo.h.
Referenced by getSideAbsMat(), and initialize().
|
private |
Definition at line 184 of file DDHCalBarrelAlgo.h.
Referenced by getSideAbsName(), and initialize().
|
private |
Definition at line 186 of file DDHCalBarrelAlgo.h.
Referenced by getSideAbsW(), and initialize().
|
private |
Definition at line 181 of file DDHCalBarrelAlgo.h.
Referenced by getSideD(), and initialize().
|
private |
Definition at line 180 of file DDHCalBarrelAlgo.h.
Referenced by getSideMat(), and initialize().
|
private |
Definition at line 182 of file DDHCalBarrelAlgo.h.
Referenced by getSideT(), and initialize().
|
private |
Definition at line 120 of file DDHCalBarrelAlgo.h.
Referenced by getTheta(), initialize(), and Tau.Tau::zImpact().
|
private |
Definition at line 123 of file DDHCalBarrelAlgo.h.
Referenced by getTanTheta(), and initialize().
|
private |
Definition at line 122 of file DDHCalBarrelAlgo.h.
Referenced by getZoff(), and initialize().