CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes
HcalDbService Class Reference

#include <HcalDbService.h>

Public Member Functions

const HcalPedestalgetEffectivePedestal (const HcalGenericDetId &fId) const
 
const HcalPedestalWidthgetEffectivePedestalWidth (const HcalGenericDetId &fId) const
 
const HcalGaingetGain (const HcalGenericDetId &fId) const
 
const HcalGainWidthgetGainWidth (const HcalGenericDetId &fId) const
 
const HcalCalibrationsgetHcalCalibrations (const HcalGenericDetId &fId) const
 
const HcalCalibrationsSetgetHcalCalibrationsSet () const
 
const HcalCalibrationWidthsgetHcalCalibrationWidths (const HcalGenericDetId &fId) const
 
const HcalCalibrationWidthsSetgetHcalCalibrationWidthsSet () const
 
const HcalChannelStatusgetHcalChannelStatus (const HcalGenericDetId &fId) const
 
const HcalQIECodergetHcalCoder (const HcalGenericDetId &fId) const
 
const HcalFrontEndMapgetHcalFrontEndMapping () const
 
const HcalL1TriggerObjectgetHcalL1TriggerObject (const HcalGenericDetId &fId) const
 
const HcalLUTCorrgetHcalLUTCorr (const HcalGenericDetId &fId) const
 
const HcalLutMetadatagetHcalLutMetadata () const
 
const HcalElectronicsMapgetHcalMapping () const
 
const HcalMCParamgetHcalMCParam (const HcalGenericDetId &fId) const
 
const HcalPFCorrgetHcalPFCorr (const HcalGenericDetId &fId) const
 
const HcalQIETypegetHcalQIEType (const HcalGenericDetId &fId) const
 
const HcalRecoParamgetHcalRecoParam (const HcalGenericDetId &fId) const
 
const HcalRespCorrgetHcalRespCorr (const HcalGenericDetId &fId) const
 
const HcalQIEShapegetHcalShape (const HcalGenericDetId &fId) const
 
const HcalQIEShapegetHcalShape (const HcalQIECoder *coder) const
 
const HcalSiPMCharacteristicsgetHcalSiPMCharacteristics () const
 
const HcalSiPMParametergetHcalSiPMParameter (const HcalGenericDetId &fId) const
 
const HcalTimeCorrgetHcalTimeCorr (const HcalGenericDetId &fId) const
 
const HcalTPChannelParametergetHcalTPChannelParameter (const HcalGenericDetId &fId) const
 
const HcalTPParametersgetHcalTPParameters () const
 
const HcalZSThresholdgetHcalZSThreshold (const HcalGenericDetId &fId) const
 
const HcalPedestalgetPedestal (const HcalGenericDetId &fId) const
 
const HcalPedestalWidthgetPedestalWidth (const HcalGenericDetId &fId) const
 
const HcalTopologygetTopologyUsed () const
 
 HcalDbService ()
 
void setData (const HcalChannelQuality *fItem)
 
void setData (const HcalElectronicsMap *fItem)
 
void setData (const HcalFrontEndMap *fItem)
 
void setData (const HcalGains *fItem)
 
void setData (const HcalGainWidths *fItem)
 
void setData (const HcalL1TriggerObjects *fItem)
 
void setData (const HcalLUTCorrs *fItem)
 
void setData (const HcalLutMetadata *fItem)
 
void setData (const HcalMCParams *fItem)
 
void setData (const HcalPedestals *fItem, bool eff=false)
 
void setData (const HcalPedestalWidths *fItem, bool eff=false)
 
void setData (const HcalPFCorrs *fItem)
 
void setData (const HcalQIEData *fItem)
 
void setData (const HcalQIETypes *fItem)
 
void setData (const HcalRecoParams *fItem)
 
void setData (const HcalRespCorrs *fItem)
 
void setData (const HcalSiPMCharacteristics *fItem)
 
void setData (const HcalSiPMParameters *fItem)
 
void setData (const HcalTimeCorrs *fItem)
 
void setData (const HcalTPChannelParameters *fItem)
 
void setData (const HcalTPParameters *fItem)
 
void setData (const HcalZSThresholds *fItem)
 
 ~HcalDbService ()
 

Private Member Functions

void buildCalibrations () const
 
void buildCalibWidths () const
 
bool convertPedestals (const HcalGenericDetId &fId, const HcalPedestal *pedestal, float *pedTrue, bool inADC) const
 
bool convertPedestalWidths (const HcalGenericDetId &fId, const HcalPedestalWidth *pedestalwidth, const HcalPedestal *pedestal, float *pedTrueWidth, bool inADC) const
 
bool makeHcalCalibration (const HcalGenericDetId &fId, HcalCalibrations *fObject, bool pedestalInADC, bool effPedestalInADC) const
 
bool makeHcalCalibrationWidth (const HcalGenericDetId &fId, HcalCalibrationWidths *fObject, bool pedestalInADC, bool effPedestalInADC) const
 

Private Attributes

std::atomic< HcalCalibrationsSet const * > mCalibSet
 
std::atomic< HcalCalibrationWidthsSet const * > mCalibWidthSet
 
const HcalChannelQualitymChannelQuality
 
const HcalPedestalsmEffectivePedestals
 
const HcalPedestalWidthsmEffectivePedestalWidths
 
const HcalElectronicsMapmElectronicsMap
 
const HcalFrontEndMapmFrontEndMap
 
const HcalGainsmGains
 
const HcalGainWidthsmGainWidths
 
const HcalL1TriggerObjectsmL1TriggerObjects
 
const HcalLUTCorrsmLUTCorrs
 
const HcalLutMetadatamLutMetadata
 
const HcalMCParamsmMCParams
 
const HcalPedestalsmPedestals
 
const HcalPedestalWidthsmPedestalWidths
 
const HcalPFCorrsmPFCorrs
 
const HcalQIEDatamQIEData
 
const HcalQIETypesmQIETypes
 
const HcalRecoParamsmRecoParams
 
const HcalRespCorrsmRespCorrs
 
const HcalSiPMCharacteristicsmSiPMCharacteristics
 
const HcalSiPMParametersmSiPMParameters
 
const HcalTimeCorrsmTimeCorrs
 
const HcalTPChannelParametersmTPChannelParameters
 
const HcalTPParametersmTPParameters
 
const HcalZSThresholdsmZSThresholds
 

Detailed Description

Definition at line 26 of file HcalDbService.h.

Constructor & Destructor Documentation

◆ HcalDbService()

HcalDbService::HcalDbService ( )

Definition at line 16 of file HcalDbService.cc.

