#include <HcalDDDRecConstants.h>
Classes | |
struct | HcalActiveLength |
struct | HcalEtaBin |
struct | HcalID |
struct | HFCellParameters |
Public Member Functions | |
std::vector< std::pair< double, double > > | getConstHBHE (const int type) const |
const std::vector< int > & | getDepth (const unsigned int i) const |
int | getDepthEta16 (int i) const |
std::vector< HcalEtaBin > | getEtaBins (const int itype) const |
std::pair< double, double > | getEtaLimit (const int i) const |
std::pair< double, double > | getEtaPhi (int subdet, int ieta, int iphi) const |
std::pair< int, int > | getEtaRange (const int i) const |
const std::vector< double > & | getEtaTable () const |
const std::vector< double > & | getEtaTableHF () const |
HcalID | getHCID (int subdet, int ieta, int iphi, int lay, int idepth) const |
std::vector< HFCellParameters > | getHFCellParameters () const |
int | getMaxDepth (const int type) const |
int | getMaxDepth (const int itype, const int ieta) const |
int | getNEta () const |
int | getNoff (const int i) const |
double | getPhiBin (const int i) const |
double | getPhiOff (const int i) const |
const std::vector< double > & | getPhiOffs () const |
const std::vector< double > & | getPhiTable () const |
const std::vector< double > & | getPhiTableHF () const |
double | getRZ (int subdet, int ieta, int depth) const |
std::vector< HcalActiveLength > | getThickActive (const int type) const |
int | getTopoMode () const |
int | getTriggerMode () const |
std::vector< HcalCellType > | HcalCellTypes (HcalSubdetector) const |
HcalDDDRecConstants (const HcalParameters *hp, const HcalDDDSimConstants &hc) | |
int | maxHFDepth (int ieta, int iphi) const |
unsigned int | nCells (HcalSubdetector) const |
unsigned int | nCells () const |
unsigned int | numberOfCells (HcalSubdetector) const |
~HcalDDDRecConstants () | |
Private Member Functions | |
void | initialize (void) |
unsigned int | layerGroup (unsigned int eta, unsigned int i) const |
unsigned int | layerGroupSize (unsigned int eta) const |
Private Attributes | |
std::vector< std::pair< int, int > > | etaSimValu |
std::vector< double > | etaTable |
std::vector< std::pair< double, double > > | gconsHB |
std::vector< std::pair< double, double > > | gconsHE |
const HcalDDDSimConstants & | hcons |
const HcalParameters * | hpar |
std::vector< int > | ietaMap |
std::vector< int > | iEtaMax |
std::vector< int > | iEtaMin |
std::vector< int > | maxDepth |
int | nHalves [2] |
int | nModule [2] |
std::vector< double > | phibin |
std::vector< int > | phiUnitS |
this class reads the constant section of the hcal-sim-numbering xml-file
Definition at line 22 of file HcalDDDRecConstants.h.
HcalDDDRecConstants::HcalDDDRecConstants | ( | const HcalParameters * | hp, |
const HcalDDDSimConstants & | hc | ||
) |
Definition at line 13 of file HcalDDDRecConstants.cc.
References gather_cfg::cout, and initialize().
HcalDDDRecConstants::~HcalDDDRecConstants | ( | ) |
|
inline |
Definition at line 57 of file HcalDDDRecConstants.h.
References gconsHB, and gconsHE.
Referenced by HcalFlexiHardcodeGeometryLoader::makeHBCells(), and HcalFlexiHardcodeGeometryLoader::makeHECells().
const std::vector< int > & HcalDDDRecConstants::getDepth | ( | const unsigned int | i | ) | const |
Definition at line 570 of file HcalDDDRecConstants.cc.
References hpar, plotBeamSpotDB::last, and HcalParameters::layerGroupEtaRec.
Referenced by HcalTopology::HcalTopology().
|
inline |
Definition at line 63 of file HcalDDDRecConstants.h.
References HcalDDDSimConstants::getDepthEta16(), and hcons.
Referenced by HcalTopology::depthBinInformation(), and HcalTopology::validRaw().
std::vector< HcalDDDRecConstants::HcalEtaBin > HcalDDDRecConstants::getEtaBins | ( | const int | itype | ) | const |
Definition at line 30 of file HcalDDDRecConstants.cc.
References gather_cfg::cout, HcalDDDRecConstants::HcalEtaBin::depthStart, etaTable, plotBeamSpotDB::first, HcalDDDSimConstants::getDepthEta16(), HcalDDDSimConstants::getDepthEta29(), hcons, hpar, i, iEtaMax, iEtaMin, relval_2017::k, cmsLHEtoEOSManager::l, HcalDDDRecConstants::HcalEtaBin::layer, layerGroup(), layerGroupSize(), gen::n, nModule, HcalParameters::noff, phibin, HcalParameters::phioff, and edm::second().
Referenced by getThickActive(), HcalCellTypes(), HcalTopology::HcalTopology(), HcalFlexiHardcodeGeometryLoader::makeHBCells(), HcalFlexiHardcodeGeometryLoader::makeHECells(), and nCells().
|
inline |
Definition at line 70 of file HcalDDDRecConstants.h.
std::pair< double, double > HcalDDDRecConstants::getEtaPhi | ( | int | subdet, |
int | ieta, | ||
int | iphi | ||
) | const |
Definition at line 101 of file HcalDDDRecConstants.cc.
References gather_cfg::cout, eta, etaTable, HcalParameters::etaTableHF, HcalBarrel, HcalEndcap, HcalOuter, hpar, iEtaMax, iEtaMin, M_PI, phi, phibin, HcalParameters::phioff, HcalParameters::phitable, and csvLumiCalc::unit.
Referenced by HGCalSimHitValidation::analyzeHits().
|
inline |
Definition at line 66 of file HcalDDDRecConstants.h.
References i, iEtaMax, and iEtaMin.
Referenced by SimHitsValidationHcal::getLimits(), and HcalTopology::HcalTopology().
|
inline |
Definition at line 68 of file HcalDDDRecConstants.h.
References etaTable.
Referenced by HcalTopology::HcalTopology(), and CaloTowerHardcodeGeometryLoader::load().
|
inline |
Definition at line 69 of file HcalDDDRecConstants.h.
References HcalParameters::etaTableHF, and hpar.
Referenced by HcalTopology::HcalTopology(), and CaloTowerHardcodeGeometryLoader::load().
HcalDDDRecConstants::HcalID HcalDDDRecConstants::getHCID | ( | int | subdet, |
int | ieta, | ||
int | iphi, | ||
int | lay, | ||
int | idepth | ||
) | const |
Definition at line 131 of file HcalDDDRecConstants.cc.
References gather_cfg::cout, HLT_FULL_cff::depth, eta, HcalDDDSimConstants::getDepthEta16(), HcalBarrel, HcalEndcap, HcalOuter, hcons, hpar, ietaMap, iEtaMin, layerGroup(), HcalParameters::noff, phi, phibin, HcalParameters::phigroup, HcalDDDSimConstants::phiNumber(), HcalParameters::phioff, phiUnitS, csvLumiCalc::unit, and HcalDDDSimConstants::unitPhi().
Referenced by SimHitsValidationHcal::analyze(), HGCalSimHitValidation::analyze(), and HcalHitRelabeller::relabel().
std::vector< HcalDDDRecConstants::HFCellParameters > HcalDDDRecConstants::getHFCellParameters | ( | ) | const |
Definition at line 178 of file HcalDDDRecConstants.cc.
References funct::abs(), gather_cfg::cout, HLT_FULL_cff::depth, HcalDDDSimConstants::getIdHF2QIE(), HcalDDDSimConstants::getPhiTableHF(), HcalDDDSimConstants::getRTableHF(), hcons, iEtaMin, relval_2017::k, maxDepth, HLT_FULL_cff::nEta, and HLT_FULL_cff::nPhi.
Referenced by HcalFlexiHardcodeGeometryLoader::makeHFCells().
|
inline |
Definition at line 75 of file HcalDDDRecConstants.h.
References maxDepth.
Referenced by HGCalDigiClient::beginRun(), HGCalRecHitsClient::beginRun(), HGCalSimHitsClient::beginRun(), HcalSimHitsClient::beginRun(), SimHitsValidationHcal::bookHistograms(), HcalTopology::depthBinInformation(), HGCalDigiValidation::dqmBeginRun(), HGCalRecHitValidation::dqmBeginRun(), HGCalSimHitValidation::dqmBeginRun(), HcalTopology::HcalTopology(), HcalTopologyIdealEP::produce(), and HcalTopology::validRaw().
int HcalDDDRecConstants::getMaxDepth | ( | const int | itype, |
const int | ieta | ||
) | const |
Definition at line 235 of file HcalDDDRecConstants.cc.
References HcalDDDSimConstants::getDepthEta16(), HcalDDDSimConstants::getDepthEta29(), hcons, hpar, iEtaMax, layerGroup(), layerGroupSize(), and HcalParameters::noff.
|
inline |
Definition at line 77 of file HcalDDDRecConstants.h.
References HcalParameters::etagroup, and hpar.
Referenced by HcalTopology::HcalTopology().
|
inline |
Definition at line 78 of file HcalDDDRecConstants.h.
References hpar, i, and HcalParameters::noff.
Referenced by HcalTopology::validRaw().
|
inline |
Definition at line 79 of file HcalDDDRecConstants.h.
|
inline |
Definition at line 80 of file HcalDDDRecConstants.h.
References hpar, i, and HcalParameters::phioff.
|
inline |
Definition at line 81 of file HcalDDDRecConstants.h.
References hpar, and HcalParameters::phioff.
Referenced by HcalTopology::HcalTopology().
|
inline |
Definition at line 82 of file HcalDDDRecConstants.h.
References phibin.
Referenced by HcalTopology::HcalTopology().
|
inline |
Definition at line 83 of file HcalDDDRecConstants.h.
References hpar, and HcalParameters::phitable.
Referenced by HcalTopology::HcalTopology().
double HcalDDDRecConstants::getRZ | ( | int | subdet, |
int | ieta, | ||
int | depth | ||
) | const |
Definition at line 249 of file HcalDDDRecConstants.cc.
References gather_cfg::cout, HLT_FULL_cff::etaMax, plotBeamSpotDB::first, gconsHB, gconsHE, HcalBarrel, relval_2017::k, layerGroup(), and layerGroupSize().
Referenced by HGCalSimHitValidation::analyzeHits().
std::vector< HcalDDDRecConstants::HcalActiveLength > HcalDDDRecConstants::getThickActive | ( | const int | type | ) | const |
Definition at line 278 of file HcalDDDRecConstants.cc.
References funct::cos(), gather_cfg::cout, HcalDDDRecConstants::HcalActiveLength::depth, HLT_FULL_cff::depth, eta, HcalDDDRecConstants::HcalActiveLength::eta, create_public_lumi_plots::exp, plotBeamSpotDB::first, gconsHB, gconsHE, getEtaBins(), i, HcalDDDRecConstants::HcalActiveLength::ieta, j, relval_2017::k, pileupReCalc_HLTpaths::scale, edm::second(), funct::sin(), theta(), and HcalDDDRecConstants::HcalActiveLength::thick.
Referenced by HcalRaddamMuon::beginRun(), and HcalHBHEMuonAnalyzer::beginRun().
|
inline |
Definition at line 86 of file HcalDDDRecConstants.h.
References hpar, and HcalParameters::topologyMode.
Referenced by HcalTopology::HcalTopology(), and HcalTopologyIdealEP::produce().
|
inline |
Definition at line 87 of file HcalDDDRecConstants.h.
References hpar, and HcalParameters::topologyMode.
Referenced by HcalTopology::HcalTopology().
std::vector< HcalCellType > HcalDDDRecConstants::HcalCellTypes | ( | HcalSubdetector | subdet | ) | const |
Definition at line 313 of file HcalDDDRecConstants.cc.
References newFWLiteAna::bin, KineDebug3::count(), gather_cfg::cout, HLT_FULL_cff::depth, HLT_FULL_cff::etaMax, HLT_FULL_cff::etaMin, etaSimValu, plotBeamSpotDB::first, getEtaBins(), HcalBarrel, HcalDDDSimConstants::HcalCellTypes(), HcalEndcap, hcons, hpar, HLT_FULL_cff::nPhi, HcalParameters::phioff, groupFilesInBlocks::temp, csvLumiCalc::unit, and HcalDDDSimConstants::unitPhi().
Referenced by HcalDDDGeometryLoader::fill(), and numberOfCells().
|
private |
Definition at line 417 of file HcalDDDRecConstants.cc.
References gather_cfg::cout, HcalParameters::drHB, HcalParameters::dzHE, HcalParameters::etagroup, HcalParameters::etaMax, HLT_FULL_cff::etaMax, HcalParameters::etaMin, HLT_FULL_cff::etaMin, etaSimValu, HcalParameters::etaTable, etaTable, HcalParameters::etaTableHF, Exception, plotBeamSpotDB::first, citk::for(), gconsHB, gconsHE, HcalDDDSimConstants::getDepthEta16(), hcons, hpar, i, ietaMap, iEtaMax, iEtaMin, relval_2017::k, layerGroup(), layerGroupSize(), HcalParameters::maxDepth, maxDepth, HcalParameters::modHB, HcalParameters::modHE, HLT_FULL_cff::nEta, nHalves, nModule, HcalParameters::phibin, phibin, HcalParameters::phigroup, HcalParameters::phitable, phiUnitS, HcalParameters::rHB, edm::second(), csvLumiCalc::unit, HcalDDDSimConstants::unitPhi(), and HcalParameters::zHE.
Referenced by HcalDDDRecConstants().
|
private |
Definition at line 557 of file HcalDDDRecConstants.cc.
References hpar, relval_2017::k, and HcalParameters::layerGroupEtaRec.
Referenced by getEtaBins(), getHCID(), getMaxDepth(), getRZ(), and initialize().
|
private |
Definition at line 545 of file HcalDDDRecConstants.cc.
References hpar, relval_2017::k, and HcalParameters::layerGroupEtaRec.
Referenced by getEtaBins(), getMaxDepth(), getRZ(), and initialize().
|
inline |
Definition at line 89 of file HcalDDDRecConstants.h.
References hcons, and HcalDDDSimConstants::maxHFDepth().
Referenced by HcalTopology::validRaw().
unsigned int HcalDDDRecConstants::nCells | ( | HcalSubdetector | subdet | ) | const |
Definition at line 394 of file HcalDDDRecConstants.cc.
References getEtaBins(), HcalBarrel, HcalEndcap, HcalForward, HcalOuter, hcons, i, kHOSizePreLS1, HLT_FULL_cff::nPhi, and HcalDDDSimConstants::numberOfCells().
unsigned int HcalDDDRecConstants::nCells | ( | ) | const |
Definition at line 413 of file HcalDDDRecConstants.cc.
References HcalBarrel, HcalEndcap, HcalForward, and HcalOuter.
unsigned int HcalDDDRecConstants::numberOfCells | ( | HcalSubdetector | subdet | ) | const |
Definition at line 372 of file HcalDDDRecConstants.cc.
References HcalBarrel, HcalCellTypes(), HcalEndcap, hcons, i, nHalves, ecaldqm::binning::nPhiBins, pileupDistInMC::num, and HcalDDDSimConstants::numberOfCells().
Referenced by HcalDDDGeometryLoader::load().
|
private |
Definition at line 101 of file HcalDDDRecConstants.h.
Referenced by HcalCellTypes(), and initialize().
|
private |
Definition at line 102 of file HcalDDDRecConstants.h.
Referenced by getEtaBins(), getEtaLimit(), getEtaPhi(), getEtaTable(), and initialize().
|
private |
Definition at line 108 of file HcalDDDRecConstants.h.
Referenced by getConstHBHE(), getRZ(), getThickActive(), and initialize().
|
private |
Definition at line 109 of file HcalDDDRecConstants.h.
Referenced by getConstHBHE(), getRZ(), getThickActive(), and initialize().
|
private |
Definition at line 100 of file HcalDDDRecConstants.h.
Referenced by getDepthEta16(), getEtaBins(), getHCID(), getHFCellParameters(), getMaxDepth(), HcalCellTypes(), initialize(), maxHFDepth(), nCells(), and numberOfCells().
|
private |
Definition at line 99 of file HcalDDDRecConstants.h.
Referenced by getDepth(), getEtaBins(), getEtaPhi(), getEtaTableHF(), getHCID(), getMaxDepth(), getNEta(), getNoff(), getPhiOff(), getPhiOffs(), getPhiTableHF(), getTopoMode(), getTriggerMode(), HcalCellTypes(), initialize(), layerGroup(), and layerGroupSize().
|
private |
Definition at line 103 of file HcalDDDRecConstants.h.
Referenced by getHCID(), and initialize().
|
private |
Definition at line 104 of file HcalDDDRecConstants.h.
Referenced by getEtaBins(), getEtaPhi(), getEtaRange(), getMaxDepth(), and initialize().
|
private |
Definition at line 104 of file HcalDDDRecConstants.h.
Referenced by getEtaBins(), getEtaPhi(), getEtaRange(), getHCID(), getHFCellParameters(), and initialize().
|
private |
Definition at line 105 of file HcalDDDRecConstants.h.
Referenced by getHFCellParameters(), getMaxDepth(), and initialize().
|
private |
Definition at line 110 of file HcalDDDRecConstants.h.
Referenced by initialize(), and numberOfCells().
|
private |
Definition at line 110 of file HcalDDDRecConstants.h.
Referenced by getEtaBins(), and initialize().
|
private |
Definition at line 106 of file HcalDDDRecConstants.h.
Referenced by getEtaBins(), getEtaPhi(), getHCID(), getPhiBin(), getPhiTable(), and initialize().
|
private |
Definition at line 107 of file HcalDDDRecConstants.h.
Referenced by getHCID(), and initialize().