CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions
HcalParametersFromDD Class Reference

#include <HcalParametersFromDD.h>

Public Member Functions

bool build (const cms::DDCompactView &, HcalParameters &)
 
bool build (const DDCompactView *, HcalParameters &)
 
 HcalParametersFromDD ()=default
 

Private Member Functions

bool build (HcalParameters &)
 
void rescale (std::vector< double > &, const double s)
 

Detailed Description

Definition at line 9 of file HcalParametersFromDD.h.

Constructor & Destructor Documentation

◆ HcalParametersFromDD()

HcalParametersFromDD::HcalParametersFromDD ( )
default

Member Function Documentation

◆ build() [1/3]

bool HcalParametersFromDD::build ( const cms::DDCompactView cpv,
HcalParameters php 
)

Definition at line 142 of file HcalParametersFromDD.cc.

142  {
143 #ifdef EDM_ML_DEBUG
144  edm::LogVerbatim("HCalGeom") << "HcalParametersFromDD::build(const cms::DDCompactView*, HcalParameters&) is called";
145 #endif
146  const int nEtaMax = 100;
147 
148  std::unique_ptr<HcalGeomParameters> geom = std::make_unique<HcalGeomParameters>();
149  geom->loadGeometry(cpv, php);
150  php.modHB = geom->getModHalfHBHE(0);
151  php.modHE = geom->getModHalfHBHE(1);
152  php.dzVcal = geom->getConstDzHF();
153  geom->getConstRHO(php.rHO);
154 
155  php.phioff = cpv.get<std::vector<double>>("phioff");
156  php.etaTable = cpv.get<std::vector<double>>("etaTable");
157  php.rTable = cpv.get<std::vector<double>>("rTable");
158  php.phibin = cpv.get<std::vector<double>>("phibin");
159  php.phitable = cpv.get<std::vector<double>>("phitable");
160  php.etaMin = cpv.getVector<int>("etaMin");
161  php.etaMax = cpv.getVector<int>("etaMax");
162  php.etaRange = cpv.get<std::vector<double>>("etaRange");
163  php.gparHF = cpv.get<std::vector<double>>("gparHF");
164  php.noff = cpv.getVector<int>("noff");
165  php.Layer0Wt = cpv.get<std::vector<double>>("Layer0Wt");
166  php.HBGains = cpv.get<std::vector<double>>("HBGains");
167  php.HBShift = cpv.getVector<int>("HBShift");
168  php.HEGains = cpv.get<std::vector<double>>("HEGains");
169  php.HEShift = cpv.getVector<int>("HEShift");
170  php.HFGains = cpv.get<std::vector<double>>("HFGains");
171  php.HFShift = cpv.getVector<int>("HFShift");
172  php.maxDepth = cpv.getVector<int>("MaxDepth");
173 
176  for (unsigned int i = 1; i <= nEtaMax; ++i) {
177  HcalParameters::LayerItem layerGroupEta;
178  layerGroupEta.layer = i;
179  layerGroupEta.layerGroup = cpv.getVector<int>(std::string("layerGroupSimEta") + std::to_string(i));
180  if (!layerGroupEta.layerGroup.empty()) {
181  php.layerGroupEtaSim.emplace_back(layerGroupEta);
182  }
183  }
184 
185  //Special parameters at reconstruction level
186  const cms::DDFilter filter("OnlyForHcalRecNumbering", "HCAL");
187  cms::DDFilteredView fv(cpv, filter);
188 
189  std::vector<std::string> tempS = fv.get<std::vector<std::string>>("hcal", "TopologyMode");
190  std::string sv = (!tempS.empty()) ? tempS[0] : "HcalTopologyMode::SLHC";
191  int topoMode = getTopologyMode(sv, true);
192  tempS = fv.get<std::vector<std::string>>("hcal", "TriggerMode");
193  sv = (!tempS.empty()) ? tempS[0] : "HcalTopologyMode::TriggerMode_2021";
194  int trigMode = getTopologyMode(sv, false);
195  php.topologyMode = ((trigMode & 0xFF) << 8) | (topoMode & 0xFF);
196 
197  php.etagroup = cpv.getVector<int>("etagroup");
198  php.phigroup = cpv.getVector<int>("phigroup");
199 
200  for (unsigned int i = 1; i <= nEtaMax; ++i) {
201  HcalParameters::LayerItem layerGroupEta;
202  layerGroupEta.layer = i;
203  layerGroupEta.layerGroup = cpv.getVector<int>(std::string("layerGroupRecEta") + std::to_string(i));
204  if (!layerGroupEta.layerGroup.empty()) {
205  php.layerGroupEtaRec.emplace_back(layerGroupEta);
206  }
207  }
208 
209  return build(php);
210 }