17  : mPedestals(nullptr),
18  mPedestalWidths(nullptr),
19  mEffectivePedestals(nullptr),
20  mEffectivePedestalWidths(nullptr),
21  mGains(nullptr),
22  mGainWidths(nullptr),
23  mQIEData(nullptr),
24  mQIETypes(nullptr),
25  mElectronicsMap(nullptr),
26  mFrontEndMap(nullptr),
27  mRespCorrs(nullptr),
28  mL1TriggerObjects(nullptr),
29  mTimeCorrs(nullptr),
30  mLUTCorrs(nullptr),
31  mPFCorrs(nullptr),
32  mLutMetadata(nullptr),
33  mSiPMParameters(nullptr),
34  mSiPMCharacteristics(nullptr),
35  mTPChannelParameters(nullptr),
36  mTPParameters(nullptr),
37  mMCParams(nullptr),
38  mRecoParams(nullptr),
39  mCalibSet(nullptr),
40  mCalibWidthSet(nullptr) {}

◆ ~HcalDbService()

HcalDbService::~HcalDbService ( )

Definition at line 42 of file HcalDbService.cc.

42  {
43  delete mCalibSet.load();
44  delete mCalibWidthSet.load();
45 }

References mCalibSet, and mCalibWidthSet.

Member Function Documentation

◆ buildCalibrations()

void HcalDbService::buildCalibrations ( ) const
private

Definition at line 85 of file HcalDbService.cc.

85  {
86  // we use the set of ids for pedestals as the master list
87  if ((!mPedestals) || (!mEffectivePedestals) || (!mGains) || (!mQIEData) || (!mQIETypes) || (!mRespCorrs) ||
88  (!mTimeCorrs) || (!mLUTCorrs))
89  return;
90 
91  if (!mCalibSet.load(std::memory_order_acquire)) {
92  auto ptr = new HcalCalibrationsSet();
93 
94  std::vector<DetId> ids = mPedestals->getAllChannels();
95  bool pedsInADC = mPedestals->isADC();
96  bool effPedsInADC = mEffectivePedestals->isADC();
97  // loop!
98  HcalCalibrations tool;
99 
100  // std::cout << " length of id-vector: " << ids.size() << std::endl;
101  for (std::vector<DetId>::const_iterator id = ids.begin(); id != ids.end(); ++id) {
102  // make
103  bool ok = makeHcalCalibration(*id, &tool, pedsInADC, effPedsInADC);
104  // store
105  if (ok)
106  ptr->setCalibrations(*id, tool);
107  // std::cout << "Hcal calibrations built... detid no. " << HcalGenericDetId(*id) << std::endl;
108  }
109  HcalCalibrationsSet const* cptr = ptr;
110  HcalCalibrationsSet const* expect = nullptr;
111  bool exchanged = mCalibSet.compare_exchange_strong(expect, cptr, std::memory_order_acq_rel);
112  if (!exchanged) {
113  delete ptr;
114  }
115  }
116 }

References HcalCondObjectContainer< Item >::getAllChannels(), triggerObjects_cff::id, HcalPedestals::isADC(), makeHcalCalibration(), mCalibSet, mEffectivePedestals, mGains, mLUTCorrs, mPedestals, mQIEData, mQIETypes, mRespCorrs, mTimeCorrs, and convertSQLiteXML::ok.

Referenced by getHcalCalibrations(), and getHcalCalibrationsSet().

◆ buildCalibWidths()

void HcalDbService::buildCalibWidths ( ) const
private

Definition at line 118 of file HcalDbService.cc.

118  {
119  // we use the set of ids for pedestal widths as the master list
121  return;
122 
123  if (!mCalibWidthSet.load(std::memory_order_acquire)) {
124  auto ptr = new HcalCalibrationWidthsSet();
125 
126  const std::vector<DetId>& ids = mPedestalWidths->getAllChannels();
127  bool pedsInADC = mPedestalWidths->isADC();
128  bool effPedsInADC = mEffectivePedestalWidths->isADC();
129  // loop!
131 
132  // std::cout << " length of id-vector: " << ids.size() << std::endl;
133  for (std::vector<DetId>::const_iterator id = ids.begin(); id != ids.end(); ++id) {
134  // make
135  bool ok = makeHcalCalibrationWidth(*id, &tool, pedsInADC, effPedsInADC);
136  // store
137  if (ok)
138  ptr->setCalibrationWidths(*id, tool);
139  // std::cout << "Hcal calibrations built... detid no. " << HcalGenericDetId(*id) << std::endl;
140  }
141  HcalCalibrationWidthsSet const* cptr = ptr;
142  HcalCalibrationWidthsSet const* expect = nullptr;
143  bool exchanged = mCalibWidthSet.compare_exchange_strong(expect, cptr, std::memory_order_acq_rel);
144  if (!exchanged) {
145  delete ptr;
146  }
147  }
148 }

References HcalCondObjectContainer< Item >::getAllChannels(), triggerObjects_cff::id, HcalPedestalWidths::isADC(), makeHcalCalibrationWidth(), mCalibWidthSet, mEffectivePedestalWidths, mGainWidths, mPedestalWidths, mQIEData, and convertSQLiteXML::ok.

Referenced by getHcalCalibrationWidths(), and getHcalCalibrationWidthsSet().

◆ convertPedestals()

bool HcalDbService::convertPedestals ( const HcalGenericDetId fId,
const HcalPedestal pedestal,
float *  pedTrue,
bool  inADC 
) const
private

Definition at line 150 of file HcalDbService.cc.

153  {
154  if (!pedestal)
155  return false;
156  const HcalQIECoder* coder = nullptr;
157  const HcalQIEShape* shape = nullptr;
158  if (inADC) {
159  coder = getHcalCoder(fId);
160  shape = getHcalShape(coder);
161  if (!coder || !shape)
162  return false;
163  }
164  for (int i = 0; i < 4; i++) {
165  float x = pedestal->getValues()[i];
166  if (!inADC) {
167  pedTrue[i] = x;
168  continue;
169  }
170  int x1 = (int)std::floor(x);
171  int x2 = (int)std::floor(x + 1);
172  float y2 = coder->charge(*shape, x2, i);
173  float y1 = coder->charge(*shape, x1, i);
174  pedTrue[i] = (y2 - y1) * (x - x1) + y1;
175  }
176  return true;
177 }

References HcalQIECoder::charge(), getHcalCoder(), getHcalShape(), mps_fire::i, createfilelist::int, EcalCondDBWriter_cfi::pedestal, x, testProducerWithPsetDescEmpty_cfi::x1, testProducerWithPsetDescEmpty_cfi::x2, testProducerWithPsetDescEmpty_cfi::y1, and testProducerWithPsetDescEmpty_cfi::y2.

Referenced by makeHcalCalibration().

◆ convertPedestalWidths()

