#include <HcalDDDRecConstants.h>
Classes | |
struct | HcalActiveLength |
struct | HcalEtaBin |
struct | HcalID |
Public Member Functions | |
std::vector< std::pair< double, double > > | getConstHBHE (const int type) const |
const std::vector< int > & | getDepth (const unsigned 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 |
int | getMaxDepth (const int type) const |
int | getNEta () 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 |
std::vector< HcalCellType > | HcalCellTypes (HcalSubdetector) const |
HcalDDDRecConstants (const HcalParameters *hp, const HcalDDDSimConstants &hc) | |
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 12 of file HcalDDDRecConstants.cc.
References gather_cfg::cout, and initialize().
HcalDDDRecConstants::~HcalDDDRecConstants | ( | ) |
|
inline |
Definition at line 49 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 500 of file HcalDDDRecConstants.cc.
References hpar, prof2calltree::last, and HcalParameters::layerGroupEtaRec.
Referenced by HcalTopology::HcalTopology().
std::vector< HcalDDDRecConstants::HcalEtaBin > HcalDDDRecConstants::getEtaBins | ( | const int | itype | ) | const |
Definition at line 29 of file HcalDDDRecConstants.cc.
References gather_cfg::cout, HcalDDDRecConstants::HcalEtaBin::depthStart, etaTable, plotBeamSpotDB::first, hpar, i, iEtaMax, iEtaMin, relval_steps::k, prof2calltree::l, HcalDDDRecConstants::HcalEtaBin::layer, layerGroup(), layerGroupSize(), 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 61 of file HcalDDDRecConstants.h.
std::pair< double, double > HcalDDDRecConstants::getEtaPhi | ( | int | subdet, |
int | ieta, | ||
int | iphi | ||
) | const |
Definition at line 91 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.
|
inline |
Definition at line 57 of file HcalDDDRecConstants.h.
References i, iEtaMax, and iEtaMin.
Referenced by SimHitsValidationHcal::getLimits(), and HcalTopology::HcalTopology().
|
inline |
Definition at line 59 of file HcalDDDRecConstants.h.
References etaTable.
Referenced by HcalTopology::HcalTopology(), and CaloTowerHardcodeGeometryLoader::load().
|
inline |
Definition at line 60 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 121 of file HcalDDDRecConstants.cc.
References gather_cfg::cout, HLT_25ns14e33_v1_cff::depth, eta, 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(), and HcalHitRelabeller::relabel().
|
inline |
Definition at line 65 of file HcalDDDRecConstants.h.
References maxDepth.
Referenced by HcalSimHitsClient::beginRun(), SimHitsValidationHcal::bookHistograms(), HcalTopology::HcalTopology(), and HcalTopologyIdealEP::produce().
|
inline |
Definition at line 66 of file HcalDDDRecConstants.h.
References HcalParameters::etagroup, and hpar.
Referenced by HcalTopology::HcalTopology().
|
inline |
Definition at line 67 of file HcalDDDRecConstants.h.
|
inline |
Definition at line 68 of file HcalDDDRecConstants.h.
References hpar, i, and HcalParameters::phioff.
|
inline |
Definition at line 69 of file HcalDDDRecConstants.h.
References hpar, and HcalParameters::phioff.
Referenced by HcalTopology::HcalTopology().
|
inline |
Definition at line 70 of file HcalDDDRecConstants.h.
References phibin.
Referenced by HcalTopology::HcalTopology().
|
inline |
Definition at line 71 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 168 of file HcalDDDRecConstants.cc.
References gather_cfg::cout, HLT_25ns14e33_v1_cff::etaMax, plotBeamSpotDB::first, gconsHB, gconsHE, HcalBarrel, relval_steps::k, layerGroup(), and layerGroupSize().
std::vector< HcalDDDRecConstants::HcalActiveLength > HcalDDDRecConstants::getThickActive | ( | const int | type | ) | const |
Definition at line 197 of file HcalDDDRecConstants.cc.
References funct::cos(), gather_cfg::cout, HcalDDDRecConstants::HcalActiveLength::depth, HLT_25ns14e33_v1_cff::depth, eta, HcalDDDRecConstants::HcalActiveLength::eta, create_public_lumi_plots::exp, plotBeamSpotDB::first, gconsHB, gconsHE, getEtaBins(), i, HcalDDDRecConstants::HcalActiveLength::ieta, j, relval_steps::k, pileupReCalc_HLTpaths::scale, edm::second(), funct::sin(), theta(), and HcalDDDRecConstants::HcalActiveLength::thick.
Referenced by HcalRaddamMuon::beginRun().
|
inline |
Definition at line 74 of file HcalDDDRecConstants.h.
References hpar, and HcalParameters::topologyMode.
Referenced by HcalTopology::HcalTopology(), and HcalTopologyIdealEP::produce().
std::vector< HcalCellType > HcalDDDRecConstants::HcalCellTypes | ( | HcalSubdetector | subdet | ) | const |
Definition at line 232 of file HcalDDDRecConstants.cc.
References newFWLiteAna::bin, prof2calltree::count, gather_cfg::cout, HLT_25ns14e33_v1_cff::depth, HLT_25ns14e33_v1_cff::etaMax, HLT_25ns14e33_v1_cff::etaMin, etaSimValu, plotBeamSpotDB::first, getEtaBins(), HcalBarrel, HcalDDDSimConstants::HcalCellTypes(), HcalEndcap, hcons, hpar, HLT_25ns14e33_v1_cff::nPhi, HcalParameters::phioff, groupFilesInBlocks::temp, csvLumiCalc::unit, and HcalDDDSimConstants::unitPhi().
Referenced by HcalDDDGeometryLoader::fill(), and numberOfCells().
|
private |
Definition at line 336 of file HcalDDDRecConstants.cc.
References gather_cfg::cout, HcalParameters::drHB, HcalParameters::dzHE, HcalParameters::etagroup, HcalParameters::etaMax, HLT_25ns14e33_v1_cff::etaMax, HcalParameters::etaMin, HLT_25ns14e33_v1_cff::etaMin, etaSimValu, HcalParameters::etaTable, etaTable, HcalParameters::etaTableHF, Exception, plotBeamSpotDB::first, citk::for(), gconsHB, gconsHE, hcons, hpar, i, ietaMap, iEtaMax, iEtaMin, relval_steps::k, layerGroup(), layerGroupSize(), HcalParameters::maxDepth, maxDepth, HcalParameters::modHB, HcalParameters::modHE, HLT_25ns14e33_v1_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 482 of file HcalDDDRecConstants.cc.
References hpar, relval_steps::k, and HcalParameters::layerGroupEtaRec.
Referenced by getEtaBins(), getHCID(), getRZ(), and initialize().
|
private |
Definition at line 465 of file HcalDDDRecConstants.cc.
References hpar, relval_steps::k, and HcalParameters::layerGroupEtaRec.
Referenced by getEtaBins(), getRZ(), and initialize().
unsigned int HcalDDDRecConstants::nCells | ( | HcalSubdetector | subdet | ) | const |
Definition at line 313 of file HcalDDDRecConstants.cc.
References getEtaBins(), HcalBarrel, HcalEndcap, HcalForward, HcalOuter, i, kHFSizePreLS1, kHOSizePreLS1, and HLT_25ns14e33_v1_cff::nPhi.
unsigned int HcalDDDRecConstants::nCells | ( | ) | const |
Definition at line 332 of file HcalDDDRecConstants.cc.
References HcalBarrel, HcalEndcap, HcalForward, and HcalOuter.
unsigned int HcalDDDRecConstants::numberOfCells | ( | HcalSubdetector | subdet | ) | const |
Definition at line 291 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 87 of file HcalDDDRecConstants.h.
Referenced by HcalCellTypes(), and initialize().
|
private |
Definition at line 88 of file HcalDDDRecConstants.h.
Referenced by getEtaBins(), getEtaLimit(), getEtaPhi(), getEtaTable(), and initialize().
|
private |
Definition at line 94 of file HcalDDDRecConstants.h.
Referenced by getConstHBHE(), getRZ(), getThickActive(), and initialize().
|
private |
Definition at line 95 of file HcalDDDRecConstants.h.
Referenced by getConstHBHE(), getRZ(), getThickActive(), and initialize().
|
private |
Definition at line 86 of file HcalDDDRecConstants.h.
Referenced by getHCID(), HcalCellTypes(), initialize(), and numberOfCells().
|
private |
Definition at line 85 of file HcalDDDRecConstants.h.
Referenced by getDepth(), getEtaBins(), getEtaPhi(), getEtaTableHF(), getHCID(), getNEta(), getPhiOff(), getPhiOffs(), getPhiTableHF(), getTopoMode(), HcalCellTypes(), initialize(), layerGroup(), and layerGroupSize().
|
private |
Definition at line 89 of file HcalDDDRecConstants.h.
Referenced by getHCID(), and initialize().
|
private |
Definition at line 90 of file HcalDDDRecConstants.h.
Referenced by getEtaBins(), getEtaPhi(), getEtaRange(), and initialize().
|
private |
Definition at line 90 of file HcalDDDRecConstants.h.
Referenced by getEtaBins(), getEtaPhi(), getEtaRange(), getHCID(), and initialize().
|
private |
Definition at line 91 of file HcalDDDRecConstants.h.
Referenced by getMaxDepth(), and initialize().
|
private |
Definition at line 96 of file HcalDDDRecConstants.h.
Referenced by initialize(), and numberOfCells().
|
private |
Definition at line 96 of file HcalDDDRecConstants.h.
Referenced by getEtaBins(), and initialize().
|
private |
Definition at line 92 of file HcalDDDRecConstants.h.
Referenced by getEtaBins(), getEtaPhi(), getHCID(), getPhiBin(), getPhiTable(), and initialize().
|
private |
Definition at line 93 of file HcalDDDRecConstants.h.
Referenced by getHCID(), and initialize().