References newFWLiteAna::build, HcalParameters::dzVcal, HcalParameters::etagroup, HcalParameters::etaMax, HcalParameters::etaMin, HcalParameters::etaRange, HcalParameters::etaTable, ALCARECOTkAlBeamHalo_cff::filter, relativeConstraints::geom, cms::DDCompactView::get(), cms::DDFilteredView::get(), cms::DDCompactView::getVector(), HcalParameters::gparHF, HcalParameters::HBGains, HcalParameters::HBShift, HcalParameters::HEGains, HcalParameters::HEShift, HcalParameters::HFGains, HcalParameters::HFShift, mps_fire::i, HcalGeomParameters::k_ScaleFromDD4HepToG4, HcalParameters::LayerItem::layer, HcalParameters::Layer0Wt, HcalParameters::LayerItem::layerGroup, HcalParameters::layerGroupEtaRec, HcalParameters::layerGroupEtaSim, HcalParameters::maxDepth, HcalParameters::modHB, HcalParameters::modHE, HcalParameters::noff, HcalParameters::phibin, HcalParameters::phigroup, HcalParameters::phioff, HcalParameters::phitable, MuonErrorMatrixAdjuster_cfi::rescale, HcalParameters::rHO, HcalParameters::rTable, AlCaHLTBitMon_QueryRunRegistry::string, pfDeepBoostedJetPreprocessParams_cfi::sv, and HcalParameters::topologyMode.

◆ build() [2/3]

bool HcalParametersFromDD::build ( const DDCompactView cpv,
HcalParameters php 
)

Definition at line 56 of file HcalParametersFromDD.cc.