bool HcalDbService::convertPedestalWidths ( const HcalGenericDetId fId,
const HcalPedestalWidth pedestalwidth,
const HcalPedestal pedestal,
float *  pedTrueWidth,
bool  inADC 
) const
private

Definition at line 206 of file HcalDbService.cc.

210  {
211  if (!pedestalwidth)
212  return false;
213  const HcalQIECoder* coder = nullptr;
214  const HcalQIEShape* shape = nullptr;
215  if (inADC) {
216  coder = getHcalCoder(fId);
217  shape = getHcalShape(coder);
218  if (!coder || !shape)
219  return false;
220  }
221  for (int i = 0; i < 4; i++) {
222  float x = pedestalwidth->getWidth(i);
223  if (!inADC) {
224  pedTrueWidth[i] = x;
225  continue;
226  }
227  float y = pedestal->getValues()[i];
228  unsigned x1 = static_cast<unsigned>(std::floor(y));
229  unsigned x2 = static_cast<unsigned>(std::floor(y + 1.));
230  unsigned iun = static_cast<unsigned>(i);
231  float y1 = coder->charge(*shape, x1, iun);
232  float y2 = coder->charge(*shape, x2, iun);
233  pedTrueWidth[i] = (y2 - y1) * x;
234  }
235  return true;
236 }

References HcalQIECoder::charge(), getHcalCoder(), getHcalShape(), HcalPedestalWidth::getWidth(), mps_fire::i, EcalCondDBWriter_cfi::pedestal, x, testProducerWithPsetDescEmpty_cfi::x1, testProducerWithPsetDescEmpty_cfi::x2, y, testProducerWithPsetDescEmpty_cfi::y1, and testProducerWithPsetDescEmpty_cfi::y2.

Referenced by makeHcalCalibrationWidth().

◆ getEffectivePedestal()

const HcalPedestal * HcalDbService::getEffectivePedestal ( const HcalGenericDetId fId) const

Definition at line 291 of file HcalDbService.cc.

291  {
292  if (mEffectivePedestals) {
293  return mEffectivePedestals->getValues(fId);
294  }
295  return nullptr;
296 }

References HcalCondObjectContainer< Item >::getValues(), and mEffectivePedestals.

Referenced by makeHcalCalibration(), and makeHcalCalibrationWidth().

◆ getEffectivePedestalWidth()

const HcalPedestalWidth * HcalDbService::getEffectivePedestalWidth ( const HcalGenericDetId fId) const

Definition at line 298 of file HcalDbService.cc.

298  {
300  return mEffectivePedestalWidths->getValues(fId);
301  }
302  return nullptr;
303 }

References HcalCondObjectContainer< Item >::getValues(), and mEffectivePedestalWidths.

Referenced by makeHcalCalibrationWidth().

◆ getGain()

const HcalGain * HcalDbService::getGain ( const HcalGenericDetId fId) const

Definition at line 305 of file HcalDbService.cc.

305  {
306  if (mGains) {
307  return mGains->getValues(fId);
308  }
309  return nullptr;
310 }

References HcalCondObjectContainer< Item >::getValues(), and mGains.

Referenced by HFSimParameters::fCtoGeV(), HcalSimParameters::fCtoGeV(), HPDIonFeedbackSim::fCtoGeV(), makeHcalCalibration(), and HcalDigisValidation::reco().

◆ getGainWidth()

const HcalGainWidth * HcalDbService::getGainWidth ( const HcalGenericDetId fId) const

◆ getHcalCalibrations()

const HcalCalibrations & HcalDbService::getHcalCalibrations ( const HcalGenericDetId fId) const

Definition at line 65 of file HcalDbService.cc.

65  {
67  return (*mCalibSet.load(std::memory_order_acquire)).getCalibrations(fId);
68 }

References buildCalibrations(), and mCalibSet.

Referenced by HcalAmplifier::addPedestals(), GlobalDigisProducer::fillHCal(), GlobalDigisAnalyzer::fillHCal(), HcalFeatureHFEMBit::getE(), and HcalDigisValidation::reco().

◆ getHcalCalibrationsSet()

const HcalCalibrationsSet * HcalDbService::getHcalCalibrationsSet ( ) const

Definition at line 75 of file HcalDbService.cc.

75  {
77  return mCalibSet.load(std::memory_order_acquire);
78 }

References buildCalibrations(), and mCalibSet.

Referenced by edmtest::HcalDumpConditions::analyze().

◆ getHcalCalibrationWidths()

const HcalCalibrationWidths & HcalDbService::getHcalCalibrationWidths ( const HcalGenericDetId fId) const

Definition at line 70 of file HcalDbService.cc.

70  {
72  return (*mCalibWidthSet.load(std::memory_order_acquire)).getCalibrationWidths(fId);
73 }

References buildCalibWidths(), and mCalibWidthSet.

Referenced by HcalAmplifier::addPedestals().

◆ getHcalCalibrationWidthsSet()

const HcalCalibrationWidthsSet * HcalDbService::getHcalCalibrationWidthsSet ( ) const

Definition at line 80 of file HcalDbService.cc.

80  {
82  return mCalibWidthSet.load(std::memory_order_acquire);
83 }

References buildCalibWidths(), and mCalibWidthSet.

Referenced by edmtest::HcalDumpConditions::analyze().

◆ getHcalChannelStatus()

const HcalChannelStatus * HcalDbService::getHcalChannelStatus ( const HcalGenericDetId fId) const

Definition at line 351 of file HcalDbService.cc.

351  {
352  return mChannelQuality->getValues(fId);
353 }

References HcalCondObjectContainer< Item >::getValues(), and mChannelQuality.

◆ getHcalCoder()

const HcalQIECoder * HcalDbService::getHcalCoder ( const HcalGenericDetId fId) const

◆ getHcalFrontEndMapping()

const HcalFrontEndMap * HcalDbService::getHcalFrontEndMapping ( ) const

Definition at line 345 of file HcalDbService.cc.

345 { return mFrontEndMap; }

References mFrontEndMap.

◆ getHcalL1TriggerObject()

const HcalL1TriggerObject * HcalDbService::getHcalL1TriggerObject ( const HcalGenericDetId fId) const

Definition at line 347 of file HcalDbService.cc.

347  {
348  return mL1TriggerObjects->getValues(fId);
349 }

References HcalCondObjectContainer< Item >::getValues(), and mL1TriggerObjects.

◆ getHcalLUTCorr()

const HcalLUTCorr * HcalDbService::getHcalLUTCorr ( const HcalGenericDetId fId) const

Definition at line 366 of file HcalDbService.cc.

366  {
367  if (mLUTCorrs) {
368  return mLUTCorrs->getValues(fId);
369  }
370  return nullptr;
371 }

