#include <DDEcalEndcapAlgo.h>
Public Types | |
typedef HepGeom::Point3D< double > | Pt3D |
typedef HepGeom::ReflectZ3D | RfZ3D |
typedef HepGeom::Rotate3D | Ro3D |
typedef CLHEP::HepRotation | Rota |
typedef HepGeom::RotateX3D | RoX3D |
typedef HepGeom::RotateY3D | RoY3D |
typedef HepGeom::RotateZ3D | RoZ3D |
typedef HepGeom::Transform3D | Tf3D |
typedef HepGeom::Translate3D | Tl3D |
typedef EcalTrapezoidParameters | Trap |
typedef CLHEP::Hep3Vector | Vec3 |
Public Member Functions | |
DDName | addTmp (DDName aName) const |
DDName | alvName (unsigned int i) const |
const DDTranslation & | cryFCtr (unsigned int iRow, unsigned int iCol) const |
DDName | cryName () const |
const DDTranslation & | cryRCtr (unsigned int iRow, unsigned int iCol) const |
DDName | cutBoxName () const |
DDEcalEndcapAlgo () | |
DDMaterial | ddmat (const std::string &s) const |
DDName | ddname (const std::string &s) const |
void | EECreateCR () |
void | EECreateSC (const unsigned int iSCType, DDCompactView &cpv) |
double | eeCrysFront () const |
double | eeCrysLength () const |
DDMaterial | eeCrysMat () const |
double | eeCrysRear () const |
std::vector< double > | EEGetSCCtrs (const int iCol, const int iRow) |
DDName | EEGetSCName (const int iCol, const int iRow) |
unsigned int | EEGetSCType (const unsigned int iCol, const unsigned int iRow) |
DDMaterial | eeMat () const |
double | eenColumns () const |
double | eenCRSC () const |
double | eenSCCutaway () const |
double | eenSCquad () const |
double | eenSCTypes () const |
double | eePF45 () const |
double | eePFFifth () const |
double | eePFHalf () const |
void | EEPositionCRs (const DDName &pName, const DDTranslation &offset, const int iSCType, DDCompactView &cpv) |
void | EEPosSC (const int iCol, const int iRow, DDName EEDeeName) |
DDMaterial | eeQuaMat () const |
DDName | eeQuaName () const |
double | eeSCAFront () const |
double | eeSCALength () const |
double | eeSCARear () const |
double | eeSCAWall () const |
double | eeSCEFront () const |
double | eeSCELength () const |
double | eeSCERear () const |
double | eeSCHLength () const |
double | eeSCHSide () const |
const std::vector< double > & | eevecEECRCtrs () const |
const std::vector< double > & | eevecEESCCtrs () const |
const std::vector< double > & | eevecEESCCutaway () const |
const std::vector< double > & | eevecEESCProf () const |
const std::vector< double > & | eevecEEShape () const |
DDMaterial | eeWallMat () const |
double | eezOff () const |
DDName | envName (unsigned int i) const |
void | execute (DDCompactView &cpv) |
const std::string & | idNameSpace () const |
double | iLength () const |
void | initialize (const DDNumericArguments &nArgs, const DDVectorArguments &vArgs, const DDMapArguments &mArgs, const DDStringArguments &sArgs, const DDStringVectorArguments &vsArgs) |
DDName | intName (unsigned int i) const |
double | iXYOff () const |
DDRotation | myrot (const std::string &s, const DDRotationMatrix &r) const |
const DDTranslation & | scrFCtr (unsigned int iRow, unsigned int iCol) const |
const DDTranslation & | scrRCtr (unsigned int iRow, unsigned int iCol) const |
const std::vector< double > & | vecEESCLims () const |
virtual | ~DDEcalEndcapAlgo () |
Private Attributes | |
std::string | m_alvName |
DDTranslation | m_cryFCtr [5][5] |
std::string | m_cryName |
DDTranslation | m_cryRCtr [5][5] |
double | m_cryZOff |
std::string | m_cutBoxName |
const std::vector< double > * | m_cutParms |
double | m_EECrysFront |
double | m_EECrysLength |
std::string | m_EECrysMat |
double | m_EECrysRear |
std::string | m_EEMat |
double | m_EEnColumns |
double | m_EEnCRSC |
double | m_EEnSCCutaway |
double | m_EEnSCquad |
double | m_EEnSCTypes |
std::string | m_EEQuaMat |
std::string | m_EEQuaName |
double | m_EESCAFront |
double | m_EESCALength |
double | m_EESCARear |
double | m_EESCAWall |
double | m_EESCEFront |
double | m_EESCELength |
double | m_EESCERear |
double | m_EESCHLength |
double | m_EESCHSide |
std::string | m_EEWallMat |
double | m_EEzOff |
std::string | m_envName |
std::string | m_idNameSpace |
double | m_iLength |
std::string | m_intName |
double | m_iXYOff |
double | m_PF45 |
double | m_PFfifth |
double | m_PFhalf |
DDTranslation | m_scrFCtr [10][10] |
DDTranslation | m_scrRCtr [10][10] |
std::vector< double > | m_vecEECRCtrs |
std::vector< double > | m_vecEESCCtrs |
std::vector< double > | m_vecEESCCutaway |
std::vector< double > | m_vecEESCLims |
std::vector< double > | m_vecEESCProf |
std::vector< double > | m_vecEEShape |
double | m_zFront |
Definition at line 18 of file DDEcalEndcapAlgo.h.
typedef HepGeom::Point3D<double> DDEcalEndcapAlgo::Pt3D |
Definition at line 22 of file DDEcalEndcapAlgo.h.
typedef HepGeom::ReflectZ3D DDEcalEndcapAlgo::RfZ3D |
Definition at line 24 of file DDEcalEndcapAlgo.h.
typedef HepGeom::Rotate3D DDEcalEndcapAlgo::Ro3D |
Definition at line 26 of file DDEcalEndcapAlgo.h.
typedef CLHEP::HepRotation DDEcalEndcapAlgo::Rota |
Definition at line 32 of file DDEcalEndcapAlgo.h.
typedef HepGeom::RotateX3D DDEcalEndcapAlgo::RoX3D |
Definition at line 29 of file DDEcalEndcapAlgo.h.
typedef HepGeom::RotateY3D DDEcalEndcapAlgo::RoY3D |
Definition at line 28 of file DDEcalEndcapAlgo.h.
typedef HepGeom::RotateZ3D DDEcalEndcapAlgo::RoZ3D |
Definition at line 27 of file DDEcalEndcapAlgo.h.
typedef HepGeom::Transform3D DDEcalEndcapAlgo::Tf3D |
Definition at line 23 of file DDEcalEndcapAlgo.h.
typedef HepGeom::Translate3D DDEcalEndcapAlgo::Tl3D |
Definition at line 25 of file DDEcalEndcapAlgo.h.
Definition at line 21 of file DDEcalEndcapAlgo.h.
typedef CLHEP::Hep3Vector DDEcalEndcapAlgo::Vec3 |
Definition at line 31 of file DDEcalEndcapAlgo.h.
DDEcalEndcapAlgo::DDEcalEndcapAlgo | ( | ) |
Definition at line 25 of file DDEcalEndcapAlgo.cc.
References LogDebug.
|
virtual |
Definition at line 73 of file DDEcalEndcapAlgo.cc.
Definition at line 119 of file DDEcalEndcapAlgo.h.
References ddname(), and DDName::name().
Referenced by EECreateSC().
|
inline |
Definition at line 115 of file DDEcalEndcapAlgo.h.
References ddname(), int_to_string(), and m_alvName.
Referenced by EECreateSC().
|
inline |
Definition at line 121 of file DDEcalEndcapAlgo.h.
References m_cryFCtr.
Referenced by EEPositionCRs().
|
inline |
Definition at line 117 of file DDEcalEndcapAlgo.h.
References ddname(), and m_cryName.
Referenced by EECreateCR(), and EEPositionCRs().
|
inline |
Definition at line 124 of file DDEcalEndcapAlgo.h.
References m_cryRCtr.
Referenced by EEPositionCRs().
|
inline |
Definition at line 109 of file DDEcalEndcapAlgo.h.
References ddname(), and m_cutBoxName.
Referenced by EECreateSC(), and execute().
DDMaterial DDEcalEndcapAlgo::ddmat | ( | const std::string & | s | ) | const |
Definition at line 163 of file DDEcalEndcapAlgo.cc.
References ddname().
Referenced by eeCrysMat(), eeMat(), eeQuaMat(), and eeWallMat().
DDName DDEcalEndcapAlgo::ddname | ( | const std::string & | s | ) | const |
Definition at line 169 of file DDEcalEndcapAlgo.cc.
References DDSplit(), m_idNameSpace, and groupFilesInBlocks::temp.
Referenced by addTmp(), alvName(), cryName(), cutBoxName(), ddmat(), eeQuaName(), envName(), intName(), and myrot().
void DDEcalEndcapAlgo::EECreateCR | ( | ) |
Definition at line 452 of file DDEcalEndcapAlgo.cc.
References cryName(), eeCrysFront(), eeCrysLength(), eeCrysMat(), eeCrysRear(), mathSSE::sqrt(), and DDSolidFactory::trap().
Referenced by execute().
void DDEcalEndcapAlgo::EECreateSC | ( | const unsigned int | iSCType, |
DDCompactView & | cpv | ||
) |
Definition at line 294 of file DDEcalEndcapAlgo.cc.
References addTmp(), alvName(), cutBoxName(), eeCrysRear(), eeMat(), eePF45(), eePFFifth(), eePFHalf(), EEPositionCRs(), eeSCAFront(), eeSCALength(), eeSCARear(), eeSCAWall(), eeSCEFront(), eeSCELength(), eeSCERear(), eeWallMat(), envName(), iLength(), int_to_string(), intName(), iXYOff(), m_cutParms, myrot(), DDCompactView::position(), mathSSE::sqrt(), DDSolidFactory::subtraction(), and DDSolidFactory::trap().
Referenced by execute().
|
inline |
Definition at line 87 of file DDEcalEndcapAlgo.h.
References m_EECrysFront.
Referenced by EECreateCR(), and EEPositionCRs().
|
inline |
Definition at line 85 of file DDEcalEndcapAlgo.h.
References m_EECrysLength.
Referenced by EECreateCR(), and EEPositionCRs().
|
inline |
Definition at line 82 of file DDEcalEndcapAlgo.h.
References ddmat(), and m_EECrysMat.
Referenced by EECreateCR().
|
inline |
Definition at line 86 of file DDEcalEndcapAlgo.h.
References m_EECrysRear.
Referenced by EECreateCR(), EECreateSC(), and EEPositionCRs().
std::vector<double> DDEcalEndcapAlgo::EEGetSCCtrs | ( | const int | iCol, |
const int | iRow | ||
) |
DDName DDEcalEndcapAlgo::EEGetSCName | ( | const int | iCol, |
const int | iRow | ||
) |
unsigned int DDEcalEndcapAlgo::EEGetSCType | ( | const unsigned int | iCol, |
const unsigned int | iRow | ||
) |
Definition at line 434 of file DDEcalEndcapAlgo.cc.
References eenSCCutaway(), eevecEESCCutaway(), and cuy::ii.
Referenced by execute().
|
inline |
Definition at line 76 of file DDEcalEndcapAlgo.h.
References ddmat(), and m_EEMat.
Referenced by EECreateSC().
|
inline |
|
inline |
|
inline |
Definition at line 100 of file DDEcalEndcapAlgo.h.
References m_EEnSCCutaway.
Referenced by EEGetSCType().
|
inline |
|
inline |
Definition at line 98 of file DDEcalEndcapAlgo.h.
References m_EEnSCTypes.
Referenced by EEPositionCRs(), and execute().
|
inline |
|
inline |
Definition at line 111 of file DDEcalEndcapAlgo.h.
References m_PFfifth.
Referenced by EECreateSC().
|
inline |
void DDEcalEndcapAlgo::EEPositionCRs | ( | const DDName & | pName, |
const DDTranslation & | offset, | ||
const int | iSCType, | ||
DDCompactView & | cpv | ||
) |
Definition at line 470 of file DDEcalEndcapAlgo.cc.
References DDEcalEndcapTrap::centrePos(), cryFCtr(), cryName(), cryRCtr(), eeCrysFront(), eeCrysLength(), eeCrysRear(), eenSCTypes(), eevecEESCProf(), DDName::fullname(), int_to_string(), m_cryZOff, DDEcalEndcapTrap::moveto(), myrot(), DDCompactView::position(), and DDEcalEndcapTrap::rotation().
Referenced by EECreateSC().
void DDEcalEndcapAlgo::EEPosSC | ( | const int | iCol, |
const int | iRow, | ||
DDName | EEDeeName | ||
) |
|
inline |
Definition at line 80 of file DDEcalEndcapAlgo.h.
References ddmat(), and m_EEQuaMat.
|
inline |
Definition at line 79 of file DDEcalEndcapAlgo.h.
References ddname(), and m_EEQuaName.
Referenced by execute().
|
inline |
Definition at line 93 of file DDEcalEndcapAlgo.h.
References m_EESCAFront.
Referenced by EECreateSC().
|
inline |
Definition at line 91 of file DDEcalEndcapAlgo.h.
References m_EESCALength.
Referenced by EECreateSC().
|
inline |
Definition at line 92 of file DDEcalEndcapAlgo.h.
References m_EESCARear.
Referenced by EECreateSC().
|
inline |
Definition at line 94 of file DDEcalEndcapAlgo.h.
References m_EESCAWall.
Referenced by EECreateSC().
|
inline |
Definition at line 90 of file DDEcalEndcapAlgo.h.
References m_EESCEFront.
Referenced by EECreateSC(), and execute().
|
inline |
Definition at line 88 of file DDEcalEndcapAlgo.h.
References m_EESCELength.
Referenced by EECreateSC(), and execute().
|
inline |
Definition at line 89 of file DDEcalEndcapAlgo.h.
References m_EESCERear.
Referenced by EECreateSC(), and execute().
|
inline |
|
inline |
|
inline |
Definition at line 107 of file DDEcalEndcapAlgo.h.
References m_vecEECRCtrs.
Referenced by execute().
|
inline |
Definition at line 106 of file DDEcalEndcapAlgo.h.
References m_vecEESCCtrs.
Referenced by execute().
|
inline |
Definition at line 105 of file DDEcalEndcapAlgo.h.
References m_vecEESCCutaway.
Referenced by EEGetSCType().
|
inline |
Definition at line 103 of file DDEcalEndcapAlgo.h.
References m_vecEESCProf.
Referenced by EEPositionCRs().
|
inline |
Definition at line 104 of file DDEcalEndcapAlgo.h.
References m_vecEEShape.
Referenced by execute().
|
inline |
Definition at line 83 of file DDEcalEndcapAlgo.h.
References ddmat(), and m_EEWallMat.
Referenced by EECreateSC().
|
inline |
|
inline |
Definition at line 114 of file DDEcalEndcapAlgo.h.
References ddname(), int_to_string(), and m_envName.
Referenced by EECreateSC(), and execute().
void DDEcalEndcapAlgo::execute | ( | DDCompactView & | cpv | ) |
Definition at line 183 of file DDEcalEndcapAlgo.cc.
References DDSolidFactory::box(), DDEcalEndcapTrap::centrePos(), cutBoxName(), EECreateCR(), EECreateSC(), EEGetSCType(), eenColumns(), eenSCquad(), eenSCTypes(), eeQuaName(), eeSCEFront(), eeSCELength(), eeSCERear(), eevecEECRCtrs(), eevecEESCCtrs(), eevecEEShape(), eezOff(), envName(), DDName::fullname(), int_to_string(), m_cryFCtr, m_cryRCtr, m_cutParms, m_scrFCtr, m_scrRCtr, m_zFront, DDEcalEndcapTrap::moveto(), myrot(), mergeVDriftHistosByStation::name, DDSolid::parameters(), DDCompactView::position(), DDEcalEndcapTrap::rotation(), scrFCtr(), scrRCtr(), mathSSE::sqrt(), DDEcalEndcapTrap::translate(), and vecEESCLims().
|
inline |
|
inline |
Definition at line 135 of file DDEcalEndcapAlgo.h.
References m_iLength.
Referenced by EECreateSC().
void DDEcalEndcapAlgo::initialize | ( | const DDNumericArguments & | nArgs, |
const DDVectorArguments & | vArgs, | ||
const DDMapArguments & | mArgs, | ||
const DDStringArguments & | sArgs, | ||
const DDStringVectorArguments & | vsArgs | ||
) |
Definition at line 78 of file DDEcalEndcapAlgo.cc.
References m_alvName, m_cryName, m_cryZOff, m_cutBoxName, m_EECrysFront, m_EECrysLength, m_EECrysMat, m_EECrysRear, m_EEMat, m_EEnColumns, m_EEnCRSC, m_EEnSCCutaway, m_EEnSCquad, m_EEnSCTypes, m_EEQuaMat, m_EEQuaName, m_EESCAFront, m_EESCALength, m_EESCARear, m_EESCAWall, m_EESCEFront, m_EESCELength, m_EESCERear, m_EESCHLength, m_EESCHSide, m_EEWallMat, m_EEzOff, m_envName, m_idNameSpace, m_iLength, m_intName, m_iXYOff, m_PF45, m_PFfifth, m_PFhalf, m_vecEECRCtrs, m_vecEESCCtrs, m_vecEESCCutaway, m_vecEESCLims, m_vecEESCProf, m_vecEEShape, m_zFront, DDCurrentNamespace::ns(), and dbtoconf::parent.
|
inline |
Definition at line 116 of file DDEcalEndcapAlgo.h.
References ddname(), int_to_string(), and m_intName.
Referenced by EECreateSC().
|
inline |
DDRotation DDEcalEndcapAlgo::myrot | ( | const std::string & | s, |
const DDRotationMatrix & | r | ||
) | const |
Definition at line 149 of file DDEcalEndcapAlgo.cc.
References ddname(), DDrot(), and m_idNameSpace.
Referenced by EECreateSC(), EEPositionCRs(), and execute().
|
inline |
|
inline |
|
inline |
Definition at line 133 of file DDEcalEndcapAlgo.h.
References m_vecEESCLims.
Referenced by execute().
|
private |
Definition at line 182 of file DDEcalEndcapAlgo.h.
Referenced by alvName(), and initialize().
|
private |
Definition at line 186 of file DDEcalEndcapAlgo.h.
|
private |
Definition at line 184 of file DDEcalEndcapAlgo.h.
Referenced by cryName(), and initialize().
|
private |
Definition at line 187 of file DDEcalEndcapAlgo.h.
|
private |
Definition at line 202 of file DDEcalEndcapAlgo.h.
Referenced by EEPositionCRs(), and initialize().
|
private |
Definition at line 179 of file DDEcalEndcapAlgo.h.
Referenced by cutBoxName(), and initialize().
|
private |
Definition at line 178 of file DDEcalEndcapAlgo.h.
Referenced by EECreateSC(), and execute().
|
private |
Definition at line 156 of file DDEcalEndcapAlgo.h.
Referenced by eeCrysFront(), and initialize().
|
private |
Definition at line 154 of file DDEcalEndcapAlgo.h.
Referenced by eeCrysLength(), and initialize().
|
private |
Definition at line 151 of file DDEcalEndcapAlgo.h.
Referenced by eeCrysMat(), and initialize().
|
private |
Definition at line 155 of file DDEcalEndcapAlgo.h.
Referenced by eeCrysRear(), and initialize().
|
private |
Definition at line 145 of file DDEcalEndcapAlgo.h.
Referenced by eeMat(), and initialize().
|
private |
Definition at line 169 of file DDEcalEndcapAlgo.h.
Referenced by eenColumns(), and initialize().
|
private |
Definition at line 175 of file DDEcalEndcapAlgo.h.
Referenced by eenCRSC(), and initialize().
|
private |
Definition at line 171 of file DDEcalEndcapAlgo.h.
Referenced by eenSCCutaway(), and initialize().
|
private |
Definition at line 173 of file DDEcalEndcapAlgo.h.
Referenced by eenSCquad(), and initialize().
|
private |
Definition at line 167 of file DDEcalEndcapAlgo.h.
Referenced by eenSCTypes(), and initialize().
|
private |
Definition at line 149 of file DDEcalEndcapAlgo.h.
Referenced by eeQuaMat(), and initialize().
|
private |
Definition at line 148 of file DDEcalEndcapAlgo.h.
Referenced by eeQuaName(), and initialize().
|
private |
Definition at line 162 of file DDEcalEndcapAlgo.h.
Referenced by eeSCAFront(), and initialize().
|
private |
Definition at line 160 of file DDEcalEndcapAlgo.h.
Referenced by eeSCALength(), and initialize().
|
private |
Definition at line 161 of file DDEcalEndcapAlgo.h.
Referenced by eeSCARear(), and initialize().
|
private |
Definition at line 163 of file DDEcalEndcapAlgo.h.
Referenced by eeSCAWall(), and initialize().
|
private |
Definition at line 159 of file DDEcalEndcapAlgo.h.
Referenced by eeSCEFront(), and initialize().
|
private |
Definition at line 157 of file DDEcalEndcapAlgo.h.
Referenced by eeSCELength(), and initialize().
|
private |
Definition at line 158 of file DDEcalEndcapAlgo.h.
Referenced by eeSCERear(), and initialize().
|
private |
Definition at line 164 of file DDEcalEndcapAlgo.h.
Referenced by eeSCHLength(), and initialize().
|
private |
Definition at line 165 of file DDEcalEndcapAlgo.h.
Referenced by eeSCHSide(), and initialize().
|
private |
Definition at line 152 of file DDEcalEndcapAlgo.h.
Referenced by eeWallMat(), and initialize().
|
private |
Definition at line 146 of file DDEcalEndcapAlgo.h.
Referenced by eezOff(), and initialize().
|
private |
Definition at line 181 of file DDEcalEndcapAlgo.h.
Referenced by envName(), and initialize().
|
private |
Definition at line 142 of file DDEcalEndcapAlgo.h.
Referenced by ddname(), idNameSpace(), initialize(), and myrot().
|
private |
Definition at line 198 of file DDEcalEndcapAlgo.h.
Referenced by iLength(), and initialize().
|
private |
Definition at line 183 of file DDEcalEndcapAlgo.h.
Referenced by initialize(), and intName().
|
private |
Definition at line 200 of file DDEcalEndcapAlgo.h.
Referenced by initialize(), and iXYOff().
|
private |
Definition at line 194 of file DDEcalEndcapAlgo.h.
Referenced by eePF45(), and initialize().
|
private |
Definition at line 193 of file DDEcalEndcapAlgo.h.
Referenced by eePFFifth(), and initialize().
|
private |
Definition at line 192 of file DDEcalEndcapAlgo.h.
Referenced by eePFHalf(), and initialize().
|
private |
Definition at line 189 of file DDEcalEndcapAlgo.h.
|
private |
Definition at line 190 of file DDEcalEndcapAlgo.h.
|
private |
Definition at line 176 of file DDEcalEndcapAlgo.h.
Referenced by eevecEECRCtrs(), and initialize().
|
private |
Definition at line 174 of file DDEcalEndcapAlgo.h.
Referenced by eevecEESCCtrs(), and initialize().
|
private |
Definition at line 172 of file DDEcalEndcapAlgo.h.
Referenced by eevecEESCCutaway(), and initialize().
|
private |
Definition at line 196 of file DDEcalEndcapAlgo.h.
Referenced by initialize(), and vecEESCLims().
|
private |
Definition at line 168 of file DDEcalEndcapAlgo.h.
Referenced by eevecEESCProf(), and initialize().
|
private |
Definition at line 170 of file DDEcalEndcapAlgo.h.
Referenced by eevecEEShape(), and initialize().
|
private |
Definition at line 204 of file DDEcalEndcapAlgo.h.
Referenced by execute(), and initialize().