#include <DDHCalEndcapModuleAlgo.h>
Classes | |
struct | HcalEndcapPar |
Public Member Functions | |
DDHCalEndcapModuleAlgo () | |
void | execute (DDCompactView &cpv) |
void | initialize (const DDNumericArguments &nArgs, const DDVectorArguments &vArgs, const DDMapArguments &mArgs, const DDStringArguments &sArgs, const DDStringVectorArguments &vsArgs) |
virtual | ~DDHCalEndcapModuleAlgo () |
Protected Member Functions | |
void | constructInsideModule (DDLogicalPart module, DDCompactView &cpv) |
void | constructInsideModule0 (DDLogicalPart module, DDCompactView &cpv) |
void | constructScintLayer (DDLogicalPart detector, double dz, DDHCalEndcapModuleAlgo::HcalEndcapPar parm, std::string nm, int id, DDCompactView &cpv) |
double | getRout (double z) const |
double | getTrim (unsigned int j) const |
HcalEndcapPar | parameterLayer (unsigned int iphi, double rinF, double routF, double rinB, double routB, double zi, double zo) |
HcalEndcapPar | parameterLayer0 (unsigned int iphi) |
Private Attributes | |
std::string | absorberMat |
double | dzStep |
std::string | genMaterial |
std::string | idName |
std::string | idNameSpace |
int | idOffset |
std::vector< std::string > | layerName |
std::vector< int > | layerNumber |
double | layerThick |
int | layerType |
std::string | modName |
int | modNumber |
int | modType |
double | moduleThick |
std::vector< std::string > | phiName |
std::string | plasticMat |
double | rMaxBack |
double | rMaxFront |
std::string | rotstr |
std::string | scintMat |
double | scintThick |
int | sectors |
double | slopeBot |
double | slopeTop |
double | slopeTopF |
double | tolAbs |
double | trimLeft |
double | trimRight |
double | z1Beam |
double | ziDip |
double | zMaxBlock |
double | zMinBlock |
Definition at line 10 of file DDHCalEndcapModuleAlgo.h.
DDHCalEndcapModuleAlgo::DDHCalEndcapModuleAlgo | ( | ) |
Definition at line 21 of file DDHCalEndcapModuleAlgo.cc.
|
virtual |
Definition at line 25 of file DDHCalEndcapModuleAlgo.cc.
|
protected |
Definition at line 227 of file DDHCalEndcapModuleAlgo.cc.
References DDHCalEndcapModuleAlgo::HcalEndcapPar::alp, alpha, DDHCalEndcapModuleAlgo::HcalEndcapPar::bl1, DDHCalEndcapModuleAlgo::HcalEndcapPar::bl2, constructScintLayer(), DDBase< N, C >::ddname(), DDSplit(), dzStep, plotBeamSpotDB::first, genMaterial, getRout(), getTrim(), i, idName, idNameSpace, idOffset, layerName, layerNumber, layerThick, layerType, modName, modNumber, moduleThick, mergeVDriftHistosByStation::name, DDBase< N, C >::name(), parameterLayer(), DDHCalEndcapModuleAlgo::HcalEndcapPar::phi, phiName, pi, plasticMat, DDCompactView::position(), diffTwoXMLs::r1, diffTwoXMLs::r2, makeMuonMisalignmentScenario::rot, rotstr, scintThick, edm::second(), sectors, slopeBot, slopeTopF, AlCaHLTBitMon_QueryRunRegistry::string, funct::tan(), DDHCalEndcapModuleAlgo::HcalEndcapPar::theta, DDHCalEndcapModuleAlgo::HcalEndcapPar::tl1, DDHCalEndcapModuleAlgo::HcalEndcapPar::tl2, DDSolidFactory::trap(), DDHCalEndcapModuleAlgo::HcalEndcapPar::xpos, DDHCalEndcapModuleAlgo::HcalEndcapPar::yh1, DDHCalEndcapModuleAlgo::HcalEndcapPar::yh2, DDHCalEndcapModuleAlgo::HcalEndcapPar::ypos, zMinBlock, and DDHCalEndcapModuleAlgo::HcalEndcapPar::zpos.
Referenced by execute().
|
protected |
Definition at line 125 of file DDHCalEndcapModuleAlgo.cc.
References absorberMat, DDHCalEndcapModuleAlgo::HcalEndcapPar::alp, DDHCalEndcapModuleAlgo::HcalEndcapPar::bl1, DDHCalEndcapModuleAlgo::HcalEndcapPar::bl2, constructScintLayer(), DDBase< N, C >::ddname(), DDSplit(), dzStep, plotBeamSpotDB::first, idName, idNameSpace, idOffset, layerName, layerNumber, layerThick, layerType, modName, modNumber, moduleThick, mergeVDriftHistosByStation::name, DDBase< N, C >::name(), parameterLayer(), parameterLayer0(), DDHCalEndcapModuleAlgo::HcalEndcapPar::phi, phiName, plasticMat, DDCompactView::position(), diffTwoXMLs::r1, diffTwoXMLs::r2, makeMuonMisalignmentScenario::rot, rotstr, scintThick, edm::second(), slopeBot, slopeTop, slopeTopF, AlCaHLTBitMon_QueryRunRegistry::string, DDHCalEndcapModuleAlgo::HcalEndcapPar::theta, DDHCalEndcapModuleAlgo::HcalEndcapPar::tl1, DDHCalEndcapModuleAlgo::HcalEndcapPar::tl2, tolAbs, DDSolidFactory::trap(), DDHCalEndcapModuleAlgo::HcalEndcapPar::xpos, DDHCalEndcapModuleAlgo::HcalEndcapPar::yh1, DDHCalEndcapModuleAlgo::HcalEndcapPar::yh2, DDHCalEndcapModuleAlgo::HcalEndcapPar::ypos, z1Beam, zMinBlock, and DDHCalEndcapModuleAlgo::HcalEndcapPar::zpos.
Referenced by execute().
|
protected |
Definition at line 431 of file DDHCalEndcapModuleAlgo.cc.
References DDHCalEndcapModuleAlgo::HcalEndcapPar::alp, DDHCalEndcapModuleAlgo::HcalEndcapPar::bl1, DDBase< N, C >::ddname(), DDSplit(), plotBeamSpotDB::first, idName, idNameSpace, mergeVDriftHistosByStation::name, DDBase< N, C >::name(), DDCompactView::position(), scintMat, edm::second(), AlCaHLTBitMon_QueryRunRegistry::string, DDHCalEndcapModuleAlgo::HcalEndcapPar::tl1, DDSolidFactory::trap(), and DDHCalEndcapModuleAlgo::HcalEndcapPar::yh1.
Referenced by constructInsideModule(), and constructInsideModule0().
void DDHCalEndcapModuleAlgo::execute | ( | DDCompactView & | cpv | ) |
Definition at line 114 of file DDHCalEndcapModuleAlgo.cc.
References constructInsideModule(), constructInsideModule0(), modType, and SpecificationBuilder_cfi::parent().
|
protected |
Definition at line 465 of file DDHCalEndcapModuleAlgo.cc.
References modNumber, alignCSCRings::r, rMaxBack, rMaxFront, slopeTop, slopeTopF, z1Beam, and ziDip.
Referenced by constructInsideModule().
|
protected |
Definition at line 459 of file DDHCalEndcapModuleAlgo.cc.
References trimLeft, and trimRight.
Referenced by constructInsideModule(), and parameterLayer0().
void DDHCalEndcapModuleAlgo::initialize | ( | const DDNumericArguments & | nArgs, |
const DDVectorArguments & | vArgs, | ||
const DDMapArguments & | mArgs, | ||
const DDStringArguments & | sArgs, | ||
const DDStringVectorArguments & | vsArgs | ||
) |
Definition at line 27 of file DDHCalEndcapModuleAlgo.cc.
References absorberMat, dbl_to_int(), dzStep, genMaterial, i, idName, idNameSpace, idOffset, layerName, layerNumber, layerThick, layerType, modName, modNumber, modType, moduleThick, DDCurrentNamespace::ns(), SpecificationBuilder_cfi::parent(), phiName, plasticMat, rMaxBack, rMaxFront, rotstr, scintMat, scintThick, sectors, slopeBot, slopeTop, slopeTopF, tolAbs, trimLeft, trimRight, z1Beam, ziDip, zMaxBlock, and zMinBlock.
|
protected |
Definition at line 383 of file DDHCalEndcapModuleAlgo.cc.
References DDHCalEndcapModuleAlgo::HcalEndcapPar::alp, alpha, DDHCalEndcapModuleAlgo::HcalEndcapPar::bl1, DDHCalEndcapModuleAlgo::HcalEndcapPar::bl2, alignCSCRings::e, DDHCalEndcapModuleAlgo::HcalEndcapPar::phi, pi, alignCSCRings::r, sectors, mathSSE::sqrt(), funct::tan(), DDHCalEndcapModuleAlgo::HcalEndcapPar::theta, DDHCalEndcapModuleAlgo::HcalEndcapPar::tl1, DDHCalEndcapModuleAlgo::HcalEndcapPar::tl2, DDHCalEndcapModuleAlgo::HcalEndcapPar::xpos, DDHCalEndcapModuleAlgo::HcalEndcapPar::yh1, DDHCalEndcapModuleAlgo::HcalEndcapPar::yh2, DDHCalEndcapModuleAlgo::HcalEndcapPar::ypos, and DDHCalEndcapModuleAlgo::HcalEndcapPar::zpos.
Referenced by constructInsideModule(), and constructInsideModule0().
|
protected |
Definition at line 331 of file DDHCalEndcapModuleAlgo.cc.
References DDHCalEndcapModuleAlgo::HcalEndcapPar::alp, alpha, DDHCalEndcapModuleAlgo::HcalEndcapPar::bl1, DDHCalEndcapModuleAlgo::HcalEndcapPar::bl2, getTrim(), layerThick, modNumber, pi, sectors, slopeBot, slopeTop, slopeTopF, funct::tan(), DDHCalEndcapModuleAlgo::HcalEndcapPar::tl1, DDHCalEndcapModuleAlgo::HcalEndcapPar::tl2, DDHCalEndcapModuleAlgo::HcalEndcapPar::xpos, DDHCalEndcapModuleAlgo::HcalEndcapPar::yh1, DDHCalEndcapModuleAlgo::HcalEndcapPar::yh2, DDHCalEndcapModuleAlgo::HcalEndcapPar::ypos, z1Beam, zMaxBlock, zMinBlock, and DDHCalEndcapModuleAlgo::HcalEndcapPar::zpos.
Referenced by constructInsideModule0().
|
private |
Definition at line 48 of file DDHCalEndcapModuleAlgo.h.
Referenced by constructInsideModule0(), and initialize().
|
private |
Definition at line 57 of file DDHCalEndcapModuleAlgo.h.
Referenced by constructInsideModule(), constructInsideModule0(), and initialize().
|
private |
Definition at line 47 of file DDHCalEndcapModuleAlgo.h.
Referenced by constructInsideModule(), and initialize().
|
private |
Definition at line 76 of file DDHCalEndcapModuleAlgo.h.
Referenced by constructInsideModule(), constructInsideModule0(), constructScintLayer(), and initialize().
|
private |
Definition at line 77 of file DDHCalEndcapModuleAlgo.h.
Referenced by constructInsideModule(), constructInsideModule0(), constructScintLayer(), and initialize().
|
private |
Definition at line 79 of file DDHCalEndcapModuleAlgo.h.
Referenced by constructInsideModule(), constructInsideModule0(), and initialize().
|
private |
Definition at line 74 of file DDHCalEndcapModuleAlgo.h.
Referenced by constructInsideModule(), constructInsideModule0(), and initialize().
|
private |
Definition at line 72 of file DDHCalEndcapModuleAlgo.h.
Referenced by constructInsideModule(), constructInsideModule0(), and initialize().
|
private |
Definition at line 59 of file DDHCalEndcapModuleAlgo.h.
Referenced by constructInsideModule(), constructInsideModule0(), initialize(), and parameterLayer0().
|
private |
Definition at line 71 of file DDHCalEndcapModuleAlgo.h.
Referenced by constructInsideModule(), constructInsideModule0(), and initialize().
|
private |
Definition at line 78 of file DDHCalEndcapModuleAlgo.h.
Referenced by constructInsideModule(), constructInsideModule0(), and initialize().
|
private |
Definition at line 70 of file DDHCalEndcapModuleAlgo.h.
Referenced by constructInsideModule(), constructInsideModule0(), getRout(), initialize(), and parameterLayer0().
|
private |
Definition at line 69 of file DDHCalEndcapModuleAlgo.h.
Referenced by execute(), and initialize().
|
private |
Definition at line 58 of file DDHCalEndcapModuleAlgo.h.
Referenced by constructInsideModule(), constructInsideModule0(), and initialize().
|
private |
Definition at line 73 of file DDHCalEndcapModuleAlgo.h.
Referenced by constructInsideModule(), constructInsideModule0(), and initialize().
|
private |
Definition at line 49 of file DDHCalEndcapModuleAlgo.h.
Referenced by constructInsideModule(), constructInsideModule0(), and initialize().
|
private |
Definition at line 61 of file DDHCalEndcapModuleAlgo.h.
Referenced by getRout(), and initialize().
|
private |
Definition at line 62 of file DDHCalEndcapModuleAlgo.h.
Referenced by getRout(), and initialize().
|
private |
Definition at line 51 of file DDHCalEndcapModuleAlgo.h.
Referenced by constructInsideModule(), constructInsideModule0(), and initialize().
|
private |
Definition at line 50 of file DDHCalEndcapModuleAlgo.h.
Referenced by constructScintLayer(), and initialize().
|
private |
Definition at line 60 of file DDHCalEndcapModuleAlgo.h.
Referenced by constructInsideModule(), constructInsideModule0(), and initialize().
|
private |
Definition at line 52 of file DDHCalEndcapModuleAlgo.h.
Referenced by constructInsideModule(), initialize(), parameterLayer(), and parameterLayer0().
|
private |
Definition at line 63 of file DDHCalEndcapModuleAlgo.h.
Referenced by constructInsideModule(), constructInsideModule0(), initialize(), and parameterLayer0().
|
private |
Definition at line 64 of file DDHCalEndcapModuleAlgo.h.
Referenced by constructInsideModule0(), getRout(), initialize(), and parameterLayer0().
|
private |
Definition at line 65 of file DDHCalEndcapModuleAlgo.h.
Referenced by constructInsideModule(), constructInsideModule0(), getRout(), initialize(), and parameterLayer0().
|
private |
Definition at line 68 of file DDHCalEndcapModuleAlgo.h.
Referenced by constructInsideModule0(), and initialize().
|
private |
Definition at line 66 of file DDHCalEndcapModuleAlgo.h.
Referenced by getTrim(), and initialize().
|
private |
Definition at line 67 of file DDHCalEndcapModuleAlgo.h.
Referenced by getTrim(), and initialize().
|
private |
Definition at line 55 of file DDHCalEndcapModuleAlgo.h.
Referenced by constructInsideModule0(), getRout(), initialize(), and parameterLayer0().
|
private |
Definition at line 56 of file DDHCalEndcapModuleAlgo.h.
Referenced by getRout(), and initialize().
|
private |
Definition at line 54 of file DDHCalEndcapModuleAlgo.h.
Referenced by initialize(), and parameterLayer0().
|
private |
Definition at line 53 of file DDHCalEndcapModuleAlgo.h.
Referenced by constructInsideModule(), constructInsideModule0(), initialize(), and parameterLayer0().