#include <HcalGeomParameters.h>
Public Member Functions | |
double | getConstDzHF () const |
void | getConstRHO (std::vector< double > &) const |
std::vector< int > | getModHalfHBHE (const int type) const |
HcalGeomParameters ()=default | |
void | loadGeometry (const DDFilteredView &_fv, HcalParameters &php) |
void | loadGeometry (const cms::DDCompactView &cpv, HcalParameters &php) |
Static Public Attributes | |
static constexpr double | k_ScaleFromDD4hep = (1.0 / dd4hep::cm) |
static constexpr double | k_ScaleFromDD4hepToG4 = (1.0 / dd4hep::mm) |
static constexpr double | k_ScaleFromDDD = 0.1 |
static constexpr double | k_ScaleFromDDDToG4 = 1.0 |
static constexpr double | k_ScaleToDD4hep = dd4hep::cm |
static constexpr double | k_ScaleToDD4hepFromG4 = dd4hep::mm |
static constexpr double | k_ScaleToDDD = 10.0 |
static constexpr double | k_ScaleToDDDFromG4 = 1.0 |
Private Member Functions | |
void | clear (HcalParameters &php) |
unsigned | find (int element, std::vector< int > &array) const |
double | getEta (double r, double z) const |
void | loadfinal (HcalParameters &php) |
Private Attributes | |
double | dlShort_ |
double | dzVcal_ |
double | etaHO_ [4] |
std::vector< int > | ib_ |
std::vector< int > | ie_ |
std::vector< int > | izb_ |
std::vector< int > | ize_ |
int | nmodHB_ |
int | nmodHE_ |
int | nzHB_ |
int | nzHE_ |
std::vector< int > | phib_ |
std::vector< int > | phie_ |
std::vector< double > | rb_ |
std::vector< double > | rmaxHE_ |
std::vector< double > | rminHE_ |
double | rminHO_ |
std::vector< double > | rxb_ |
std::vector< double > | thkb_ |
std::vector< double > | thke_ |
std::vector< double > | ze_ |
double | zVcal_ |
Static Private Attributes | |
static const int | kHELayer1_ = 21 |
static const int | kHELayer2_ = 71 |
static const int | maxLayer_ = 20 |
this class extracts some geometry constants from CompactView to be used by Reco Geometry/Topology
Definition at line 27 of file HcalGeomParameters.h.
|
default |
|
private |
Definition at line 461 of file HcalGeomParameters.cc.
References HcalParameters::dx1HE, HcalParameters::dx2HE, HcalParameters::dxHB, HcalParameters::dyHB, HcalParameters::dyHE, mps_fire::i, HcalParameters::layHB, HcalParameters::layHE, HcalParameters::rhoxHB, HcalParameters::rhoxHE, HcalParameters::zxHB, and HcalParameters::zxHE.
|
private |
Definition at line 440 of file HcalGeomParameters.cc.
References mps_fire::i, and gpuClustering::id.
|
inline |
void HcalGeomParameters::getConstRHO | ( | std::vector< double > & | rHO | ) | const |
|
private |
Definition at line 451 of file HcalGeomParameters.cc.
References log, funct::tan(), and createJobs::tmp.
std::vector< int > HcalGeomParameters::getModHalfHBHE | ( | const int | type | ) | const |
Definition at line 26 of file HcalGeomParameters.cc.
|
private |
Definition at line 493 of file HcalGeomParameters.cc.
References HcalParameters::drHB, HcalParameters::dx1HE, HcalParameters::dx2HE, HcalParameters::dxHB, HcalParameters::dyHB, HcalParameters::dyHE, HcalParameters::dzHE, mkfit::getEta(), mps_fire::i, isotrackApplyRegressor::k, GetRecoTauVFromDQM_MC_cff::kk, HcalParameters::layHB, HcalParameters::layHE, HcalParameters::rHB, HcalParameters::rhoxHB, HcalParameters::rhoxHE, HcalParameters::zHE, HcalParameters::zHO, HcalParameters::zxHB, and HcalParameters::zxHE.
void HcalGeomParameters::loadGeometry | ( | const DDFilteredView & | _fv, |
HcalParameters & | php | ||
) |
Definition at line 38 of file HcalGeomParameters.cc.
References funct::abs(), DDTrap::alpha1(), DDTrap::alpha2(), clear(), filterCSVwithJSON::copy, DDFilteredView::copyNumbers(), funct::cos(), ddbox, ddcons, ddpolycone_rrz, ddtrap, ddtubs, PVValHelper::dx, HcalParameters::dx1HE, HcalParameters::dx2HE, HcalParameters::dxHB, PVValHelper::dy, HcalParameters::dyHB, HcalParameters::dyHE, PVValHelper::dz, spr::find(), newFWLiteAna::found, DDBox::halfX(), DDBox::halfY(), DDTrap::halfZ(), DDBox::halfZ(), dqmiolumiharvest::j, isotrackApplyRegressor::k, k_ScaleFromDDDToG4, GetRecoTauVFromDQM_MC_cff::kk, HcalParameters::layHB, HcalParameters::layHE, DDFilteredView::logicalPart(), SiStripPI::min, DDBase< N, C >::name(), DDFilteredView::next(), DDSolid::parameters(), HcalParameters::rhoxHB, HcalParameters::rhoxHE, DDTubs::rIn(), DDTubs::rOut(), DDSolid::shape(), mkfit::Const::sol, DDLogicalPart::solid(), submitPVValidationJobs::t, tan10deg, createJobs::tmp, DDFilteredView::translation(), DDTrap::x1(), DDTrap::x2(), DDTrap::x3(), DDTrap::x4(), DDTrap::y1(), DDTrap::y2(), DDTubs::zhalf(), HcalParameters::zHO, HcalParameters::zxHB, and HcalParameters::zxHE.
void HcalGeomParameters::loadGeometry | ( | const cms::DDCompactView & | cpv, |
HcalParameters & | php | ||
) |
Definition at line 238 of file HcalGeomParameters.cc.
References funct::abs(), clear(), filterCSVwithJSON::copy, cms::DDFilteredView::copyNos(), funct::cos(), cms::DDSolidShapeMap, PVValHelper::dx, HcalParameters::dx1HE, HcalParameters::dx2HE, HcalParameters::dxHB, PVValHelper::dy, HcalParameters::dyHB, HcalParameters::dyHE, PVValHelper::dz, alcazmumu_cfi::filter, spr::find(), cms::DDFilteredView::firstChild(), newFWLiteAna::found, dqmiolumiharvest::j, isotrackApplyRegressor::k, k_ScaleFromDD4hepToG4, GetRecoTauVFromDQM_MC_cff::kk, HcalParameters::layHB, HcalParameters::layHE, SiStripPI::min, dqmiodumpmetadata::n, cms::dd::name(), cms::DDFilteredView::name(), cms::DDFilteredView::parameters(), HcalParameters::rhoxHB, HcalParameters::rhoxHE, cms::DDFilteredView::shape(), cms::DDFilteredView::solid(), submitPVValidationJobs::t, tan10deg, createJobs::tmp, cms::DDFilteredView::translation(), HcalParameters::zHO, HcalParameters::zxHB, and HcalParameters::zxHE.
|
private |
Definition at line 57 of file HcalGeomParameters.h.
|
private |
Definition at line 56 of file HcalGeomParameters.h.
Referenced by getConstDzHF().
|
private |
Definition at line 54 of file HcalGeomParameters.h.
|
private |
Definition at line 61 of file HcalGeomParameters.h.
|
private |
Definition at line 61 of file HcalGeomParameters.h.
|
private |
Definition at line 61 of file HcalGeomParameters.h.
|
private |
Definition at line 61 of file HcalGeomParameters.h.
|
static |
Definition at line 33 of file HcalGeomParameters.h.
|
static |
Definition at line 35 of file HcalGeomParameters.h.
Referenced by HcalParametersFromDD::build(), and loadGeometry().
|
static |
Definition at line 29 of file HcalGeomParameters.h.
|
static |
Definition at line 31 of file HcalGeomParameters.h.
Referenced by HcalParametersFromDD::build(), and loadGeometry().
|
static |
Definition at line 34 of file HcalGeomParameters.h.
|
static |
Definition at line 36 of file HcalGeomParameters.h.
|
static |
Definition at line 30 of file HcalGeomParameters.h.
|
static |
Definition at line 32 of file HcalGeomParameters.h.
|
staticprivate |
Definition at line 59 of file HcalGeomParameters.h.
|
staticprivate |
Definition at line 59 of file HcalGeomParameters.h.
|
staticprivate |
Definition at line 58 of file HcalGeomParameters.h.
|
private |
Definition at line 52 of file HcalGeomParameters.h.
|
private |
Definition at line 53 of file HcalGeomParameters.h.
|
private |
Definition at line 52 of file HcalGeomParameters.h.
|
private |
Definition at line 53 of file HcalGeomParameters.h.
|
private |
Definition at line 61 of file HcalGeomParameters.h.
|
private |
Definition at line 61 of file HcalGeomParameters.h.
|
private |
Definition at line 60 of file HcalGeomParameters.h.
|
private |
Definition at line 62 of file HcalGeomParameters.h.
|
private |
Definition at line 62 of file HcalGeomParameters.h.
|
private |
Definition at line 54 of file HcalGeomParameters.h.
|
private |
Definition at line 62 of file HcalGeomParameters.h.
|
private |
Definition at line 60 of file HcalGeomParameters.h.
|
private |
Definition at line 60 of file HcalGeomParameters.h.
|
private |
Definition at line 60 of file HcalGeomParameters.h.
|
private |
Definition at line 55 of file HcalGeomParameters.h.