56  {
57 #ifdef EDM_ML_DEBUG
58  edm::LogVerbatim("HCalGeom") << "HcalParametersFromDD::build(const DDCompactView*, HcalParameters&) is called";
59 #endif
60  //Special parameters at simulation level
61  std::string attribute = "OnlyForHcalSimNumbering";
62  DDSpecificsHasNamedValueFilter filter1{attribute};
63  DDFilteredView fv1(*cpv, filter1);
64  bool ok = fv1.firstChild();
65 
66  const int nEtaMax = 100;
67 
68  if (ok) {
69  std::unique_ptr<HcalGeomParameters> geom = std::make_unique<HcalGeomParameters>();
70  geom->loadGeometry(fv1, php);
71  php.modHB = geom->getModHalfHBHE(0);
72  php.modHE = geom->getModHalfHBHE(1);
73  php.dzVcal = geom->getConstDzHF();
74  geom->getConstRHO(php.rHO);
75 
76  php.phioff = cpv->vector("phioff");
77  php.etaTable = cpv->vector("etaTable");
78  php.rTable = cpv->vector("rTable");
80  php.phibin = cpv->vector("phibin");
81  php.phitable = cpv->vector("phitable");
82  for (unsigned int i = 1; i <= nEtaMax; ++i) {
83  std::stringstream sstm;
84  sstm << "layerGroupSimEta" << i;
85  std::string tempName = sstm.str();
86  auto const& v = cpv->vector(tempName);
87  if (!v.empty()) {
88  HcalParameters::LayerItem layerGroupEta;
89  layerGroupEta.layer = i;
90  layerGroupEta.layerGroup = dbl_to_int(v);
91  php.layerGroupEtaSim.emplace_back(layerGroupEta);
92  }
93  }
94  php.etaMin = dbl_to_int(cpv->vector("etaMin"));
95  php.etaMax = dbl_to_int(cpv->vector("etaMax"));
96  php.etaRange = cpv->vector("etaRange");
97  php.gparHF = cpv->vector("gparHF");
99  php.noff = dbl_to_int(cpv->vector("noff"));
100  php.Layer0Wt = cpv->vector("Layer0Wt");
101  php.HBGains = cpv->vector("HBGains");
102  php.HBShift = dbl_to_int(cpv->vector("HBShift"));
103  php.HEGains = cpv->vector("HEGains");
104  php.HEShift = dbl_to_int(cpv->vector("HEShift"));
105  php.HFGains = cpv->vector("HFGains");
106  php.HFShift = dbl_to_int(cpv->vector("HFShift"));
107  php.maxDepth = dbl_to_int(cpv->vector("MaxDepth"));
108  } else {
109  throw cms::Exception("HcalParametersFromDD") << "Not found " << attribute.c_str() << " but needed.";
110  }
111  //Special parameters at reconstruction level
112  attribute = "OnlyForHcalRecNumbering";
113  DDSpecificsHasNamedValueFilter filter2{attribute};
114  DDFilteredView fv2(*cpv, filter2);
115  ok = fv2.firstChild();
116  if (ok) {
117  DDsvalues_type sv(fv2.mergedSpecifics());
118  int topoMode = getTopologyMode("TopologyMode", sv, true);
119  int trigMode = getTopologyMode("TriggerMode", sv, false);
120  php.topologyMode = ((trigMode & 0xFF) << 8) | (topoMode & 0xFF);
121  php.etagroup = dbl_to_int(cpv->vector("etagroup"));
122  php.phigroup = dbl_to_int(cpv->vector("phigroup"));
123  for (unsigned int i = 1; i <= nEtaMax; ++i) {
124  std::stringstream sstm;
125  sstm << "layerGroupRecEta" << i;
126  std::string tempName = sstm.str();
127  auto const& v = cpv->vector(tempName);
128  if (!v.empty()) {
129  HcalParameters::LayerItem layerGroupEta;
130  layerGroupEta.layer = i;
131  layerGroupEta.layerGroup = dbl_to_int(v);
132  php.layerGroupEtaRec.emplace_back(layerGroupEta);
133  }
134  }
135  } else {
136  throw cms::Exception("HcalParametersFromDD") << "Not found " << attribute.c_str() << " but needed.";
137  }
138 
139  return build(php);
140 }

References newFWLiteAna::build, dbl_to_int(), HcalParameters::dzVcal, HcalParameters::etagroup, HcalParameters::etaMax, HcalParameters::etaMin, HcalParameters::etaRange, HcalParameters::etaTable, Exception, DDFilteredView::firstChild(), relativeConstraints::geom, HcalParameters::gparHF, HcalParameters::HBGains, HcalParameters::HBShift, HcalParameters::HEGains, HcalParameters::HEShift, HcalParameters::HFGains, HcalParameters::HFShift, mps_fire::i, HcalGeomParameters::k_ScaleFromDDDToG4, HcalParameters::LayerItem::layer, HcalParameters::Layer0Wt, HcalParameters::LayerItem::layerGroup, HcalParameters::layerGroupEtaRec, HcalParameters::layerGroupEtaSim, HcalParameters::maxDepth, DDFilteredView::mergedSpecifics(), HcalParameters::modHB, HcalParameters::modHE, HcalParameters::noff, convertSQLiteXML::ok, HcalParameters::phibin, HcalParameters::phigroup, HcalParameters::phioff, HcalParameters::phitable, MuonErrorMatrixAdjuster_cfi::rescale, HcalParameters::rHO, HcalParameters::rTable, AlCaHLTBitMon_QueryRunRegistry::string, pfDeepBoostedJetPreprocessParams_cfi::sv, HcalParameters::topologyMode, findQualityFiles::v, and DDCompactView::vector().

Referenced by HcalParametersDBBuilder::beginRun(), and HcalParametersESModule::produce().

◆ build() [3/3]

bool HcalParametersFromDD::build ( HcalParameters php)
private

Definition at line 212 of file HcalParametersFromDD.cc.