References HcalCondObjectContainer< Item >::getValues(), and mLUTCorrs.

Referenced by makeHcalCalibration().

◆ getHcalLutMetadata()

const HcalLutMetadata * HcalDbService::getHcalLutMetadata ( ) const

Definition at line 380 of file HcalDbService.cc.

380 { return mLutMetadata; }

References mLutMetadata.

◆ getHcalMapping()

const HcalElectronicsMap * HcalDbService::getHcalMapping ( ) const

◆ getHcalMCParam()

const HcalMCParam * HcalDbService::getHcalMCParam ( const HcalGenericDetId fId) const

Definition at line 398 of file HcalDbService.cc.

398  {
399  if (mMCParams) {
400  return mMCParams->getValues(fId);
401  }
402  return nullptr;
403 }

References HcalCondObjectContainer< Item >::getValues(), and mMCParams.

Referenced by HcalShapes::shape(), HcalPulseShapes::shape(), and HcalSimParameters::signalShape().

◆ getHcalPFCorr()

const HcalPFCorr * HcalDbService::getHcalPFCorr ( const HcalGenericDetId fId) const

Definition at line 373 of file HcalDbService.cc.

373  {
374  if (mPFCorrs) {
375  return mPFCorrs->getValues(fId);
376  }
377  return nullptr;
378 }

References HcalCondObjectContainer< Item >::getValues(), and mPFCorrs.

◆ getHcalQIEType()

const HcalQIEType * HcalDbService::getHcalQIEType ( const HcalGenericDetId fId) const

Definition at line 263 of file HcalDbService.cc.

263  {
264  if (mQIETypes) {
265  return mQIETypes->getValues(fId);
266  }
267  return nullptr;
268 }

References HcalCondObjectContainer< Item >::getValues(), and mQIETypes.

◆ getHcalRecoParam()

const HcalRecoParam * HcalDbService::getHcalRecoParam ( const HcalGenericDetId fId) const

Definition at line 405 of file HcalDbService.cc.

405  {
406  if (mRecoParams) {
407  return mRecoParams->getValues(fId);
408  }
409  return nullptr;
410 }

References HcalCondObjectContainer< Item >::getValues(), and mRecoParams.

Referenced by HcalPulseShapes::shapeForReco().

◆ getHcalRespCorr()

const HcalRespCorr * HcalDbService::getHcalRespCorr ( const HcalGenericDetId fId) const

Definition at line 270 of file HcalDbService.cc.

270  {
271  if (mRespCorrs) {
272  return mRespCorrs->getValues(fId);
273  }
274  return nullptr;
275 }

References HcalCondObjectContainer< Item >::getValues(), and mRespCorrs.

Referenced by PFCandidateRecalibrator::beginRun(), and makeHcalCalibration().

◆ getHcalShape() [1/2]

const HcalQIEShape * HcalDbService::getHcalShape ( const HcalGenericDetId fId) const

Definition at line 326 of file HcalDbService.cc.

326  {
327  if (mQIEData && mQIETypes) {
328  //currently 3 types of QIEs exist: QIE8, QIE10, QIE11
329  int qieType = mQIETypes->getValues(fId)->getValue();
330  //QIE10 and QIE11 have same shape (ADC ladder)
331  if (qieType > 0)
332  qieType = 1;
333  return &mQIEData->getShape(qieType);
334  }
335  return nullptr;
336 }

References HcalQIEData::getShape(), HcalQIEType::getValue(), HcalCondObjectContainer< Item >::getValues(), mQIEData, and mQIETypes.

Referenced by HcalCoderFactory::coder(), convertPedestals(), convertPedestalWidths(), GlobalDigisProducer::fillHCal(), GlobalDigisAnalyzer::fillHCal(), HcalFeatureHFEMBit::getE(), getHcalShape(), HcalDigisValidation::reco(), and HcalSignalGenerator< HBHEDigitizerTraits >::samplesInPE().

◆ getHcalShape() [2/2]

const HcalQIEShape * HcalDbService::getHcalShape ( const HcalQIECoder coder) const

Definition at line 338 of file HcalDbService.cc.

338  {
339  HcalGenericDetId fId(coder->rawId());
340  return getHcalShape(fId);
341 }

References getHcalShape(), and HcalQIECoder::rawId().

◆ getHcalSiPMCharacteristics()

const HcalSiPMCharacteristics * HcalDbService::getHcalSiPMCharacteristics ( ) const

Definition at line 389 of file HcalDbService.cc.

389 { return mSiPMCharacteristics; }

References mSiPMCharacteristics.

◆ getHcalSiPMParameter()

const HcalSiPMParameter * HcalDbService::getHcalSiPMParameter ( const HcalGenericDetId fId) const

◆ getHcalTimeCorr()

const HcalTimeCorr * HcalDbService::getHcalTimeCorr ( const HcalGenericDetId fId) const

Definition at line 359 of file HcalDbService.cc.

359  {
360  if (mTimeCorrs) {
361  return mTimeCorrs->getValues(fId);
362  }
363  return nullptr;
364 }

References HcalCondObjectContainer< Item >::getValues(), and mTimeCorrs.

Referenced by makeHcalCalibration().

◆ getHcalTPChannelParameter()

const HcalTPChannelParameter * HcalDbService::getHcalTPChannelParameter ( const HcalGenericDetId fId) const

Definition at line 391 of file HcalDbService.cc.

391  {
392  if (mTPChannelParameters) {
393  return mTPChannelParameters->getValues(fId);
394  }
395  return nullptr;
396 }

References HcalCondObjectContainer< Item >::getValues(), and mTPChannelParameters.

Referenced by HcalTriggerPrimitiveAlgo::validChannel().

◆ getHcalTPParameters()

const HcalTPParameters * HcalDbService::getHcalTPParameters ( ) const

Definition at line 412 of file HcalDbService.cc.

412 { return mTPParameters; }

References mTPParameters.

Referenced by HcalTriggerPrimitiveAlgo::passTDC(), and HcalTriggerPrimitiveAlgo::run().

◆ getHcalZSThreshold()

const HcalZSThreshold * HcalDbService::getHcalZSThreshold ( const HcalGenericDetId fId) const

Definition at line 355 of file HcalDbService.cc.

355  {
356  return mZSThresholds->getValues(fId);
357 }

References HcalCondObjectContainer< Item >::getValues(), and mZSThresholds.

Referenced by HcalZSAlgoRealistic::keepMe().

◆ getPedestal()

const HcalPedestal * HcalDbService::getPedestal ( const HcalGenericDetId fId) const

Definition at line 277 of file HcalDbService.cc.

277  {
278  if (mPedestals) {
279  return mPedestals->getValues(fId);
280  }
281  return nullptr;
282 }

