#include <HcalDDDSimConstants.h>
Public Member Functions | |
HcalCellType::HcalCell | cell (const int &det, const int &zside, const int &depth, const int &etaR, const int &iphi) const |
int | findDepth (const int &det, const int &eta, const int &phi, const int &zside, const int &lay) const |
unsigned int | findLayer (const int &layer, const std::vector< HcalParameters::LayerItem > &layerGroup) const |
std::vector< std::pair< double, double > > | getConstHBHE (const int &type) const |
int | getDepthEta16 (const int &det, const int &phi, const int &zside) const |
int | getDepthEta16M (const int &det) const |
int | getDepthEta29 (const int &phi, const int &zside, const int &i) const |
int | getDepthEta29M (const int &i, const bool &planOne) const |
std::pair< int, double > | getDetEta (const double &eta, const int &depth) |
int | getEta (const int &det, const int &lay, const double &hetaR) |
std::pair< int, int > | getEtaDepth (const int &det, int etaR, const int &phi, const int &zside, int depth, const int &lay) |
double | getEtaHO (const double &etaR, const double &x, const double &y, const double &z) const |
const std::vector< double > & | getEtaTableHF () const |
int | getFrontLayer (const int &det, const int &eta) const |
const std::vector< double > & | getGparHF () const |
const std::vector< HcalDetId > & | getIdHF2QIE () const |
std::pair< int, int > | getiEtaRange (const int &i) const |
int | getLastLayer (const int &det, const int &eta) const |
double | getLayer0Wt (const int &det, const int &phi, const int &zside) const |
int | getLayerBack (const int &det, const int &eta, const int &phi, const int &zside, const int &depth) const |
int | getLayerFront (const int &det, const int &eta, const int &phi, const int &zside, const int &depth) const |
int | getLayerMax (const int &eta, const int &depth) const |
int | getMaxDepth (const int &type) const |
int | getMaxDepth (const int &det, const int &eta, const int &phi, const int &zside, const bool &partialOnly) const |
std::pair< int, int > | getMaxDepthDet (const int &i) const |
int | getMinDepth (const int &det, const int &eta, const int &phi, const int &zside, const bool &partialOnly) const |
std::pair< int, int > | getModHalfHBHE (const int &type) const |
std::pair< double, double > | getPhiCons (const int &det, const int &ieta) const |
std::vector< std::pair< int, double > > | getPhis (const int &subdet, const int &ieta) const |
const std::vector< double > & | getPhiTableHF () const |
const std::vector< double > & | getRTableHF () const |
std::vector< HcalCellType > | HcalCellTypes () const |
std::vector< HcalCellType > | HcalCellTypes (const HcalSubdetector &, int ieta=-1, int depth=-1) const |
HcalDDDSimConstants (const HcalParameters *hp) | |
bool | isBH () const |
const HcalLayerDepthMap * | ldMap () const |
int | maxHFDepth (const int &ieta, const int &iphi) const |
unsigned int | numberOfCells (const HcalSubdetector &) const |
int | phiNumber (const int &phi, const int &unit) const |
void | printTiles () const |
int | unitPhi (const int &det, const int &etaR) const |
int | unitPhi (const double &dphi) const |
~HcalDDDSimConstants () | |
Private Member Functions | |
double | deltaEta (const int &det, const int &eta, const int &depth) const |
double | getEta (const int &det, const int &etaR, const int &zside, int depth=1) const |
double | getEta (const double &r, const double &z) const |
double | getGain (const HcalSubdetector &subdet, const int &depth) const |
int | getShift (const HcalSubdetector &subdet, const int &depth) const |
void | initialize () |
unsigned int | layerGroup (int eta, int i) const |
unsigned int | layerGroup (int det, int eta, int phi, int zside, int i) const |
unsigned int | layerGroupSize (int eta) const |
void | printTileHB (const int &eta, const int &phi, const int &zside, const int &depth) const |
void | printTileHE (const int &eta, const int &phi, const int &zside, const int &depth) const |
Private Attributes | |
int | depthEta16 [2] |
int | depthEta29 [2] |
std::pair< int, int > | depthMaxDf_ |
std::pair< int, int > | depthMaxSp_ |
std::vector< int > | depths [nDepthMax] |
double | dlShort |
double | dzVcal |
double | etaHO [4] |
const HcalParameters * | hpar |
std::vector< HcalDetId > | idHF2QIE |
bool | isBH_ |
int | layBHB [3] |
int | layBHE [4] |
int | layFHB [2] |
int | layFHE [3] |
HcalLayerDepthMap | ldmap_ |
std::vector< int > | maxDepth |
int | nDepth |
int | nEta |
int | nmodHB |
int | nmodHE |
int | nPhiF |
int | nR |
int | nzHB |
int | nzHE |
double | rminHO |
double | zVcal |
Static Private Attributes | |
static const int | maxLayer_ =18 |
static const int | maxLayerHB_ =16 |
static const int | nDepthMax =9 |
this class reads the constant section of the hcal-sim-numbering xml-file
Definition at line 24 of file HcalDDDSimConstants.h.
HcalDDDSimConstants::HcalDDDSimConstants | ( | const HcalParameters * | hp | ) |
Definition at line 11 of file HcalDDDSimConstants.cc.
References gather_cfg::cout, HcalCellTypes(), and initialize().
HcalDDDSimConstants::~HcalDDDSimConstants | ( | ) |
Definition at line 25 of file HcalDDDSimConstants.cc.
HcalCellType::HcalCell HcalDDDSimConstants::cell | ( | const int & | det, |
const int & | zside, | ||
const int & | depth, | ||
const int & | etaR, | ||
const int & | iphi | ||
) | const |
Definition at line 31 of file HcalDDDSimConstants.cc.
References gather_cfg::cout, deltaEta(), HcalCellType::HcalCell::deta, HcalCellType::HcalCell::dphi, HcalParameters::drHB, HcalCellType::HcalCell::drz, HcalParameters::dzHE, HcalCellType::HcalCell::eta, PVValHelper::eta, HcalParameters::etaMax, HcalParameters::etaMin, HcalCellType::HcalCell::flagrz, getEta(), HcalBarrel, HcalEndcap, HcalForward, HcalOuter, hpar, createfilelist::int, maxDepth, maxLayerHB_, nEta, HcalParameters::noff, nR, HcalCellType::HcalCell::ok, convertSQLiteXML::ok, phi, HcalCellType::HcalCell::phi, HcalParameters::phibin, HcalParameters::phioff, HcalParameters::phitable, HcalParameters::rHB, HcalParameters::rTable, HcalCellType::HcalCell::rz, tmp, unitPhi(), and HcalParameters::zHE.
Referenced by HGCGeometryValidation::analyze(), HGCalHitValidation::analyze(), HcalCellTypes(), and HcalTestAnalysis::update().
|
private |
Definition at line 965 of file HcalDDDSimConstants.cc.
References gather_cfg::cout, depthEta29, dlShort, etaHO, HcalParameters::etaMin, HcalParameters::etaTable, getEta(), HcalForward, HcalOuter, hpar, nEta, HcalParameters::noff, nR, HcalParameters::rTable, tmp, z, and zVcal.
Referenced by cell().
int HcalDDDSimConstants::findDepth | ( | const int & | det, |
const int & | eta, | ||
const int & | phi, | ||
const int & | zside, | ||
const int & | lay | ||
) | const |
Definition at line 123 of file HcalDDDSimConstants.cc.
References particleFlowClusterECALTimeSelected_cfi::depth, HcalLayerDepthMap::getDepth(), HcalLayerDepthMap::isValid(), and ldmap_.
Referenced by HcalDDDRecConstants::getHCID(), and layerGroup().
unsigned int HcalDDDSimConstants::findLayer | ( | const int & | layer, |
const std::vector< HcalParameters::LayerItem > & | layerGroup | ||
) | const |
Definition at line 131 of file HcalDDDSimConstants.cc.
References mps_fire::i, and hcalTTPDigis_cfi::id.
std::vector< std::pair< double, double > > HcalDDDSimConstants::getConstHBHE | ( | const int & | type | ) | const |
Definition at line 143 of file HcalDDDSimConstants.cc.
References HcalParameters::drHB, HcalParameters::dzHE, hpar, mps_fire::i, HcalParameters::rHB, and HcalParameters::zHE.
int HcalDDDSimConstants::getDepthEta16 | ( | const int & | det, |
const int & | phi, | ||
const int & | zside | ||
) | const |
Definition at line 158 of file HcalDDDSimConstants.cc.
References gather_cfg::cout, particleFlowClusterECALTimeSelected_cfi::depth, depthEta16, HcalLayerDepthMap::getDepth16(), and ldmap_.
Referenced by HcalDDDRecConstants::getDepthEta16(), getEtaDepth(), HcalDDDRecConstants::getHCID(), getMaxDepth(), getMinDepth(), HcalDDDRecConstants::getOneEtaBin(), HcalDDDRecConstants::initialize(), and printTiles().
int HcalDDDSimConstants::getDepthEta16M | ( | const int & | det | ) | const |
Definition at line 169 of file HcalDDDSimConstants.cc.
References particleFlowClusterECALTimeSelected_cfi::depth, depthEta16, HcalLayerDepthMap::getDepth16(), ldmap_, HcalLayerDepthMap::validDet(), and HcalDigiParam_cfi::zside.
Referenced by HcalDDDRecConstants::getMaxDepth(), HcalDDDRecConstants::getMinDepth(), HcalDDDRecConstants::getOneEtaBin(), and HcalDDDRecConstants::initialize().
int HcalDDDSimConstants::getDepthEta29 | ( | const int & | phi, |
const int & | zside, | ||
const int & | i | ||
) | const |
Definition at line 183 of file HcalDDDSimConstants.cc.
References particleFlowClusterECALTimeSelected_cfi::depth, depthEta29, HcalLayerDepthMap::getMaxDepthLastHE(), and ldmap_.
Referenced by getEtaDepth(), HcalDDDRecConstants::getHCID(), and HcalDDDRecConstants::getOneEtaBin().
int HcalDDDSimConstants::getDepthEta29M | ( | const int & | i, |
const bool & | planOne | ||
) | const |
Definition at line 191 of file HcalDDDSimConstants.cc.
References particleFlowClusterECALTimeSelected_cfi::depth, depthEta29, HcalLayerDepthMap::getMaxDepthLastHE(), ldmap_, HcalLayerDepthMap::validDet(), and HcalDigiParam_cfi::zside.
Referenced by HcalDDDRecConstants::getMaxDepth(), HcalDDDRecConstants::getOneEtaBin(), and HcalDDDRecConstants::initialize().
std::pair< int, double > HcalDDDSimConstants::getDetEta | ( | const double & | eta, |
const int & | depth | ||
) |
Definition at line 207 of file HcalDDDSimConstants.cc.
References depthEta16, PVValHelper::eta, HcalParameters::etaMax, HcalParameters::etaMin, MuonErrorMatrixValues_cff::etaRange, HcalParameters::etaTable, JetChargeProducer_cfi::exp, HcalBarrel, HcalEndcap, HcalForward, hpar, mps_fire::i, nEta, funct::tan(), theta(), and zVcal.
Referenced by HcalNumberingFromDDD::unitID().
int HcalDDDSimConstants::getEta | ( | const int & | det, |
const int & | lay, | ||
const double & | hetaR | ||
) |
Definition at line 232 of file HcalDDDSimConstants.cc.
References etaHO, HcalParameters::etaMax, ALCARECOTkAlBeamHalo_cff::etaMin, HcalParameters::etaMin, HcalParameters::etaTable, HcalBarrel, HcalEndcap, HcalForward, hpar, mps_fire::i, maxLayer_, nEta, HcalParameters::noff, and nR.
Referenced by cell(), deltaEta(), getEta(), and HcalNumberingFromDDD::unitID().
|
private |
Definition at line 1004 of file HcalDDDSimConstants.cc.
References gather_cfg::cout, depthEta29, dlShort, etaHO, HcalParameters::etaMin, HcalParameters::etaTable, getEta(), HcalForward, HcalOuter, hpar, nEta, HcalParameters::noff, nR, HcalParameters::rTable, tmp, z, and zVcal.
|
private |
Definition at line 1044 of file HcalDDDSimConstants.cc.
References gather_cfg::cout, cmsBatch::log, funct::tan(), and tmp.
std::pair< int, int > HcalDDDSimConstants::getEtaDepth | ( | const int & | det, |
int | etaR, | ||
const int & | phi, | ||
const int & | zside, | ||
int | depth, | ||
const int & | lay | ||
) |
Definition at line 256 of file HcalDDDSimConstants.cc.
References gather_cfg::cout, particleFlowClusterECALTimeSelected_cfi::depth, HcalParameters::etaMin, getDepthEta16(), getDepthEta29(), getMaxDepth(), HcalBarrel, HcalEndcap, HcalForward, HcalOuter, hpar, createfilelist::int, layerGroup(), HcalParameters::noff, HcalParameters::phibin, and HcalParameters::phioff.
Referenced by HcalNumberingFromDDD::unitID().
double HcalDDDSimConstants::getEtaHO | ( | const double & | etaR, |
const double & | x, | ||
const double & | y, | ||
const double & | z | ||
) | const |
Definition at line 302 of file HcalDDDSimConstants.cc.
References gather_cfg::cout, PVValHelper::eta, HcalParameters::etaTable, hpar, alignCSCRings::r, rminHO, mathSSE::sqrt(), HcalParameters::zHO, and geometryCSVtoXML::zz.
Referenced by HcalNumberingFromDDD::unitID().
|
inline |
Definition at line 49 of file HcalDDDSimConstants.h.
References HcalParameters::etaTableHF, and hpar.
int HcalDDDSimConstants::getFrontLayer | ( | const int & | det, |
const int & | eta | ||
) | const |
Definition at line 328 of file HcalDDDSimConstants.cc.
References funct::abs(), layFHB, and layFHE.
Referenced by getIdHF2QIE(), and HcalDDDRecConstants::getLayerFront().
|
private |
Definition at line 1076 of file HcalDDDSimConstants.cc.
References muonCSCDigis_cfi::gain, HcalParameters::HBGains, HcalEndcap, HcalForward, HcalOuter, HcalParameters::HEGains, HcalParameters::HFGains, and hpar.
Referenced by HcalCellTypes().
|
inline |
Definition at line 50 of file HcalDDDSimConstants.h.
References HcalParameters::gparHF, and hpar.
Referenced by HFFibre::initRun(), HFShower::initRun(), HFShowerParam::initRun(), HFShowerLibrary::initRun(), and HCalSD::update().
|
inline |
Definition at line 51 of file HcalDDDSimConstants.h.
References getFrontLayer(), getLastLayer(), getLayer0Wt(), getLayerBack(), getLayerFront(), getLayerMax(), and idHF2QIE.
Referenced by HcalDDDRecConstants::getHFCellParameters().
|
inline |
Definition at line 48 of file HcalDDDSimConstants.h.
References HcalParameters::etaMax, HcalParameters::etaMin, hpar, and mps_fire::i.
int HcalDDDSimConstants::getLastLayer | ( | const int & | det, |
const int & | eta | ||
) | const |
Definition at line 342 of file HcalDDDSimConstants.cc.
References funct::abs(), layBHB, and layBHE.
Referenced by getIdHF2QIE(), and HcalDDDRecConstants::getThickActive().
double HcalDDDSimConstants::getLayer0Wt | ( | const int & | det, |
const int & | phi, | ||
const int & | zside | ||
) | const |
Definition at line 358 of file HcalDDDSimConstants.cc.
References HcalLayerDepthMap::getLayer0Wt(), hpar, HcalParameters::Layer0Wt, and ldmap_.
Referenced by HCalSD::getEnergyDeposit(), getIdHF2QIE(), and HcalDDDRecConstants::getLayer0Wt().
int HcalDDDSimConstants::getLayerBack | ( | const int & | det, |
const int & | eta, | ||
const int & | phi, | ||
const int & | zside, | ||
const int & | depth | ||
) | const |
Definition at line 386 of file HcalDDDSimConstants.cc.
References depths, HcalLayerDepthMap::getLayerBack(), ldmap_, and maxLayer_.
Referenced by getIdHF2QIE(), printTileHB(), and printTileHE().
int HcalDDDSimConstants::getLayerFront | ( | const int & | det, |
const int & | eta, | ||
const int & | phi, | ||
const int & | zside, | ||
const int & | depth | ||
) | const |
Definition at line 366 of file HcalDDDSimConstants.cc.
References HcalLayerDepthMap::getLayerFront(), getLayerMax(), hpar, checklumidiff::l, layerGroup(), ldmap_, maxLayer_, maxLayerHB_, and HcalParameters::noff.
Referenced by getIdHF2QIE(), printTileHB(), and printTileHE().
int HcalDDDSimConstants::getLayerMax | ( | const int & | eta, |
const int & | depth | ||
) | const |
Definition at line 401 of file HcalDDDSimConstants.cc.
References HcalParameters::etaMin, hpar, createfilelist::int, layerGroupSize(), maxDepth, and maxLayerHB_.
Referenced by getIdHF2QIE(), getLayerFront(), and initialize().
|
inline |
Definition at line 63 of file HcalDDDSimConstants.h.
References maxDepth.
Referenced by getEtaDepth(), HcalDDDRecConstants::getMaxDepth(), printTiles(), and HCalSD::update().
int HcalDDDSimConstants::getMaxDepth | ( | const int & | det, |
const int & | eta, | ||
const int & | phi, | ||
const int & | zside, | ||
const bool & | partialOnly | ||
) | const |
Definition at line 407 of file HcalDDDSimConstants.cc.
References HcalParameters::etaMax, getDepthEta16(), HcalLayerDepthMap::getDepths(), hpar, HcalLayerDepthMap::isValid(), layerGroup(), ldmap_, maxDepth, maxHFDepth(), maxLayer_, and maxLayerHB_.
|
inline |
Definition at line 67 of file HcalDDDSimConstants.h.
References depthMaxDf_, depthMaxSp_, getMinDepth(), getModHalfHBHE(), getPhiCons(), and getPhis().
Referenced by HcalDDDRecConstants::initialize().
int HcalDDDSimConstants::getMinDepth | ( | const int & | det, |
const int & | eta, | ||
const int & | phi, | ||
const int & | zside, | ||
const bool & | partialOnly | ||
) | const |
Definition at line 435 of file HcalDDDSimConstants.cc.
References HcalParameters::etaMin, getDepthEta16(), HcalLayerDepthMap::getDepths(), hpar, createfilelist::int, HcalLayerDepthMap::isValid(), layerGroup(), layerGroupSize(), ldmap_, and maxDepth.
Referenced by getMaxDepthDet(), and HcalDDDRecConstants::getMinDepth().
std::pair< int, int > HcalDDDSimConstants::getModHalfHBHE | ( | const int & | type | ) | const |
Definition at line 463 of file HcalDDDSimConstants.cc.
References nmodHB, nmodHE, nzHB, and nzHE.
Referenced by getMaxDepthDet().
std::pair< double, double > HcalDDDSimConstants::getPhiCons | ( | const int & | det, |
const int & | ieta | ||
) | const |
Definition at line 472 of file HcalDDDSimConstants.cc.
References HcalParameters::etaMin, HcalEndcap, HcalForward, hpar, HcalParameters::phibin, HcalParameters::phioff, HcalParameters::phitable, and unitPhi().
Referenced by getMaxDepthDet(), getPhis(), HcalDDDRecConstants::getPhis(), and HcalNumberingFromDDD::unitID().
std::vector< std::pair< int, double > > HcalDDDSimConstants::getPhis | ( | const int & | subdet, |
const int & | ieta | ||
) | const |
Definition at line 494 of file HcalDDDSimConstants.cc.
References gather_cfg::cout, plotBeamSpotDB::first, getPhiCons(), createfilelist::int, gen::k, phi, phiNumber(), edm::second(), unitPhi(), and units().
Referenced by getMaxDepthDet(), and HcalCellTypes().
|
inline |
Definition at line 74 of file HcalDDDSimConstants.h.
References hpar, and HcalParameters::phitable.
Referenced by HcalDDDRecConstants::getHFCellParameters(), and HFShowerLibrary::initRun().
|
inline |
Definition at line 75 of file HcalDDDSimConstants.h.
References HcalCellTypes(), hpar, and HcalParameters::rTable.
Referenced by HcalDDDRecConstants::getHFCellParameters(), HFShowerPMT::initRun(), HFFibre::initRun(), HFShowerFibreBundle::initRun(), and HFShowerLibrary::initRun().
|
private |
Definition at line 1055 of file HcalDDDSimConstants.cc.
References HcalParameters::HBShift, HcalEndcap, HcalForward, HcalOuter, HcalParameters::HEShift, HcalParameters::HFShift, hpar, and edm::shift.
Referenced by HcalCellTypes().
std::vector< HcalCellType > HcalDDDSimConstants::HcalCellTypes | ( | ) | const |
Definition at line 516 of file HcalDDDSimConstants.cc.
References HcalBarrel, HcalEndcap, HcalForward, HcalOuter, and mps_fire::i.
Referenced by getRTableHF(), HcalDDDRecConstants::HcalCellTypes(), HcalDDDSimConstants(), and numberOfCells().
std::vector< HcalCellType > HcalDDDSimConstants::HcalCellTypes | ( | const HcalSubdetector & | subdet, |
int | ieta = -1 , |
||
int | depth = -1 |
||
) | const |
Definition at line 556 of file HcalDDDSimConstants.cc.
References cell(), particleFlowClusterECALTimeSelected_cfi::depth, dlShort, dzVcal, PVValHelper::eta, HcalParameters::etaMax, HcalParameters::etaMin, muonCSCDigis_cfi::gain, getGain(), getPhis(), getShift(), HcalBarrel, HcalEndcap, HcalForward, HcalOuter, hpar, idHF2QIE, GetRecoTauVFromDQM_MC_cff::kk, checklumidiff::l, maxDepth, maxLayer_, maxLayerHB_, HcalParameters::noff, nzHB, nzHE, HcalCellType::HcalCell::ok, convertSQLiteXML::ok, phi, HcalParameters::phibin, HcalParameters::phioff, HcalParameters::phitable, HcalCellType::setPhi(), edm::shift, csvLumiCalc::unit, unitPhi(), and HcalDigiParam_cfi::zside.
|
private |
Definition at line 745 of file HcalDDDSimConstants.cc.
References gather_cfg::cout, depthEta16, depthEta29, depthMaxDf_, depthMaxSp_, depths, dlShort, runTauDisplay::dtype, HcalParameters::dzVcal, dzVcal, etaHO, ALCARECOTkAlBeamHalo_cff::etaMax, HcalParameters::etaMax, HcalParameters::etaMin, HcalParameters::etaTable, HcalLayerDepthMap::getDepthMax(), getLayerMax(), HcalParameters::gparHF, HcalForward, hpar, mps_fire::i, idHF2QIE, HcalLayerDepthMap::initialize(), isBH_, gen::k, GetRecoTauVFromDQM_MC_cff::kk, checklumidiff::l, layBHB, layBHE, HcalParameters::Layer0Wt, layerGroup(), layerGroupSize(), layFHB, layFHE, ldmap_, HcalParameters::maxDepth, maxDepth, maxLayerHB_, HcalParameters::modHB, HcalParameters::modHE, nEta, nmodHB, nmodHE, HcalParameters::noff, nPhiF, nR, nzHB, nzHE, HcalParameters::rHB, HcalParameters::rHO, rminHO, HcalParameters::rTable, HcalParameters::zHO, HcalDigiParam_cfi::zside, and zVcal.
Referenced by HcalDDDSimConstants().
|
inline |
Definition at line 79 of file HcalDDDSimConstants.h.
References isBH_.
Referenced by HcalDDDRecConstants::isBH().
|
private |
Definition at line 1208 of file HcalDDDSimConstants.cc.
References hpar, gen::k, and HcalParameters::layerGroupEtaSim.
Referenced by getEtaDepth(), getLayerFront(), getMaxDepth(), getMinDepth(), initialize(), and layerGroup().
|
private |
Definition at line 1220 of file HcalDDDSimConstants.cc.
References particleFlowClusterECALTimeSelected_cfi::depth, findDepth(), and layerGroup().
|
private |
Definition at line 1196 of file HcalDDDSimConstants.cc.
References hpar, gen::k, and HcalParameters::layerGroupEtaSim.
Referenced by getLayerMax(), getMinDepth(), and initialize().
|
inline |
Definition at line 80 of file HcalDDDSimConstants.h.
References ldmap_, maxHFDepth(), numberOfCells(), phiNumber(), printTiles(), csvLumiCalc::unit, and unitPhi().
Referenced by HcalDDDRecConstants::getDepth(), HcalDDDRecConstants::getEtaBins(), HcalDDDRecConstants::getLayerFront(), HcalDDDRecConstants::getPhiZOne(), HcalDDDRecConstants::initialize(), and HcalDDDRecConstants::withSpecialRBXHBHE().
int HcalDDDSimConstants::maxHFDepth | ( | const int & | ieta, |
const int & | iphi | ||
) | const |
Definition at line 656 of file HcalDDDSimConstants.cc.
References idHF2QIE, gen::k, maxDepth, and convertSQLiteXML::ok.
Referenced by getMaxDepth(), ldMap(), HcalDDDRecConstants::maxHFDepth(), FastHFShowerLibrary::modifyDepth(), and HCalSD::modifyDepth().
unsigned int HcalDDDSimConstants::numberOfCells | ( | const HcalSubdetector & | subdet | ) | const |
Definition at line 670 of file HcalDDDSimConstants.cc.
References gather_cfg::cout, HcalCellTypes(), createfilelist::int, and pileupDistInMC::num.
Referenced by ldMap(), HcalDDDRecConstants::nCells(), and HcalDDDRecConstants::numberOfCells().
int HcalDDDSimConstants::phiNumber | ( | const int & | phi, |
const int & | unit | ||
) | const |
Definition at line 685 of file HcalDDDSimConstants.cc.
References phi.
Referenced by HcalDDDRecConstants::getHCID(), getPhis(), HcalDDDRecConstants::getPhis(), ldMap(), and HcalNumberingFromDDD::unitID().
|
private |
Definition at line 1097 of file HcalDDDSimConstants.cc.
References funct::cos(), particleFlowClusterECALTimeSelected_cfi::depth, HcalParameters::dxHB, HcalParameters::dyHB, PVValHelper::dz, HcalParameters::etaTable, JetChargeProducer_cfi::exp, getLayerBack(), getLayerFront(), hpar, gen::k, GetRecoTauVFromDQM_MC_cff::kk, HcalParameters::layHB, min(), HcalParameters::rhoxHB, and funct::sin().
Referenced by printTiles().
|
private |
Definition at line 1133 of file HcalDDDSimConstants.cc.
References HcalParameters::dx1HE, HcalParameters::dyHE, PVValHelper::eta, HcalParameters::etaTable, JetChargeProducer_cfi::exp, getLayerBack(), getLayerFront(), hpar, gen::k, GetRecoTauVFromDQM_MC_cff::kk, HcalParameters::layHE, hpstanc_transforms::max, min(), HcalParameters::phibin, HcalParameters::rhoxHE, funct::tan(), and HcalParameters::zxHE.
Referenced by printTiles().
void HcalDDDSimConstants::printTiles | ( | ) | const |
Definition at line 694 of file HcalDDDSimConstants.cc.
References particleFlowClusterECALTimeSelected_cfi::depth, PVValHelper::eta, ALCARECOTkAlBeamHalo_cff::etaMax, HcalParameters::etaMax, HcalParameters::etaMin, getDepthEta16(), getMaxDepth(), hpar, ldmap_, printTileHB(), printTileHE(), HcalLayerDepthMap::validDet(), and HcalDigiParam_cfi::zside.
Referenced by ldMap().
int HcalDDDSimConstants::unitPhi | ( | const int & | det, |
const int & | etaR | ||
) | const |
Definition at line 731 of file HcalDDDSimConstants.cc.
References HcalParameters::etaMin, HcalForward, hpar, HcalParameters::phibin, and HcalParameters::phitable.
Referenced by cell(), HcalDDDRecConstants::getEtaPhi(), HcalDDDRecConstants::getHCID(), getPhiCons(), getPhis(), HcalDDDRecConstants::getPhis(), HcalCellTypes(), HcalDDDRecConstants::HcalCellTypes(), HcalDDDRecConstants::initialize(), ldMap(), and HcalNumberingFromDDD::unitID().
int HcalDDDSimConstants::unitPhi | ( | const double & | dphi | ) | const |
Definition at line 737 of file HcalDDDSimConstants.cc.
References createfilelist::int, M_PI, and units().
|
private |
Definition at line 126 of file HcalDDDSimConstants.h.
Referenced by getDepthEta16(), getDepthEta16M(), getDetEta(), and initialize().
|
private |
Definition at line 127 of file HcalDDDSimConstants.h.
Referenced by deltaEta(), getDepthEta29(), getDepthEta29M(), getEta(), and initialize().
|
private |
Definition at line 134 of file HcalDDDSimConstants.h.
Referenced by getMaxDepthDet(), and initialize().
|
private |
Definition at line 134 of file HcalDDDSimConstants.h.
Referenced by getMaxDepthDet(), and initialize().
|
private |
Definition at line 118 of file HcalDDDSimConstants.h.
Referenced by getLayerBack(), and initialize().
|
private |
Definition at line 125 of file HcalDDDSimConstants.h.
Referenced by deltaEta(), getEta(), HcalCellTypes(), and initialize().
|
private |
Definition at line 124 of file HcalDDDSimConstants.h.
Referenced by HcalCellTypes(), and initialize().
|
private |
Definition at line 122 of file HcalDDDSimConstants.h.
Referenced by deltaEta(), getEta(), and initialize().
|
private |
Definition at line 111 of file HcalDDDSimConstants.h.
Referenced by cell(), deltaEta(), getConstHBHE(), getDetEta(), getEta(), getEtaDepth(), getEtaHO(), getEtaTableHF(), getGain(), getGparHF(), getiEtaRange(), getLayer0Wt(), getLayerFront(), getLayerMax(), getMaxDepth(), getMinDepth(), getPhiCons(), getPhiTableHF(), getRTableHF(), getShift(), HcalCellTypes(), initialize(), layerGroup(), layerGroupSize(), printTileHB(), printTileHE(), printTiles(), and unitPhi().
|
private |
Definition at line 133 of file HcalDDDSimConstants.h.
Referenced by getIdHF2QIE(), HcalCellTypes(), initialize(), and maxHFDepth().
|
private |
Definition at line 132 of file HcalDDDSimConstants.h.
Referenced by initialize(), and isBH().
|
private |
Definition at line 130 of file HcalDDDSimConstants.h.
Referenced by getLastLayer(), and initialize().
|
private |
Definition at line 131 of file HcalDDDSimConstants.h.
Referenced by getLastLayer(), and initialize().
|
private |
Definition at line 128 of file HcalDDDSimConstants.h.
Referenced by getFrontLayer(), and initialize().
|
private |
Definition at line 129 of file HcalDDDSimConstants.h.
Referenced by getFrontLayer(), and initialize().
|
private |
Definition at line 112 of file HcalDDDSimConstants.h.
Referenced by findDepth(), getDepthEta16(), getDepthEta16M(), getDepthEta29(), getDepthEta29M(), getLayer0Wt(), getLayerBack(), getLayerFront(), getMaxDepth(), getMinDepth(), initialize(), ldMap(), and printTiles().
|
private |
Definition at line 114 of file HcalDDDSimConstants.h.
Referenced by cell(), getLayerMax(), getMaxDepth(), getMinDepth(), HcalCellTypes(), initialize(), and maxHFDepth().
|
staticprivate |
Definition at line 91 of file HcalDDDSimConstants.h.
Referenced by getEta(), getLayerBack(), getLayerFront(), getMaxDepth(), and HcalCellTypes().
|
staticprivate |
Definition at line 92 of file HcalDDDSimConstants.h.
Referenced by cell(), getLayerFront(), getLayerMax(), getMaxDepth(), HcalCellTypes(), and initialize().
|
private |
Definition at line 119 of file HcalDDDSimConstants.h.
|
staticprivate |
Definition at line 90 of file HcalDDDSimConstants.h.
|
private |
Definition at line 115 of file HcalDDDSimConstants.h.
Referenced by cell(), deltaEta(), getDetEta(), getEta(), and initialize().
|
private |
Definition at line 120 of file HcalDDDSimConstants.h.
Referenced by getModHalfHBHE(), and initialize().
|
private |
Definition at line 121 of file HcalDDDSimConstants.h.
Referenced by getModHalfHBHE(), and initialize().
|
private |
Definition at line 117 of file HcalDDDSimConstants.h.
Referenced by initialize().
|
private |
Definition at line 116 of file HcalDDDSimConstants.h.
Referenced by cell(), deltaEta(), getEta(), and initialize().
|
private |
Definition at line 120 of file HcalDDDSimConstants.h.
Referenced by getModHalfHBHE(), HcalCellTypes(), and initialize().
|
private |
Definition at line 121 of file HcalDDDSimConstants.h.
Referenced by getModHalfHBHE(), HcalCellTypes(), and initialize().
|
private |
Definition at line 122 of file HcalDDDSimConstants.h.
Referenced by getEtaHO(), and initialize().
|
private |
Definition at line 123 of file HcalDDDSimConstants.h.
Referenced by deltaEta(), getDetEta(), getEta(), and initialize().