212  {
213  php.etaMin[0] = 1;
214  if (php.etaMax[1] >= php.etaMin[1])
215  php.etaMax[1] = static_cast<int>(php.etaTable.size()) - 1;
216  php.etaMax[2] = php.etaMin[2] + static_cast<int>(php.rTable.size()) - 2;
217 
218  for (unsigned int i = 0; i < php.rTable.size(); ++i) {
219  unsigned int k = php.rTable.size() - i - 1;
220  php.etaTableHF.emplace_back(-log(tan(0.5 * atan(php.rTable[k] / php.gparHF[4]))));
221  }
222 
223 #ifdef EDM_ML_DEBUG
224  int i(0);
225  std::stringstream ss0;
226  ss0 << "HcalParametersFromDD: MaxDepth[" << php.maxDepth.size() << "]: ";
227  for (const auto& it : php.maxDepth)
228  ss0 << it << ", ";
229  edm::LogVerbatim("HCalGeom") << ss0.str();
230  std::stringstream ss1;
231  ss1 << "HcalParametersFromDD: ModHB [" << php.modHB.size() << "]: ";
232  for (const auto& it : php.modHB)
233  ss1 << it << ", ";
234  edm::LogVerbatim("HCalGeom") << ss1.str();
235  std::stringstream ss2;
236  ss2 << "HcalParametersFromDD: ModHE [" << php.modHE.size() << "]: ";
237  for (const auto& it : php.modHE)
238  ss2 << it << ", ";
239  edm::LogVerbatim("HCalGeom") << ss2.str();
240  std::stringstream ss3;
241  ss3 << "HcalParametersFromDD: " << php.phioff.size() << " phioff values:";
242  std::vector<double>::const_iterator it;
243  for (it = php.phioff.begin(), i = 0; it != php.phioff.end(); ++it)
244  ss3 << " [" << ++i << "] = " << convertRadToDeg(*it);
245  edm::LogVerbatim("HCalGeom") << ss3.str();
246  std::stringstream ss4;
247  ss4 << "HcalParametersFromDD: " << php.etaTable.size() << " entries for etaTable:";
248  for (it = php.etaTable.begin(), i = 0; it != php.etaTable.end(); ++it)
249  ss4 << " [" << ++i << "] = " << (*it);
250  edm::LogVerbatim("HCalGeom") << ss4.str();
251  std::stringstream ss5;
252  ss5 << "HcalParametersFromDD: " << php.rTable.size() << " entries for rTable:";
253  for (it = php.rTable.begin(), i = 0; it != php.rTable.end(); ++it)
254  ss5 << " [" << ++i << "] = " << convertMmToCm(*it);
255  edm::LogVerbatim("HCalGeom") << ss5.str();
256  std::stringstream ss6;
257  ss6 << "HcalParametersFromDD: " << php.phibin.size() << " phibin values:";
258  for (it = php.phibin.begin(), i = 0; it != php.phibin.end(); ++it)
259  ss6 << " [" << ++i << "] = " << convertRadToDeg(*it);
260  edm::LogVerbatim("HCalGeom") << ss6.str();
261  std::stringstream ss7;
262  ss7 << "HcalParametersFromDD: " << php.phitable.size() << " phitable values:";
263  for (it = php.phitable.begin(), i = 0; it != php.phitable.end(); ++it)
264  ss7 << " [" << ++i << "] = " << convertRadToDeg(*it);
265  edm::LogVerbatim("HCalGeom") << ss7.str();
266  edm::LogVerbatim("HCalGeom") << "HcalParametersFromDD: " << php.layerGroupEtaSim.size() << " layerGroupEtaSim blocks"
267  << std::endl;
268  std::vector<int>::const_iterator kt;
269  for (unsigned int k = 0; k < php.layerGroupEtaSim.size(); ++k) {
270  std::stringstream ss8;
271  ss8 << "layerGroupEtaSim[" << k << "] Layer " << php.layerGroupEtaSim[k].layer;
272  for (kt = php.layerGroupEtaSim[k].layerGroup.begin(), i = 0; kt != php.layerGroupEtaSim[k].layerGroup.end(); ++kt)
273  ss8 << " " << ++i << ":" << (*kt);
274  edm::LogVerbatim("HCalGeom") << ss8.str();
275  }
276  std::stringstream ss8;
277  ss8 << "HcalParametersFromDD: " << php.etaMin.size() << " etaMin values:";
278  for (kt = php.etaMin.begin(), i = 0; kt != php.etaMin.end(); ++kt)
279  ss8 << " [" << ++i << "] = " << (*kt);
280  edm::LogVerbatim("HCalGeom") << ss8.str();
281  std::stringstream ss9;
282  ss9 << "HcalParametersFromDD: " << php.etaMax.size() << " etaMax values:";
283  for (kt = php.etaMax.begin(), i = 0; kt != php.etaMax.end(); ++kt)
284  ss9 << " [" << ++i << "] = " << (*kt);
285  edm::LogVerbatim("HCalGeom") << ss9.str();
286  std::stringstream ss10;
287  ss10 << "HcalParametersFromDD: " << php.etaRange.size() << " etaRange values:";
288  for (it = php.etaRange.begin(), i = 0; it != php.etaRange.end(); ++it)
289  ss10 << " [" << ++i << "] = " << (*it);
290  edm::LogVerbatim("HCalGeom") << ss10.str();
291  std::stringstream ss11;
292  ss11 << "HcalParametersFromDD: " << php.gparHF.size() << " gparHF values:";
293  for (it = php.gparHF.begin(), i = 0; it != php.gparHF.end(); ++it)
294  ss11 << " [" << ++i << "] = " << convertMmToCm(*it);
295  edm::LogVerbatim("HCalGeom") << ss11.str();
296  std::stringstream ss12;
297  ss12 << "HcalParametersFromDD: " << php.noff.size() << " noff values:";
298  for (kt = php.noff.begin(), i = 0; kt != php.noff.end(); ++kt)
299  ss12 << " [" << ++i << "] = " << (*kt);
300  edm::LogVerbatim("HCalGeom") << ss12.str();
301  std::stringstream ss13;
302  ss13 << "HcalParametersFromDD: " << php.Layer0Wt.size() << " Layer0Wt values:";
303  for (it = php.Layer0Wt.begin(), i = 0; it != php.Layer0Wt.end(); ++it)
304  ss13 << " [" << ++i << "] = " << (*it);
305  edm::LogVerbatim("HCalGeom") << ss13.str();
306  std::stringstream ss14;
307  ss14 << "HcalParametersFromDD: " << php.HBGains.size() << " Shift/Gains values for HB:";
308  for (unsigned k = 0; k < php.HBGains.size(); ++k)
309  ss14 << " [" << k << "] = " << php.HBShift[k] << ":" << php.HBGains[k];
310  edm::LogVerbatim("HCalGeom") << ss14.str();
311  std::stringstream ss15;
312  ss15 << "HcalParametersFromDD: " << php.HEGains.size() << " Shift/Gains values for HE:";
313  for (unsigned k = 0; k < php.HEGains.size(); ++k)
314  ss15 << " [" << k << "] = " << php.HEShift[k] << ":" << php.HEGains[k];
315  edm::LogVerbatim("HCalGeom") << ss15.str();
316  std::stringstream ss16;
317  ss16 << "HcalParametersFromDD: " << php.HFGains.size() << " Shift/Gains values for HF:";
318  for (unsigned k = 0; k < php.HFGains.size(); ++k)
319  ss16 << " [" << k << "] = " << php.HFShift[k] << ":" << php.HFGains[k];
320  edm::LogVerbatim("HCalGeom") << ss16.str();
321  std::stringstream ss17;
322  ss17 << "HcalParametersFromDD: " << php.etagroup.size() << " etagroup values:";
323  for (kt = php.etagroup.begin(), i = 0; kt != php.etagroup.end(); ++kt)
324  ss17 << " [" << ++i << "] = " << (*kt);
325  edm::LogVerbatim("HCalGeom") << ss17.str();
326  std::stringstream ss18;
327  ss18 << "HcalParametersFromDD: " << php.phigroup.size() << " phigroup values:";
328  for (kt = php.phigroup.begin(), i = 0; kt != php.phigroup.end(); ++kt)
329  ss18 << " [" << ++i << "] = " << (*kt);
330  edm::LogVerbatim("HCalGeom") << ss18.str();
331  edm::LogVerbatim("HCalGeom") << "HcalParametersFromDD: " << php.layerGroupEtaRec.size() << " layerGroupEtaRec blocks";
332  for (unsigned int k = 0; k < php.layerGroupEtaRec.size(); ++k) {
333  std::stringstream ss19;
334  ss19 << "layerGroupEtaRec[" << k << "] Layer " << php.layerGroupEtaRec[k].layer;
335  for (kt = php.layerGroupEtaRec[k].layerGroup.begin(), i = 0; kt != php.layerGroupEtaRec[k].layerGroup.end(); ++kt)
336  ss19 << " " << ++i << ":" << (*kt);
337  edm::LogVerbatim("HCalGeom") << ss19.str();
338  }
339  edm::LogVerbatim("HCalGeom") << "HcalParametersFromDD: (topology|trigger)Mode " << std::hex << php.topologyMode
340  << std::dec;
341 #endif
342 
343  return true;
344 }