References HcalCondObjectContainer< Item >::getValues(), and mPedestals.

Referenced by PedestalTask::bookHistograms(), makeHcalCalibration(), makeHcalCalibrationWidth(), and HcalDigisValidation::reco().

◆ getPedestalWidth()

const HcalPedestalWidth * HcalDbService::getPedestalWidth ( const HcalGenericDetId fId) const

Definition at line 284 of file HcalDbService.cc.

284  {
285  if (mPedestalWidths) {
286  return mPedestalWidths->getValues(fId);
287  }
288  return nullptr;
289 }

References HcalCondObjectContainer< Item >::getValues(), and mPedestalWidths.

Referenced by makeHcalCalibrationWidth(), and HcalDigisValidation::reco().

◆ getTopologyUsed()

const HcalTopology * HcalDbService::getTopologyUsed ( ) const

Definition at line 47 of file HcalDbService.cc.

47  {
48  if (mPedestals && mPedestals->topo())
49  return mPedestals->topo();
51  return mEffectivePedestals->topo();
52  if (mGains && mGains->topo())
53  return mGains->topo();
54  if (mRespCorrs && mRespCorrs->topo())
55  return mRespCorrs->topo();
56  if (mQIETypes && mQIETypes->topo())
57  return mQIETypes->topo();
59  return mL1TriggerObjects->topo();
60  if (mLutMetadata && mLutMetadata->topo())
61  return mLutMetadata->topo();
62  return nullptr;
63 }

References mEffectivePedestals, mGains, mL1TriggerObjects, mLutMetadata, mPedestals, mQIETypes, mRespCorrs, and HcalCondObjectContainerBase::topo().

◆ makeHcalCalibration()

bool HcalDbService::makeHcalCalibration ( const HcalGenericDetId fId,
HcalCalibrations fObject,
bool  pedestalInADC,
bool  effPedestalInADC 
) const
private

Definition at line 179 of file HcalDbService.cc.

182  {
183  if (fObject) {
184  const HcalPedestal* pedestal = getPedestal(fId);
185  const HcalPedestal* effpedestal = getEffectivePedestal(fId);
186  const HcalGain* gain = getGain(fId);
187  const HcalRespCorr* respcorr = getHcalRespCorr(fId);
188  const HcalTimeCorr* timecorr = getHcalTimeCorr(fId);
189  const HcalLUTCorr* lutcorr = getHcalLUTCorr(fId);
190 
191  float pedTrue[4];
192  bool converted = convertPedestals(fId, pedestal, pedTrue, pedestalInADC);
193 
194  float effPedTrue[4];
195  bool effconverted = convertPedestals(fId, effpedestal, effPedTrue, effPedestalInADC);
196 
197  if (pedestal && effpedestal && converted && effconverted && gain && respcorr && timecorr && lutcorr) {
198  *fObject = HcalCalibrations(
199  gain->getValues(), pedTrue, effPedTrue, respcorr->getValue(), timecorr->getValue(), lutcorr->getValue());
200  return true;
201  }
202  }
203  return false;
204 }

References fileCollector2::converted, convertPedestals(), PedestalClient_cfi::gain, getEffectivePedestal(), getGain(), getHcalLUTCorr(), getHcalRespCorr(), getHcalTimeCorr(), getPedestal(), HcalRespCorr::getValue(), HcalTimeCorr::getValue(), HcalLUTCorr::getValue(), and EcalCondDBWriter_cfi::pedestal.

Referenced by buildCalibrations().

◆ makeHcalCalibrationWidth()

bool HcalDbService::makeHcalCalibrationWidth ( const HcalGenericDetId fId,
HcalCalibrationWidths fObject,
bool  pedestalInADC,
bool  effPedestalInADC 
) const
private

Definition at line 238 of file HcalDbService.cc.

241  {
242  if (fObject) {
243  const HcalPedestal* pedestal = getPedestal(fId);
244  const HcalPedestal* effpedestal = getEffectivePedestal(fId);
245 
246  const HcalPedestalWidth* pedestalwidth = getPedestalWidth(fId);
247  const HcalPedestalWidth* effpedestalwidth = getEffectivePedestalWidth(fId);
248  const HcalGainWidth* gainwidth = getGainWidth(fId);
249 
250  float pedTrueWidth[4];
251  bool converted = convertPedestalWidths(fId, pedestalwidth, pedestal, pedTrueWidth, pedestalInADC);
252 
253  float effPedTrueWidth[4];
254  bool effconverted = convertPedestalWidths(fId, effpedestalwidth, effpedestal, effPedTrueWidth, effPedestalInADC);
255  if (pedestalwidth && effpedestalwidth && gainwidth && converted && effconverted) {
256  *fObject = HcalCalibrationWidths(gainwidth->getValues(), pedTrueWidth, effPedTrueWidth);
257  return true;
258  }
259  }
260  return false;
261 }

References fileCollector2::converted, convertPedestalWidths(), getEffectivePedestal(), getEffectivePedestalWidth(), getGainWidth(), getPedestal(), getPedestalWidth(), HcalGainWidth::getValues(), and EcalCondDBWriter_cfi::pedestal.

Referenced by buildCalibWidths().

◆ setData() [1/22]

void HcalDbService::setData ( const HcalChannelQuality fItem)
inline

Definition at line 96 of file HcalDbService.h.

96 { mChannelQuality = fItem; }

References mChannelQuality.

◆ setData() [2/22]

void HcalDbService::setData ( const HcalElectronicsMap fItem)
inline

Definition at line 97 of file HcalDbService.h.

97 { mElectronicsMap = fItem; }

References mElectronicsMap.

◆ setData() [3/22]

void HcalDbService::setData ( const HcalFrontEndMap fItem)
inline

Definition at line 98 of file HcalDbService.h.

98 { mFrontEndMap = fItem; }

References mFrontEndMap.

◆ setData() [4/22]

void HcalDbService::setData ( const HcalGains fItem)
inline

Definition at line 79 of file HcalDbService.h.

79  {
80  mGains = fItem;
81  mCalibSet = nullptr;
82  }

References mCalibSet, and mGains.

◆ setData() [5/22]

void HcalDbService::setData ( const HcalGainWidths fItem)
inline

Definition at line 83 of file HcalDbService.h.

83  {
84  mGainWidths = fItem;
85  mCalibWidthSet = nullptr;
86  }

References mCalibWidthSet, and mGainWidths.

◆ setData() [6/22]

void HcalDbService::setData ( const HcalL1TriggerObjects fItem)
inline

Definition at line 108 of file HcalDbService.h.

108 { mL1TriggerObjects = fItem; }

References mL1TriggerObjects.

◆ setData() [7/22]

