#include <HcalNumberingFromDDD.h>
Classes | |
struct | HcalID |
Public Member Functions | |
HcalCellType::HcalCell | cell (int det, int zside, int depth, int etaR, int iphi, bool corr=true) const |
std::vector< double > | getEtaTable () const |
std::vector< HcalCellType > | HcalCellTypes () const |
std::vector< HcalCellType > | HcalCellTypes (HcalSubdetector) const |
HcalNumberingFromDDD (std::string &name, const DDCompactView &cpv) | |
unsigned int | numberOfCells (HcalSubdetector) const |
void | printTile () |
HcalID | unitID (int det, const CLHEP::Hep3Vector &pos, int depth, int lay=-1) const |
HcalID | unitID (double eta, double phi, int depth=1, int lay=-1) const |
HcalID | unitID (int det, double etaR, double phi, int depth, int lay=-1) const |
HcalID | unitID (int det, int zside, int depth, int etaR, int phi, int lay=-1) const |
~HcalNumberingFromDDD () | |
Private Member Functions | |
double | deltaEta (int det, int eta, int depth) const |
unsigned | find (int element, std::vector< int > &array) const |
std::vector< double > | getDDDArray (const std::string &, const DDsvalues_type &, int &) const |
double | getEta (int det, int etaR, int zside, int depth=1) const |
double | getEta (double r, double z) const |
double | getEtaHO (double &etaR, double &x, double &y, double &z) const |
double | getGain (HcalSubdetector subdet, int depth) const |
int | getShift (HcalSubdetector subdet, int depth) const |
void | initialize (std::string &name, const DDCompactView &cpv) |
void | loadGeometry (const DDFilteredView &) |
void | loadSpecPars (const DDFilteredView &) |
void | tileHB (int eta, int depth) |
void | tileHE (int eta, int depth) |
int | unitPhi (int det, int etaR) const |
Private Attributes | |
std::vector< int > | depth1 |
std::vector< int > | depth2 |
std::vector< int > | depth3 |
double | dlShort |
std::vector< double > | drHB |
std::vector< double > | dx1e |
std::vector< double > | dx2e |
std::vector< double > | dyxb |
std::vector< double > | dyxe |
std::vector< double > | dzHE |
double | dzVcal |
std::vector< double > | dzxb |
double | etaHO [4] |
std::vector< int > | etaMax |
std::vector< int > | etaMin |
std::vector< double > | etaTable |
std::vector< double > | gainHB |
std::vector< double > | gainHE |
std::vector< double > | gainHF |
std::vector< int > | layb |
std::vector< int > | laye |
int | nDepth |
int | nEta |
int | nmodHB |
int | nmodHE |
std::vector< int > | nOff |
int | nPhi |
int | nR |
int | nzHB |
int | nzHE |
std::vector< double > | phibin |
std::vector< double > | phioff |
std::vector< double > | rHB |
std::vector< double > | rhoxb |
std::vector< double > | rhoxe |
double | rminHO |
std::vector< double > | rTable |
std::vector< int > | shiftHB |
std::vector< int > | shiftHE |
std::vector< int > | shiftHF |
std::vector< double > | zHE |
std::vector< double > | zho |
double | zVcal |
std::vector< double > | zxb |
std::vector< double > | zxe |
Definition at line 20 of file HcalNumberingFromDDD.h.
HcalNumberingFromDDD::HcalNumberingFromDDD | ( | std::string & | name, |
const DDCompactView & | cpv | ||
) |
Definition at line 21 of file HcalNumberingFromDDD.cc.
References initialize().
HcalNumberingFromDDD::~HcalNumberingFromDDD | ( | ) |
Definition at line 27 of file HcalNumberingFromDDD.cc.
HcalCellType::HcalCell HcalNumberingFromDDD::cell | ( | int | det, |
int | zside, | ||
int | depth, | ||
int | etaR, | ||
int | iphi, | ||
bool | corr = true |
||
) | const |
Definition at line 210 of file HcalNumberingFromDDD.cc.
References deltaEta(), depth1, depth2, depth3, HcalCellType::HcalCell::deta, HcalCellType::HcalCell::dphi, drHB, HcalCellType::HcalCell::drz, dzHE, HcalCellType::HcalCell::eta, eta(), etaMax, etaMin, HcalCellType::HcalCell::flagrz, getEta(), HcalBarrel, HcalEndcap, HcalForward, HcalOuter, LogDebug, nEta, nOff, nR, HcalCellType::HcalCell::ok, convertSQLiteXML::ok, phi, HcalCellType::HcalCell::phi, phibin, phioff, rHB, rTable, HcalCellType::HcalCell::rz, tmp, and zHE.
Referenced by HcalCellTypes(), and HcalTestAnalysis::update().
|
private |
Definition at line 571 of file HcalNumberingFromDDD.cc.
References dlShort, etaHO, etaMin, etaTable, getEta(), HcalForward, HcalOuter, LogDebug, nEta, nOff, nR, rTable, tmp, detailsBasic3DVector::z, and zVcal.
Referenced by cell().
|
private |
Definition at line 1193 of file HcalNumberingFromDDD.cc.
References i.
Referenced by loadGeometry().
|
private |
Definition at line 1121 of file HcalNumberingFromDDD.cc.
References DDfetch(), DDValue::doubles(), edm::hlt::Exception, LogDebug, and relativeConstraints::value.
Referenced by loadSpecPars().
|
private |
Definition at line 520 of file HcalNumberingFromDDD.cc.
References dlShort, etaHO, etaMin, etaTable, HcalForward, HcalOuter, LogDebug, nEta, nOff, nR, rTable, tmp, detailsBasic3DVector::z, and zVcal.
Referenced by cell(), deltaEta(), and loadGeometry().
|
private |
Definition at line 560 of file HcalNumberingFromDDD.cc.
References cmsBatch::log, LogDebug, funct::tan(), and tmp.
|
private |
Definition at line 1311 of file HcalNumberingFromDDD.cc.
References eta(), etaTable, alignCSCRings::r, rminHO, mathSSE::sqrt(), and zho.
Referenced by unitID().
std::vector< double > HcalNumberingFromDDD::getEtaTable | ( | ) | const |
Definition at line 367 of file HcalNumberingFromDDD.cc.
|
private |
Definition at line 1176 of file HcalNumberingFromDDD.cc.
References gainHB, gainHE, gainHF, HcalEndcap, and HcalForward.
Referenced by HcalCellTypes().
|
private |
Definition at line 1159 of file HcalNumberingFromDDD.cc.
References HcalEndcap, HcalForward, edm::shift, shiftHB, shiftHE, and shiftHF.
Referenced by HcalCellTypes().
std::vector< HcalCellType > HcalNumberingFromDDD::HcalCellTypes | ( | ) | const |
Definition at line 391 of file HcalNumberingFromDDD.cc.
References HcalBarrel, HcalEndcap, HcalForward, HcalOuter, i, and LogDebug.
Referenced by HcalDDDGeometryLoader::fill(), initialize(), and numberOfCells().
std::vector< HcalCellType > HcalNumberingFromDDD::HcalCellTypes | ( | HcalSubdetector | subdet | ) | const |
Definition at line 431 of file HcalNumberingFromDDD.cc.
References cell(), HLT_25ns14e33_v1_cff::depth, dlShort, dzVcal, eta(), etaMax, etaMin, getGain(), getShift(), HcalEndcap, HcalForward, HcalOuter, GetRecoTauVFromDQM_MC_cff::kk, nmodHB, nmodHE, nOff, nzHB, nzHE, HcalCellType::HcalCell::ok, phi, HcalCellType::setMissingPhi(), edm::shift, unitPhi(), units(), and ecaldqm::zside().
|
private |
Definition at line 609 of file HcalNumberingFromDDD.cc.
References DDFilteredView::addFilter(), DDSpecificsFilter::equals, edm::hlt::Exception, alcazmumu_cfi::filter, DDFilteredView::firstChild(), HcalCellTypes(), i, loadGeometry(), loadSpecPars(), LogDebug, mergeVDriftHistosByStation::name, convertSQLiteXML::ok, DDSpecificsFilter::setCriteria(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by HcalNumberingFromDDD().
|
private |
Definition at line 817 of file HcalNumberingFromDDD.cc.
References funct::abs(), filterCSVwithJSON::copy, DDFilteredView::copyNumbers(), funct::cos(), gather_cfg::cout, ddcons, ddpolycone_rrz, ddtubs, drHB, dx1e, dx2e, dyxb, dyxe, dzHE, dzVcal, dzxb, etaHO, etaTable, find(), newFWLiteAna::found, getEta(), DDBox::halfX(), DDBox::halfY(), DDTrap::halfZ(), DDBox::halfZ(), i, cuy::ib, j, relval_steps::k, GetRecoTauVFromDQM_MC_cff::kk, layb, laye, LogDebug, DDFilteredView::logicalPart(), min(), DDBase< N, C >::name(), DDFilteredView::next(), nmodHB, nmodHE, nzHB, nzHE, DDSolid::parameters(), printTile(), rHB, rhoxb, rhoxe, DDTubs::rIn(), rminHO, DDTubs::rOut(), DDSolid::shape(), DDLogicalPart::solid(), edmStreamStallGrapher::t, funct::tan(), tmp, DDFilteredView::translation(), DDTrap::x1(), DDTrap::x2(), DDTrap::x3(), DDTrap::x4(), DDTrap::y1(), DDTrap::y2(), DDTubs::zhalf(), zHE, zho, zxb, and zxe.
Referenced by initialize().
|
private |
Definition at line 645 of file HcalNumberingFromDDD.cc.
References depth1, depth2, depth3, dlShort, etaMax, etaMin, etaTable, gainHB, gainHE, gainHF, getDDDArray(), i, LogDebug, DDFilteredView::mergedSpecifics(), nDepth, nEta, nOff, nPhi, nR, phibin, phioff, rTable, shiftHB, shiftHE, shiftHF, and zVcal.
Referenced by initialize().
unsigned int HcalNumberingFromDDD::numberOfCells | ( | HcalSubdetector | subdet | ) | const |
Definition at line 373 of file HcalNumberingFromDDD.cc.
References HcalCellTypes(), i, LogDebug, ecaldqm::binning::nPhiBins, and pileupDistInMC::num.
Referenced by HcalDDDGeometryLoader::load().
void HcalNumberingFromDDD::printTile | ( | ) |
Definition at line 495 of file HcalNumberingFromDDD.cc.
References gather_cfg::cout, HLT_25ns14e33_v1_cff::depth, depth1, depth2, eta(), etaMax, etaMin, tileHB(), and tileHE().
Referenced by loadGeometry().
|
private |
Definition at line 1218 of file HcalNumberingFromDDD.cc.
References funct::cos(), gather_cfg::cout, depth1, depth2, dyxb, dzxb, eta(), etaTable, create_public_lumi_plots::exp, relval_steps::k, GetRecoTauVFromDQM_MC_cff::kk, layb, min(), rhoxb, funct::sin(), SiStripMonitorClusterAlca_cfi::zmax, and SiStripMonitorClusterAlca_cfi::zmin.
Referenced by printTile().
|
private |
Definition at line 1250 of file HcalNumberingFromDDD.cc.
References gather_cfg::cout, depth1, depth2, depth3, dx1e, dyxe, eta(), etaTable, create_public_lumi_plots::exp, relval_steps::k, GetRecoTauVFromDQM_MC_cff::kk, laye, bookConverter::max, min(), phibin, rhoxe, funct::tan(), and zxe.
Referenced by printTile().
HcalNumberingFromDDD::HcalID HcalNumberingFromDDD::unitID | ( | int | det, |
const CLHEP::Hep3Vector & | pos, | ||
int | depth, | ||
int | lay = -1 |
||
) | const |
Definition at line 31 of file HcalNumberingFromDDD.cc.
References getEtaHO(), HcalBarrel, HcalEndcap, HcalForward, cmsBatch::log, LogDebug, bookConverter::max, min(), funct::sin(), mathSSE::sqrt(), funct::tan(), tmp, and zho.
Referenced by HcalTestAnalysis::fill(), SimG4HcalValidation::fill(), HCalSD::getHitFibreBundle(), HCalSD::getHitPMT(), HCalSD::layerWeight(), HcalTestAnalysis::qieAnalysis(), FastHFShowerLibrary::recoHFShowerLibrary(), HCalSD::setDetUnitId(), and unitID().
HcalNumberingFromDDD::HcalID HcalNumberingFromDDD::unitID | ( | double | eta, |
double | phi, | ||
int | depth = 1 , |
||
int | lay = -1 |
||
) | const |
Definition at line 73 of file HcalNumberingFromDDD.cc.
References eta(), etaMax, etaMin, etaTable, create_public_lumi_plots::exp, HcalBarrel, HcalEndcap, HcalForward, i, nEta, funct::tan(), theta(), tmp, unitID(), and zVcal.
HcalNumberingFromDDD::HcalID HcalNumberingFromDDD::unitID | ( | int | det, |
double | etaR, | ||
double | phi, | ||
int | depth, | ||
int | lay = -1 |
||
) | const |
Definition at line 102 of file HcalNumberingFromDDD.cc.
References etaHO, etaMax, etaMin, etaTable, HcalBarrel, HcalForward, i, LogDebug, nEta, nOff, nR, phibin, phioff, rTable, tmp, unitID(), and ecaldqm::zside().
HcalNumberingFromDDD::HcalID HcalNumberingFromDDD::unitID | ( | int | det, |
int | zside, | ||
int | depth, | ||
int | etaR, | ||
int | phi, | ||
int | lay = -1 |
||
) | const |
Definition at line 156 of file HcalNumberingFromDDD.cc.
References HcalNumberingFromDDD::HcalID::depth, depth1, depth2, depth3, etaMin, HcalNumberingFromDDD::HcalID::etaR, HcalBarrel, HcalEndcap, HcalForward, HcalOuter, HcalNumberingFromDDD::HcalID::lay, LogDebug, nOff, phi, HcalNumberingFromDDD::HcalID::phi, phibin, phioff, HcalNumberingFromDDD::HcalID::subdet, tmp, unitPhi(), units(), and HcalNumberingFromDDD::HcalID::zside.
|
private |
Definition at line 1206 of file HcalNumberingFromDDD.cc.
References etaMin, HcalForward, M_PI, nEta, phibin, and units().
Referenced by HcalCellTypes(), and unitID().
|
private |
Definition at line 76 of file HcalNumberingFromDDD.h.
Referenced by cell(), loadSpecPars(), printTile(), tileHB(), tileHE(), and unitID().
|
private |
Definition at line 77 of file HcalNumberingFromDDD.h.
Referenced by cell(), loadSpecPars(), printTile(), tileHB(), tileHE(), and unitID().
|
private |
Definition at line 78 of file HcalNumberingFromDDD.h.
Referenced by cell(), loadSpecPars(), tileHE(), and unitID().
|
private |
Definition at line 88 of file HcalNumberingFromDDD.h.
Referenced by deltaEta(), getEta(), HcalCellTypes(), and loadSpecPars().
|
private |
Definition at line 90 of file HcalNumberingFromDDD.h.
Referenced by cell(), and loadGeometry().
|
private |
Definition at line 98 of file HcalNumberingFromDDD.h.
Referenced by loadGeometry(), and tileHE().
|
private |
Definition at line 98 of file HcalNumberingFromDDD.h.
Referenced by loadGeometry().
|
private |
Definition at line 96 of file HcalNumberingFromDDD.h.
Referenced by loadGeometry(), and tileHB().
|
private |
Definition at line 98 of file HcalNumberingFromDDD.h.
Referenced by loadGeometry(), and tileHE().
|
private |
Definition at line 91 of file HcalNumberingFromDDD.h.
Referenced by cell(), and loadGeometry().
|
private |
Definition at line 87 of file HcalNumberingFromDDD.h.
Referenced by HcalCellTypes(), and loadGeometry().
|
private |
Definition at line 96 of file HcalNumberingFromDDD.h.
Referenced by loadGeometry(), and tileHB().
|
private |
Definition at line 95 of file HcalNumberingFromDDD.h.
Referenced by deltaEta(), getEta(), loadGeometry(), and unitID().
|
private |
Definition at line 73 of file HcalNumberingFromDDD.h.
Referenced by cell(), HcalCellTypes(), loadSpecPars(), printTile(), and unitID().
|
private |
Definition at line 72 of file HcalNumberingFromDDD.h.
Referenced by cell(), deltaEta(), getEta(), HcalCellTypes(), loadSpecPars(), printTile(), unitID(), and unitPhi().
|
private |
Definition at line 68 of file HcalNumberingFromDDD.h.
Referenced by deltaEta(), getEta(), getEtaHO(), getEtaTable(), loadGeometry(), loadSpecPars(), tileHB(), tileHE(), and unitID().
|
private |
Definition at line 80 of file HcalNumberingFromDDD.h.
Referenced by getGain(), and loadSpecPars().
|
private |
Definition at line 82 of file HcalNumberingFromDDD.h.
Referenced by getGain(), and loadSpecPars().
|
private |
Definition at line 84 of file HcalNumberingFromDDD.h.
Referenced by getGain(), and loadSpecPars().
|
private |
Definition at line 97 of file HcalNumberingFromDDD.h.
Referenced by loadGeometry(), and tileHB().
|
private |
Definition at line 97 of file HcalNumberingFromDDD.h.
Referenced by loadGeometry(), and tileHE().
|
private |
Definition at line 79 of file HcalNumberingFromDDD.h.
Referenced by loadSpecPars().
|
private |
Definition at line 69 of file HcalNumberingFromDDD.h.
Referenced by cell(), deltaEta(), getEta(), loadSpecPars(), unitID(), and unitPhi().
|
private |
Definition at line 93 of file HcalNumberingFromDDD.h.
Referenced by HcalCellTypes(), and loadGeometry().
|
private |
Definition at line 94 of file HcalNumberingFromDDD.h.
Referenced by HcalCellTypes(), and loadGeometry().
|
private |
Definition at line 89 of file HcalNumberingFromDDD.h.
Referenced by cell(), deltaEta(), getEta(), HcalCellTypes(), loadSpecPars(), and unitID().
|
private |
Definition at line 75 of file HcalNumberingFromDDD.h.
Referenced by loadSpecPars().
|
private |
Definition at line 71 of file HcalNumberingFromDDD.h.
Referenced by cell(), deltaEta(), getEta(), loadSpecPars(), and unitID().
|
private |
Definition at line 93 of file HcalNumberingFromDDD.h.
Referenced by HcalCellTypes(), and loadGeometry().
|
private |
Definition at line 94 of file HcalNumberingFromDDD.h.
Referenced by HcalCellTypes(), and loadGeometry().
|
private |
Definition at line 74 of file HcalNumberingFromDDD.h.
Referenced by cell(), loadSpecPars(), tileHE(), unitID(), and unitPhi().
|
private |
Definition at line 67 of file HcalNumberingFromDDD.h.
Referenced by cell(), loadSpecPars(), and unitID().
|
private |
Definition at line 90 of file HcalNumberingFromDDD.h.
Referenced by cell(), and loadGeometry().
|
private |
Definition at line 96 of file HcalNumberingFromDDD.h.
Referenced by loadGeometry(), and tileHB().
|
private |
Definition at line 98 of file HcalNumberingFromDDD.h.
Referenced by loadGeometry(), and tileHE().
|
private |
Definition at line 95 of file HcalNumberingFromDDD.h.
Referenced by getEtaHO(), and loadGeometry().
|
private |
Definition at line 70 of file HcalNumberingFromDDD.h.
Referenced by cell(), deltaEta(), getEta(), loadSpecPars(), and unitID().
|
private |
Definition at line 81 of file HcalNumberingFromDDD.h.
Referenced by getShift(), and loadSpecPars().
|
private |
Definition at line 83 of file HcalNumberingFromDDD.h.
Referenced by getShift(), and loadSpecPars().
|
private |
Definition at line 85 of file HcalNumberingFromDDD.h.
Referenced by getShift(), and loadSpecPars().
|
private |
Definition at line 91 of file HcalNumberingFromDDD.h.
Referenced by cell(), and loadGeometry().
|
private |
Definition at line 92 of file HcalNumberingFromDDD.h.
Referenced by getEtaHO(), loadGeometry(), and unitID().
|
private |
Definition at line 86 of file HcalNumberingFromDDD.h.
Referenced by deltaEta(), getEta(), loadSpecPars(), and unitID().
|
private |
Definition at line 96 of file HcalNumberingFromDDD.h.
Referenced by loadGeometry().
|
private |
Definition at line 98 of file HcalNumberingFromDDD.h.
Referenced by loadGeometry(), and tileHE().