References geant_units::operators::convertMmToCm(), angle_units::operators::convertRadToDeg(), TauDecayModes::dec, HcalParameters::etagroup, HcalParameters::etaMax, HcalParameters::etaMin, HcalParameters::etaRange, HcalParameters::etaTable, HcalParameters::etaTableHF, HcalParameters::gparHF, HcalParameters::HBGains, HcalParameters::HBShift, HcalParameters::HEGains, HcalParameters::HEShift, HcalParameters::HFGains, HcalParameters::HFShift, mps_fire::i, dqmdumpme::k, HcalParameters::Layer0Wt, HcalParameters::layerGroupEtaRec, HcalParameters::layerGroupEtaSim, dqm-mbProfile::log, HcalParameters::maxDepth, HcalParameters::modHB, HcalParameters::modHE, HcalParameters::noff, HcalParameters::phibin, HcalParameters::phigroup, HcalParameters::phioff, HcalParameters::phitable, HcalParameters::rTable, funct::tan(), and HcalParameters::topologyMode.

◆ rescale()

void HcalParametersFromDD::rescale ( std::vector< double > &  v,
const double  s 
)
private

Definition at line 346 of file HcalParametersFromDD.cc.

346  {
347  std::for_each(v.begin(), v.end(), [s](double& n) { n *= s; });
348 }