void HcalDbService::setData ( const HcalLUTCorrs fItem)
inline

Definition at line 109 of file HcalDbService.h.

109  {
110  mLUTCorrs = fItem;
111  mCalibSet = nullptr;
112  }

References mCalibSet, and mLUTCorrs.

◆ setData() [8/22]

void HcalDbService::setData ( const HcalLutMetadata fItem)
inline

Definition at line 114 of file HcalDbService.h.

114 { mLutMetadata = fItem; }

References mLutMetadata.

◆ setData() [9/22]

void HcalDbService::setData ( const HcalMCParams fItem)
inline

Definition at line 125 of file HcalDbService.h.

125 { mMCParams = fItem; }

References mMCParams.

◆ setData() [10/22]

void HcalDbService::setData ( const HcalPedestals fItem,
bool  eff = false 
)
inline

Definition at line 65 of file HcalDbService.h.

65  {
66  if (eff)
67  mEffectivePedestals = fItem;
68  else
69  mPedestals = fItem;
70  mCalibSet = nullptr;
71  }

References mCalibSet, mEffectivePedestals, and mPedestals.

◆ setData() [11/22]

void HcalDbService::setData ( const HcalPedestalWidths fItem,
bool  eff = false 
)
inline

Definition at line 72 of file HcalDbService.h.

72  {
73  if (eff)
75  else
76  mPedestalWidths = fItem;
77  mCalibWidthSet = nullptr;
78  }

References mCalibWidthSet, mEffectivePedestalWidths, and mPedestalWidths.

◆ setData() [12/22]

void HcalDbService::setData ( const HcalPFCorrs fItem)
inline

Definition at line 113 of file HcalDbService.h.

113 { mPFCorrs = fItem; }

References mPFCorrs.

◆ setData() [13/22]

void HcalDbService::setData ( const HcalQIEData fItem)
inline

Definition at line 87 of file HcalDbService.h.

87  {
88  mQIEData = fItem;
89  mCalibSet = nullptr;
90  mCalibWidthSet = nullptr;
91  }

References mCalibSet, mCalibWidthSet, and mQIEData.

◆ setData() [14/22]

void HcalDbService::setData ( const HcalQIETypes fItem)
inline

Definition at line 92 of file HcalDbService.h.

92  {
93  mQIETypes = fItem;
94  mCalibSet = nullptr;
95  }

References mCalibSet, and mQIETypes.

◆ setData() [15/22]

void HcalDbService::setData ( const HcalRecoParams fItem)
inline

Definition at line 126 of file HcalDbService.h.

126 { mRecoParams = fItem; }

References mRecoParams.

◆ setData() [16/22]

void HcalDbService::setData ( const HcalRespCorrs fItem)
inline

Definition at line 99 of file HcalDbService.h.

99  {
100  mRespCorrs = fItem;
101  mCalibSet = nullptr;
102  }

References mCalibSet, and mRespCorrs.

◆ setData() [17/22]

void HcalDbService::setData ( const HcalSiPMCharacteristics fItem)
inline

Definition at line 119 of file HcalDbService.h.

119 { mSiPMCharacteristics = fItem; }

References mSiPMCharacteristics.

◆ setData() [18/22]

void HcalDbService::setData ( const HcalSiPMParameters fItem)
inline

Definition at line 115 of file HcalDbService.h.

115  {
116  mSiPMParameters = fItem;
117  mCalibSet = nullptr;
118  }

References mCalibSet, and mSiPMParameters.

◆ setData() [19/22]

void HcalDbService::setData ( const HcalTimeCorrs fItem)
inline

Definition at line 103 of file HcalDbService.h.

103  {
104  mTimeCorrs = fItem;
105  mCalibSet = nullptr;
106  }

References mCalibSet, and mTimeCorrs.

◆ setData() [20/22]

void HcalDbService::setData ( const HcalTPChannelParameters fItem)
inline

Definition at line 120 of file HcalDbService.h.

120  {
121  mTPChannelParameters = fItem;
122  mCalibSet = nullptr;
123  }

References mCalibSet, and mTPChannelParameters.

◆ setData() [21/22]

void HcalDbService::setData ( const HcalTPParameters fItem)
inline

Definition at line 124 of file HcalDbService.h.

124 { mTPParameters = fItem; }

References mTPParameters.

◆ setData() [22/22]

void HcalDbService::setData ( const HcalZSThresholds fItem)
inline

Definition at line 107 of file HcalDbService.h.

107 { mZSThresholds = fItem; }

References mZSThresholds.

Member Data Documentation

◆ mCalibSet

std::atomic<HcalCalibrationsSet const*> HcalDbService::mCalibSet
mutableprivate

◆ mCalibWidthSet

std::atomic<HcalCalibrationWidthsSet const*> HcalDbService::mCalibWidthSet
mutableprivate

◆ mChannelQuality

const HcalChannelQuality* HcalDbService::mChannelQuality
private

Definition at line 153 of file HcalDbService.h.

Referenced by getHcalChannelStatus(), and setData().

◆ mEffectivePedestals

const HcalPedestals* HcalDbService::mEffectivePedestals
private

Definition at line 147 of file HcalDbService.h.

Referenced by buildCalibrations(), getEffectivePedestal(), getTopologyUsed(), and setData().

◆ mEffectivePedestalWidths

const HcalPedestalWidths* HcalDbService::mEffectivePedestalWidths
private

Definition at line 148 of file HcalDbService.h.

Referenced by buildCalibWidths(), getEffectivePedestalWidth(), and setData().

◆ mElectronicsMap

const HcalElectronicsMap* HcalDbService::mElectronicsMap
private

Definition at line 154 of file HcalDbService.h.

Referenced by getHcalMapping(), and setData().

◆ mFrontEndMap

const HcalFrontEndMap* HcalDbService::mFrontEndMap
private

Definition at line 155 of file HcalDbService.h.

Referenced by getHcalFrontEndMapping(), and setData().

◆ mGains

const HcalGains* HcalDbService::mGains
private

Definition at line 149 of file HcalDbService.h.

Referenced by buildCalibrations(), getGain(), getTopologyUsed(), and setData().

◆ mGainWidths

const HcalGainWidths* HcalDbService::mGainWidths
private

Definition at line 150 of file HcalDbService.h.

Referenced by buildCalibWidths(), getGainWidth(), and setData().

◆ mL1TriggerObjects

const HcalL1TriggerObjects* HcalDbService::mL1TriggerObjects
private

Definition at line 158 of file HcalDbService.h.

Referenced by getHcalL1TriggerObject(), getTopologyUsed(), and setData().

◆ mLUTCorrs

const HcalLUTCorrs* HcalDbService::mLUTCorrs
private

Definition at line 160 of file HcalDbService.h.

Referenced by buildCalibrations(), getHcalLUTCorr(), and setData().

◆ mLutMetadata

const HcalLutMetadata* HcalDbService::mLutMetadata
private

Definition at line 162 of file HcalDbService.h.

Referenced by getHcalLutMetadata(), getTopologyUsed(), and setData().

◆ mMCParams

const HcalMCParams* HcalDbService::mMCParams
private

Definition at line 167 of file HcalDbService.h.

Referenced by getHcalMCParam(), and setData().

◆ mPedestals

const HcalPedestals* HcalDbService::mPedestals
private

Definition at line 145 of file HcalDbService.h.

Referenced by buildCalibrations(), getPedestal(), getTopologyUsed(), and setData().

◆ mPedestalWidths

const HcalPedestalWidths* HcalDbService::mPedestalWidths
private

Definition at line 146 of file HcalDbService.h.

Referenced by buildCalibWidths(), getPedestalWidth(), and setData().

◆ mPFCorrs

const HcalPFCorrs* HcalDbService::mPFCorrs
private

Definition at line 161 of file HcalDbService.h.

Referenced by getHcalPFCorr(), and setData().

◆ mQIEData

const HcalQIEData* HcalDbService::mQIEData
private

◆ mQIETypes

const HcalQIETypes* HcalDbService::mQIETypes
private

◆ mRecoParams

const HcalRecoParams* HcalDbService::mRecoParams
private

Definition at line 168 of file HcalDbService.h.

Referenced by getHcalRecoParam(), and setData().

◆ mRespCorrs

const HcalRespCorrs* HcalDbService::mRespCorrs
private

Definition at line 156 of file HcalDbService.h.

Referenced by buildCalibrations(), getHcalRespCorr(), getTopologyUsed(), and setData().

◆ mSiPMCharacteristics

const HcalSiPMCharacteristics* HcalDbService::mSiPMCharacteristics
private

Definition at line 164 of file HcalDbService.h.

Referenced by getHcalSiPMCharacteristics(), and setData().

◆ mSiPMParameters

const HcalSiPMParameters* HcalDbService::mSiPMParameters
private

Definition at line 163 of file HcalDbService.h.

Referenced by getHcalSiPMParameter(), and setData().

◆ mTimeCorrs

const HcalTimeCorrs* HcalDbService::mTimeCorrs
private

Definition at line 159 of file HcalDbService.h.

Referenced by buildCalibrations(), getHcalTimeCorr(), and setData().

◆ mTPChannelParameters

const HcalTPChannelParameters* HcalDbService::mTPChannelParameters
private

Definition at line 165 of file HcalDbService.h.

Referenced by getHcalTPChannelParameter(), and setData().

◆ mTPParameters

const HcalTPParameters* HcalDbService::mTPParameters
private

Definition at line 166 of file HcalDbService.h.

Referenced by getHcalTPParameters(), and setData().

◆ mZSThresholds

const HcalZSThresholds* HcalDbService::mZSThresholds
private

Definition at line 157 of file HcalDbService.h.

Referenced by getHcalZSThreshold(), and setData().