References dqmiodumpmetadata::n, alignCSCRings::s, and findQualityFiles::v.

HcalParameters::LayerItem
Definition: HcalParameters.h:11
HcalParameters::HFGains
std::vector< double > HFGains
Definition: HcalParameters.h:44
mps_fire.i
i
Definition: mps_fire.py:428
HcalParameters::maxDepth
std::vector< int > maxDepth
Definition: HcalParameters.h:48
HcalParameters::etagroup
std::vector< int > etagroup
Definition: HcalParameters.h:61
dqmiodumpmetadata.n
n
Definition: dqmiodumpmetadata.py:28
HcalParameters::etaTable
std::vector< double > etaTable
Definition: HcalParameters.h:35
HcalParameters::LayerItem::layer
unsigned int layer
Definition: HcalParameters.h:12
angle_units::operators::convertRadToDeg
constexpr NumType convertRadToDeg(NumType radians)
Definition: angle_units.h:21
HcalParameters::HBGains
std::vector< double > HBGains
Definition: HcalParameters.h:42
HcalParameters::etaTableHF
std::vector< double > etaTableHF
Definition: HcalParameters.h:45
DDCompactView::vector
std::vector< double > const & vector(std::string_view iKey) const
returns an empty container if not found
Definition: DDCompactView.cc:67
cms::DDFilteredView
Definition: DDFilteredView.h:70
findQualityFiles.v
v
Definition: findQualityFiles.py:179
HcalParameters::topologyMode
int topologyMode
Definition: HcalParameters.h:64
convertSQLiteXML.ok
bool ok
Definition: convertSQLiteXML.py:98
HcalParameters::layerGroupEtaSim
std::vector< LayerItem > layerGroupEtaSim
Definition: HcalParameters.h:63
HcalParameters::etaMax
std::vector< int > etaMax
Definition: HcalParameters.h:55
alignCSCRings.s
s
Definition: alignCSCRings.py:92
cms::DDFilter
Definition: DDFilteredView.h:59
HcalParametersFromDD::build
bool build(const DDCompactView *, HcalParameters &)
Definition: HcalParametersFromDD.cc:56
HcalParameters::rHO
std::vector< double > rHO
Definition: HcalParameters.h:32
HcalParameters::LayerItem::layerGroup
std::vector< int > layerGroup
Definition: HcalParameters.h:13
pfDeepBoostedJetPreprocessParams_cfi.sv
sv
Definition: pfDeepBoostedJetPreprocessParams_cfi.py:352
HcalParameters::phitable
std::vector< double > phitable
Definition: HcalParameters.h:38
relativeConstraints.geom
geom
Definition: relativeConstraints.py:72
HcalParameters::layerGroupEtaRec
std::vector< LayerItem > layerGroupEtaRec
Definition: HcalParameters.h:63
dqmdumpme.k
k
Definition: dqmdumpme.py:60
ALCARECOTkAlBeamHalo_cff.filter
filter
Definition: ALCARECOTkAlBeamHalo_cff.py:27
HcalParameters::etaRange
std::vector< double > etaRange
Definition: HcalParameters.h:39
HcalParameters::dzVcal
double dzVcal
Definition: HcalParameters.h:46
HcalParameters::modHB
std::vector< int > modHB
Definition: HcalParameters.h:49
HcalParameters::modHE
std::vector< int > modHE
Definition: HcalParameters.h:50
HcalParameters::rTable
std::vector< double > rTable
Definition: HcalParameters.h:36
HcalParametersFromDD::rescale
void rescale(std::vector< double > &, const double s)
Definition: HcalParametersFromDD.cc:346
HcalGeomParameters::k_ScaleFromDDDToG4
static constexpr double k_ScaleFromDDDToG4
Definition: HcalGeomParameters.h:31
HcalGeomParameters::k_ScaleFromDD4HepToG4
static constexpr double k_ScaleFromDD4HepToG4
Definition: HcalGeomParameters.h:35
funct::tan
Tan< T >::type tan(const T &t)
Definition: Tan.h:22
DDSpecificsHasNamedValueFilter
Definition: DDFilter.h:60
HcalParameters::phioff
std::vector< double > phioff
Definition: HcalParameters.h:34
HcalParameters::phigroup
std::vector< int > phigroup
Definition: HcalParameters.h:62
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
cms::DDCompactView::getVector
std::vector< T > getVector(const std::string &) const
HcalParameters::HFShift
std::vector< int > HFShift
Definition: HcalParameters.h:59
HcalParameters::Layer0Wt
std::vector< double > Layer0Wt
Definition: HcalParameters.h:41
HcalParameters::noff
std::vector< int > noff
Definition: HcalParameters.h:56
edm::LogVerbatim
Log< level::Info, true > LogVerbatim
Definition: MessageLogger.h:128
Exception
Definition: hltDiff.cc:245
HcalParameters::HBShift
std::vector< int > HBShift
Definition: HcalParameters.h:57
dqm-mbProfile.log
log
Definition: dqm-mbProfile.py:17
DDFilteredView
Definition: DDFilteredView.h:20
geant_units::operators::convertMmToCm
constexpr NumType convertMmToCm(NumType millimeters)
Definition: GeantUnits.h:63
HcalParameters::HEShift
std::vector< int > HEShift
Definition: HcalParameters.h:58
HcalParameters::phibin
std::vector< double > phibin
Definition: HcalParameters.h:37
dbl_to_int
std::vector< int > dbl_to_int(const std::vector< double > &vecdbl)
Converts a std::vector of doubles to a std::vector of int.
Definition: DDutils.h:7
HcalParameters::HEGains
std::vector< double > HEGains
Definition: HcalParameters.h:43
HcalParameters::etaMin
std::vector< int > etaMin
Definition: HcalParameters.h:54
HcalParameters::gparHF
std::vector< double > gparHF
Definition: HcalParameters.h:40
cms::DDCompactView::get
T const & get(const std::string &) const
edm::Log
Definition: MessageLogger.h:70
DDsvalues_type
std::vector< std::pair< unsigned int, DDValue > > DDsvalues_type
Definition: DDsvalues.h:12
TauDecayModes.dec
dec
Definition: TauDecayModes.py:142