HcalDbService::mFrontEndMap
const HcalFrontEndMap * mFrontEndMap
Definition: HcalDbService.h:155
HcalDbService::mZSThresholds
const HcalZSThresholds * mZSThresholds
Definition: HcalDbService.h:157
DDAxes::y
HcalDbService::mTPParameters
const HcalTPParameters * mTPParameters
Definition: HcalDbService.h:166
mps_fire.i
i
Definition: mps_fire.py:428
HcalDbService::mL1TriggerObjects
const HcalL1TriggerObjects * mL1TriggerObjects
Definition: HcalDbService.h:158
HcalDbService::getHcalTimeCorr
const HcalTimeCorr * getHcalTimeCorr(const HcalGenericDetId &fId) const
Definition: HcalDbService.cc:359
HcalDbService::getGainWidth
const HcalGainWidth * getGainWidth(const HcalGenericDetId &fId) const
Definition: HcalDbService.cc:312
HcalGenericDetId
Definition: HcalGenericDetId.h:15
HcalCalibrationsSet
Definition: HcalCalibrationsSet.h:16
HcalDbService::mGains
const HcalGains * mGains
Definition: HcalDbService.h:149
HcalRespCorr
Definition: HcalRespCorr.h:12
HcalQIECoder::charge
float charge(const HcalQIEShape &fShape, unsigned fAdc, unsigned fCapId) const
ADC [0..127] + capid [0..3] -> fC conversion.
Definition: HcalQIECoder.cc:20
HcalDbService::makeHcalCalibration
bool makeHcalCalibration(const HcalGenericDetId &fId, HcalCalibrations *fObject, bool pedestalInADC, bool effPedestalInADC) const
Definition: HcalDbService.cc:179
testProducerWithPsetDescEmpty_cfi.x2
x2
Definition: testProducerWithPsetDescEmpty_cfi.py:28
HcalLUTCorr::getValue
float getValue() const
Definition: HcalLUTCorr.h:22
HcalDbService::mSiPMParameters
const HcalSiPMParameters * mSiPMParameters
Definition: HcalDbService.h:163
HcalTimeCorr
Definition: HcalTimeCorr.h:12
HcalDbService::mTPChannelParameters
const HcalTPChannelParameters * mTPChannelParameters
Definition: HcalDbService.h:165
HcalQIEType::getValue
int getValue() const
Definition: HcalQIEType.h:19
HcalDbService::getPedestal
const HcalPedestal * getPedestal(const HcalGenericDetId &fId) const
Definition: HcalDbService.cc:277
HcalDbService::mElectronicsMap
const HcalElectronicsMap * mElectronicsMap
Definition: HcalDbService.h:154
HcalDbService::getGain
const HcalGain * getGain(const HcalGenericDetId &fId) const
Definition: HcalDbService.cc:305
HcalDbService::mPFCorrs
const HcalPFCorrs * mPFCorrs
Definition: HcalDbService.h:161
DDAxes::x
convertSQLiteXML.ok
bool ok
Definition: convertSQLiteXML.py:98
HcalCondObjectContainer::getValues
const Item * getValues(DetId fId, bool throwOnFail=true) const
Definition: HcalCondObjectContainer.h:159
HcalDbService::getHcalShape
const HcalQIEShape * getHcalShape(const HcalGenericDetId &fId) const
Definition: HcalDbService.cc:326
HcalDbService::mTimeCorrs
const HcalTimeCorrs * mTimeCorrs
Definition: HcalDbService.h:159
HcalQIEData::getCoder
const HcalQIECoder * getCoder(DetId fId) const
get QIE parameters
Definition: HcalQIEData.h:37
HcalDbService::getHcalCoder
const HcalQIECoder * getHcalCoder(const HcalGenericDetId &fId) const
Definition: HcalDbService.cc:319
testProducerWithPsetDescEmpty_cfi.x1
x1
Definition: testProducerWithPsetDescEmpty_cfi.py:33
testProducerWithPsetDescEmpty_cfi.y1
y1
Definition: testProducerWithPsetDescEmpty_cfi.py:29
HcalDbService::getPedestalWidth
const HcalPedestalWidth * getPedestalWidth(const HcalGenericDetId &fId) const
Definition: HcalDbService.cc:284
HcalDbService::convertPedestalWidths
bool convertPedestalWidths(const HcalGenericDetId &fId, const HcalPedestalWidth *pedestalwidth, const HcalPedestal *pedestal, float *pedTrueWidth, bool inADC) const
Definition: HcalDbService.cc:206
HcalDbService::mRespCorrs
const HcalRespCorrs * mRespCorrs
Definition: HcalDbService.h:156
HcalDbService::mCalibWidthSet
std::atomic< HcalCalibrationWidthsSet const * > mCalibWidthSet
Definition: HcalDbService.h:171
HcalDbService::mEffectivePedestalWidths
const HcalPedestalWidths * mEffectivePedestalWidths
Definition: HcalDbService.h:148
HcalQIEData::getShape
const HcalQIEShape & getShape(int qieType) const
get basic shape
Definition: HcalQIEData.h:35
HcalDbService::mEffectivePedestals
const HcalPedestals * mEffectivePedestals
Definition: HcalDbService.h:147
HcalPedestal
Definition: HcalPedestal.h:15
HcalCalibrations
Definition: HcalCalibrations.h:9
HcalDbService::mLutMetadata
const HcalLutMetadata * mLutMetadata
Definition: HcalDbService.h:162
HcalDbService::mRecoParams
const HcalRecoParams * mRecoParams
Definition: HcalDbService.h:168
HcalGain
Definition: HcalGain.h:16
HcalDbService::mMCParams
const HcalMCParams * mMCParams
Definition: HcalDbService.h:167
testProducerWithPsetDescEmpty_cfi.y2
y2
Definition: testProducerWithPsetDescEmpty_cfi.py:30
HcalRespCorr::getValue
float getValue() const
Definition: HcalRespCorr.h:19
HcalPedestalWidths::isADC
bool isADC() const
Definition: HcalPedestalWidths.h:28
HcalDbService::makeHcalCalibrationWidth
bool makeHcalCalibrationWidth(const HcalGenericDetId &fId, HcalCalibrationWidths *fObject, bool pedestalInADC, bool effPedestalInADC) const
Definition: HcalDbService.cc:238
HcalDbService::mPedestals
const HcalPedestals * mPedestals
Definition: HcalDbService.h:145
HcalDbService::buildCalibrations
void buildCalibrations() const
Definition: HcalDbService.cc:85
HcalCondObjectContainer::getAllChannels
std::vector< DetId > getAllChannels() const
Definition: HcalCondObjectContainer.h:312
HcalCondObjectContainerBase::topo
const HcalTopology * topo() const
Definition: HcalCondObjectContainer.h:22
HcalDbService::getHcalRespCorr
const HcalRespCorr * getHcalRespCorr(const HcalGenericDetId &fId) const
Definition: HcalDbService.cc:270
createfilelist.int
int
Definition: createfilelist.py:10
HcalDbService::convertPedestals
bool convertPedestals(const HcalGenericDetId &fId, const HcalPedestal *pedestal, float *pedTrue, bool inADC) const
Definition: HcalDbService.cc:150
HcalDbService::buildCalibWidths
void buildCalibWidths() const
Definition: HcalDbService.cc:118
HcalDbService::mGainWidths
const HcalGainWidths * mGainWidths
Definition: HcalDbService.h:150
HcalTimeCorr::getValue
float getValue() const
Definition: HcalTimeCorr.h:19
EcalCondDBWriter_cfi.pedestal
pedestal
Definition: EcalCondDBWriter_cfi.py:49
HcalDbService::mCalibSet
std::atomic< HcalCalibrationsSet const * > mCalibSet
Definition: HcalDbService.h:170
HcalDbService::mQIEData
const HcalQIEData * mQIEData
Definition: HcalDbService.h:151
HcalLUTCorr
Definition: HcalLUTCorr.h:15
HcalPedestals::isADC
bool isADC() const
Definition: HcalPedestals.h:30
HcalQIECoder
Definition: HcalQIECoder.h:20
HcalGainWidth::getValues
const float * getValues() const
get value for all capId = 0..3
Definition: HcalGainWidth.h:18
HcalDbService::mPedestalWidths
const HcalPedestalWidths * mPedestalWidths
Definition: HcalDbService.h:146
HcalQIECoder::rawId
uint32_t rawId() const
Definition: HcalQIECoder.h:36
HcalDbService::getEffectivePedestal
const HcalPedestal * getEffectivePedestal(const HcalGenericDetId &fId) const
Definition: HcalDbService.cc:291
PedestalClient_cfi.gain
gain
Definition: PedestalClient_cfi.py:37
fileCollector2.converted
converted
Definition: fileCollector2.py:211
HcalDbService::mChannelQuality
const HcalChannelQuality * mChannelQuality
Definition: HcalDbService.h:153
HcalDbService::getEffectivePedestalWidth
const HcalPedestalWidth * getEffectivePedestalWidth(const HcalGenericDetId &fId) const
Definition: HcalDbService.cc:298
HcalDbService::mLUTCorrs
const HcalLUTCorrs * mLUTCorrs
Definition: HcalDbService.h:160
triggerObjects_cff.id
id
Definition: triggerObjects_cff.py:31
HcalDbService::mSiPMCharacteristics
const HcalSiPMCharacteristics * mSiPMCharacteristics
Definition: HcalDbService.h:164
HcalPedestalWidth::getWidth
float getWidth(int fCapId) const
get width (sqrt(sigma_i_i)) for capId = 0..3
Definition: HcalPedestalWidth.cc:31
HcalQIEShape
Definition: HcalQIEShape.h:17
HcalDbService::getHcalLUTCorr
const HcalLUTCorr * getHcalLUTCorr(const HcalGenericDetId &fId) const
Definition: HcalDbService.cc:366
HcalPedestalWidth
Definition: HcalPedestalWidth.h:15
HcalCalibrationWidths
Definition: HcalCalibrationWidths.h:9
HcalCalibrationWidthsSet
Definition: HcalCalibrationWidthsSet.h:16
HcalDbService::mQIETypes
const HcalQIETypes * mQIETypes
Definition: HcalDbService.h:152
HcalGainWidth
Definition: HcalGainWidth.h:15