CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes
HcalDbService Class Reference

#include <HcalDbService.h>

Public Member Functions

const HcalGaingetGain (const HcalGenericDetId &fId) const
 
const HcalGainWidthgetGainWidth (const HcalGenericDetId &fId) const
 
const HcalCalibrationsgetHcalCalibrations (const HcalGenericDetId &fId) const
 
const HcalCalibrationWidthsgetHcalCalibrationWidths (const HcalGenericDetId &fId) const
 
const HcalChannelStatusgetHcalChannelStatus (const HcalGenericDetId &fId) const
 
const HcalQIECodergetHcalCoder (const HcalGenericDetId &fId) const
 
const HcalL1TriggerObjectgetHcalL1TriggerObject (const HcalGenericDetId &fId) const
 
const HcalLUTCorrgetHcalLUTCorr (const HcalGenericDetId &fId) const
 
const HcalLutMetadatagetHcalLutMetadata () const
 
const HcalElectronicsMapgetHcalMapping () const
 
const HcalPFCorrgetHcalPFCorr (const HcalGenericDetId &fId) const
 
const HcalRespCorrgetHcalRespCorr (const HcalGenericDetId &fId) const
 
const HcalQIEShapegetHcalShape () const
 
const HcalTimeCorrgetHcalTimeCorr (const HcalGenericDetId &fId) const
 
const HcalZSThresholdgetHcalZSThreshold (const HcalGenericDetId &fId) const
 
const HcalPedestalgetPedestal (const HcalGenericDetId &fId) const
 
const HcalPedestalWidthgetPedestalWidth (const HcalGenericDetId &fId) const
 
 HcalDbService (const edm::ParameterSet &)
 
void setData (const HcalPedestals *fItem)
 
void setData (const HcalPedestalWidths *fItem)
 
void setData (const HcalGains *fItem)
 
void setData (const HcalGainWidths *fItem)
 
void setData (const HcalQIEData *fItem)
 
void setData (const HcalChannelQuality *fItem)
 
void setData (const HcalElectronicsMap *fItem)
 
void setData (const HcalRespCorrs *fItem)
 
void setData (const HcalTimeCorrs *fItem)
 
void setData (const HcalZSThresholds *fItem)
 
void setData (const HcalL1TriggerObjects *fItem)
 
void setData (const HcalLUTCorrs *fItem)
 
void setData (const HcalPFCorrs *fItem)
 
void setData (const HcalLutMetadata *fItem)
 

Private Member Functions

void buildCalibrations () const
 
void buildCalibWidths () const
 
bool makeHcalCalibration (const HcalGenericDetId &fId, HcalCalibrations *fObject, bool pedestalInADC) const
 
bool makeHcalCalibrationWidth (const HcalGenericDetId &fId, HcalCalibrationWidths *fObject, bool pedestalInADC) const
 

Private Attributes

HcalCalibrationsSet mCalibSet
 
HcalCalibrationWidthsSet mCalibWidthSet
 
const HcalChannelQualitymChannelQuality
 
const HcalElectronicsMapmElectronicsMap
 
const HcalGainsmGains
 
const HcalGainWidthsmGainWidths
 
const HcalL1TriggerObjectsmL1TriggerObjects
 
const HcalLUTCorrsmLUTCorrs
 
const HcalLutMetadatamLutMetadata
 
const HcalPedestalsmPedestals
 
const HcalPedestalWidthsmPedestalWidths
 
const HcalPFCorrsmPFCorrs
 
const HcalQIEDatamQIEData
 
QieShapemQieShapeCache
 
const HcalRespCorrsmRespCorrs
 
const HcalTimeCorrsmTimeCorrs
 
bool mUpdateCalibrations
 
bool mUpdateCalibWidths
 
const HcalZSThresholdsmZSThresholds
 

Detailed Description

Definition at line 27 of file HcalDbService.h.

Constructor & Destructor Documentation

HcalDbService::HcalDbService ( const edm::ParameterSet cfg)

Definition at line 18 of file HcalDbService.cc.

18  :
19  mPedestals (0), mPedestalWidths (0),
20  mGains (0), mGainWidths (0),
21  mQieShapeCache (0), mQIEData(0),
22  mElectronicsMap(0),
23  mRespCorrs(0),
25  mTimeCorrs(0),
26  mLUTCorrs(0),
27  mPFCorrs(0),
28  mLutMetadata(0),
30  {}
const HcalLUTCorrs * mLUTCorrs
Definition: HcalDbService.h:84
bool mUpdateCalibWidths
Definition: HcalDbService.h:90
bool mUpdateCalibrations
Definition: HcalDbService.h:90
const HcalL1TriggerObjects * mL1TriggerObjects
Definition: HcalDbService.h:82
const HcalPFCorrs * mPFCorrs
Definition: HcalDbService.h:85
const HcalGains * mGains
Definition: HcalDbService.h:74
const HcalLutMetadata * mLutMetadata
Definition: HcalDbService.h:86
const HcalPedestalWidths * mPedestalWidths
Definition: HcalDbService.h:73
const HcalRespCorrs * mRespCorrs
Definition: HcalDbService.h:80
const HcalElectronicsMap * mElectronicsMap
Definition: HcalDbService.h:79
const HcalGainWidths * mGainWidths
Definition: HcalDbService.h:75
const HcalTimeCorrs * mTimeCorrs
Definition: HcalDbService.h:83
const HcalQIEData * mQIEData
Definition: HcalDbService.h:77
const HcalPedestals * mPedestals
Definition: HcalDbService.h:72
QieShape * mQieShapeCache
Definition: HcalDbService.h:76

Member Function Documentation

void HcalDbService::buildCalibrations ( ) const
private

Definition at line 53 of file HcalDbService.cc.

References HcalCalibrationsSet::clear(), HcalCondObjectContainer< Item >::getAllChannels(), errorMatrix2Lands_multiChannel::id, HcalPedestals::isADC(), makeHcalCalibration(), mCalibSet, mGains, mLUTCorrs, mPedestals, mQIEData, mRespCorrs, mTimeCorrs, convertSQLiteXML::ok, HcalCalibrationsSet::setCalibrations(), and HcalCalibrationsSet::sort().

Referenced by getHcalCalibrations().

53  {
54  // we use the set of ids for pedestals as the master list
55  if ((!mPedestals) || (!mGains) || (!mQIEData) || (!mRespCorrs) || (!mTimeCorrs) || (!mLUTCorrs) ) return;
56 
57  std::vector<DetId> ids=mPedestals->getAllChannels();
58  bool pedsInADC = mPedestals->isADC();
59  // clear the calibrations set
60  mCalibSet.clear();
61  // loop!
62  HcalCalibrations tool;
63 
64  // std::cout << " length of id-vector: " << ids.size() << std::endl;
65  for (std::vector<DetId>::const_iterator id=ids.begin(); id!=ids.end(); ++id) {
66  // make
67  bool ok=makeHcalCalibration(*id,&tool,pedsInADC);
68  // store
69  if (ok) mCalibSet.setCalibrations(*id,tool);
70  // std::cout << "Hcal calibrations built... detid no. " << HcalGenericDetId(*id) << std::endl;
71  }
72  mCalibSet.sort();
73 }
const HcalLUTCorrs * mLUTCorrs
Definition: HcalDbService.h:84
bool isADC() const
Definition: HcalPedestals.h:23
const HcalGains * mGains
Definition: HcalDbService.h:74
HcalCalibrationsSet mCalibSet
Definition: HcalDbService.h:88
std::vector< DetId > getAllChannels() const
bool makeHcalCalibration(const HcalGenericDetId &fId, HcalCalibrations *fObject, bool pedestalInADC) const
const HcalRespCorrs * mRespCorrs
Definition: HcalDbService.h:80
const HcalTimeCorrs * mTimeCorrs
Definition: HcalDbService.h:83
const HcalQIEData * mQIEData
Definition: HcalDbService.h:77
void setCalibrations(const DetId id, const HcalCalibrations &ca)
const HcalPedestals * mPedestals
Definition: HcalDbService.h:72
void HcalDbService::buildCalibWidths ( ) const
private

Definition at line 75 of file HcalDbService.cc.

References HcalCalibrationWidthsSet::clear(), HcalCondObjectContainer< Item >::getAllChannels(), errorMatrix2Lands_multiChannel::id, HcalPedestalWidths::isADC(), makeHcalCalibrationWidth(), mCalibWidthSet, mGainWidths, mPedestalWidths, mQIEData, convertSQLiteXML::ok, HcalCalibrationWidthsSet::setCalibrationWidths(), and HcalCalibrationWidthsSet::sort().

Referenced by getHcalCalibrationWidths().

75  {
76  // we use the set of ids for pedestal widths as the master list
77  if ((!mPedestalWidths) || (!mGainWidths) || (!mQIEData) ) return;
78 
79  std::vector<DetId> ids=mPedestalWidths->getAllChannels();
80  bool pedsInADC = mPedestalWidths->isADC();
81  // clear the calibrations set
83  // loop!
85 
86  // std::cout << " length of id-vector: " << ids.size() << std::endl;
87  for (std::vector<DetId>::const_iterator id=ids.begin(); id!=ids.end(); ++id) {
88  // make
89  bool ok=makeHcalCalibrationWidth(*id,&tool,pedsInADC);
90  // store
91  if (ok) mCalibWidthSet.setCalibrationWidths(*id,tool);
92  // std::cout << "Hcal calibrations built... detid no. " << HcalGenericDetId(*id) << std::endl;
93  }
95 }
std::vector< DetId > getAllChannels() const
bool makeHcalCalibrationWidth(const HcalGenericDetId &fId, HcalCalibrationWidths *fObject, bool pedestalInADC) const
void setCalibrationWidths(const DetId id, const HcalCalibrationWidths &ca)
const HcalPedestalWidths * mPedestalWidths
Definition: HcalDbService.h:73
const HcalGainWidths * mGainWidths
Definition: HcalDbService.h:75
HcalCalibrationWidthsSet mCalibWidthSet
Definition: HcalDbService.h:89
const HcalQIEData * mQIEData
Definition: HcalDbService.h:77
const HcalGain * HcalDbService::getGain ( const HcalGenericDetId fId) const

Definition at line 187 of file HcalDbService.cc.

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

Referenced by HFSimParameters::fCtoGeV(), HcalSimParameters::fCtoGeV(), HPDIonFeedbackSim::fCtoGeV(), HcalRecHitsMaker::init(), and makeHcalCalibration().

187  {
188  if (mGains) {
189  return mGains->getValues(fId);
190  }
191  return 0;
192 }
const HcalGains * mGains
Definition: HcalDbService.h:74
const Item * getValues(DetId fId) const
const HcalGainWidth * HcalDbService::getGainWidth ( const HcalGenericDetId fId) const

Definition at line 194 of file HcalDbService.cc.

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

Referenced by HFSimParameters::fCtoGeV(), HcalSimParameters::fCtoGeV(), HPDIonFeedbackSim::fCtoGeV(), and makeHcalCalibrationWidth().

194  {
195  if (mGainWidths) {
196  return mGainWidths->getValues (fId);
197  }
198  return 0;
199 }
const HcalGainWidths * mGainWidths
Definition: HcalDbService.h:75
const Item * getValues(DetId fId) const
const HcalCalibrations & HcalDbService::getHcalCalibrations ( const HcalGenericDetId fId) const

Definition at line 33 of file HcalDbService.cc.

References buildCalibrations(), HcalCalibrationsSet::getCalibrations(), mCalibSet, and mUpdateCalibrations.

Referenced by HcalAmplifier::addPedestals(), HcalMonitorClient::PlotPedestalValues(), and HcaluLUTTPGCoder::update().

34 {
36  {
38  mUpdateCalibrations = false;
39  }
40  return mCalibSet.getCalibrations(fId);
41 }
bool mUpdateCalibrations
Definition: HcalDbService.h:90
HcalCalibrationsSet mCalibSet
Definition: HcalDbService.h:88
const HcalCalibrations & getCalibrations(const DetId id) const
void buildCalibrations() const
const HcalCalibrationWidths & HcalDbService::getHcalCalibrationWidths ( const HcalGenericDetId fId) const

Definition at line 43 of file HcalDbService.cc.

References buildCalibWidths(), HcalCalibrationWidthsSet::getCalibrationWidths(), mCalibWidthSet, and mUpdateCalibWidths.

Referenced by HcalAmplifier::addPedestals().

44 {
45  if (mUpdateCalibWidths)
46  {
48  mUpdateCalibWidths = false;
49  }
51 }
bool mUpdateCalibWidths
Definition: HcalDbService.h:90
void buildCalibWidths() const
const HcalCalibrationWidths & getCalibrationWidths(const DetId id) const
HcalCalibrationWidthsSet mCalibWidthSet
Definition: HcalDbService.h:89
const HcalChannelStatus * HcalDbService::getHcalChannelStatus ( const HcalGenericDetId fId) const

Definition at line 224 of file HcalDbService.cc.

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

Referenced by HcaluLUTTPGCoder::update().

225 {
226  return mChannelQuality->getValues (fId);
227 }
const HcalChannelQuality * mChannelQuality
Definition: HcalDbService.h:78
const Item * getValues(DetId fId) const
const HcalQIECoder * HcalDbService::getHcalCoder ( const HcalGenericDetId fId) const
const HcalL1TriggerObject * HcalDbService::getHcalL1TriggerObject ( const HcalGenericDetId fId) const

Definition at line 219 of file HcalDbService.cc.

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

Referenced by HcaluLUTTPGCoder::update().

220 {
221  return mL1TriggerObjects->getValues (fId);
222 }
const HcalL1TriggerObjects * mL1TriggerObjects
Definition: HcalDbService.h:82
const Item * getValues(DetId fId) const
const HcalLUTCorr * HcalDbService::getHcalLUTCorr ( const HcalGenericDetId fId) const

Definition at line 241 of file HcalDbService.cc.

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

Referenced by makeHcalCalibration().

241  {
242  if (mLUTCorrs) {
243  return mLUTCorrs->getValues (fId);
244  }
245  return 0;
246 }
const HcalLUTCorrs * mLUTCorrs
Definition: HcalDbService.h:84
const Item * getValues(DetId fId) const
const HcalLutMetadata * HcalDbService::getHcalLutMetadata ( ) const

Definition at line 255 of file HcalDbService.cc.

References mLutMetadata.

Referenced by HcaluLUTTPGCoder::update().

255  {
256  return mLutMetadata;
257 }
const HcalLutMetadata * mLutMetadata
Definition: HcalDbService.h:86
const HcalElectronicsMap * HcalDbService::getHcalMapping ( ) const

Definition at line 215 of file HcalDbService.cc.

References mElectronicsMap.

215  {
216  return mElectronicsMap;
217 }
const HcalElectronicsMap * mElectronicsMap
Definition: HcalDbService.h:79
const HcalPFCorr * HcalDbService::getHcalPFCorr ( const HcalGenericDetId fId) const

Definition at line 248 of file HcalDbService.cc.

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

248  {
249  if (mPFCorrs) {
250  return mPFCorrs->getValues (fId);
251  }
252  return 0;
253 }
const HcalPFCorrs * mPFCorrs
Definition: HcalDbService.h:85
const Item * getValues(DetId fId) const
const HcalRespCorr * HcalDbService::getHcalRespCorr ( const HcalGenericDetId fId) const

Definition at line 166 of file HcalDbService.cc.

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

Referenced by makeHcalCalibration().

166  {
167  if (mRespCorrs) {
168  return mRespCorrs->getValues (fId);
169  }
170  return 0;
171 }
const HcalRespCorrs * mRespCorrs
Definition: HcalDbService.h:80
const Item * getValues(DetId fId) const
const HcalQIEShape * HcalDbService::getHcalShape ( ) const
const HcalTimeCorr * HcalDbService::getHcalTimeCorr ( const HcalGenericDetId fId) const

Definition at line 234 of file HcalDbService.cc.

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

Referenced by makeHcalCalibration().

234  {
235  if (mTimeCorrs) {
236  return mTimeCorrs->getValues (fId);
237  }
238  return 0;
239 }
const HcalTimeCorrs * mTimeCorrs
Definition: HcalDbService.h:83
const Item * getValues(DetId fId) const
const HcalZSThreshold * HcalDbService::getHcalZSThreshold ( const HcalGenericDetId fId) const

Definition at line 229 of file HcalDbService.cc.

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

Referenced by HcalZSAlgoRealistic::keepMe().

230 {
231  return mZSThresholds->getValues (fId);
232 }
const HcalZSThresholds * mZSThresholds
Definition: HcalDbService.h:81
const Item * getValues(DetId fId) const
const HcalPedestal * HcalDbService::getPedestal ( const HcalGenericDetId fId) const

Definition at line 173 of file HcalDbService.cc.

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

Referenced by HcalRecHitsMaker::init(), ZSEnergy_impl::keepMe(), HcalLedAnalysis::LedHBHEHists(), HcalLedAnalysis::LedHFHists(), HcalLedAnalysis::LedHOHists(), and makeHcalCalibration().

173  {
174  if (mPedestals) {
175  return mPedestals->getValues (fId);
176  }
177  return 0;
178 }
const HcalPedestals * mPedestals
Definition: HcalDbService.h:72
const Item * getValues(DetId fId) const
const HcalPedestalWidth * HcalDbService::getPedestalWidth ( const HcalGenericDetId fId) const

Definition at line 180 of file HcalDbService.cc.

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

Referenced by makeHcalCalibrationWidth(), and HcalMonitorClient::PlotPedestalValues().

180  {
181  if (mPedestalWidths) {
182  return mPedestalWidths->getValues (fId);
183  }
184  return 0;
185 }
const HcalPedestalWidths * mPedestalWidths
Definition: HcalDbService.h:73
const Item * getValues(DetId fId) const
bool HcalDbService::makeHcalCalibration ( const HcalGenericDetId fId,
HcalCalibrations fObject,
bool  pedestalInADC 
) const
private

Definition at line 97 of file HcalDbService.cc.

References HcalQIECoder::charge(), getGain(), getHcalCoder(), getHcalLUTCorr(), getHcalRespCorr(), getHcalShape(), getHcalTimeCorr(), getPedestal(), HcalRespCorr::getValue(), HcalTimeCorr::getValue(), HcalLUTCorr::getValue(), HcalPedestal::getValues(), HcalGain::getValues(), i, and x.

Referenced by buildCalibrations().

97  {
98  if (fObject) {
99  const HcalPedestal* pedestal = getPedestal (fId);
100  const HcalGain* gain = getGain (fId);
101  const HcalRespCorr* respcorr = getHcalRespCorr (fId);
102  const HcalTimeCorr* timecorr = getHcalTimeCorr (fId);
103  const HcalLUTCorr* lutcorr = getHcalLUTCorr (fId);
104 
105  if (pedestalInADC) {
106  const HcalQIEShape* shape=getHcalShape();
107  const HcalQIECoder* coder=getHcalCoder(fId);
108  if (pedestal && gain && shape && coder && respcorr && timecorr && lutcorr) {
109  float pedTrue[4];
110  for (int i=0; i<4; i++) {
111  float x=pedestal->getValues()[i];
112  int x1=(int)std::floor(x);
113  int x2=(int)std::floor(x+1);
114  // y = (y2-y1)/(x2-x1) * (x - x1) + y1 [note: x2-x1=1]
115  float y2=coder->charge(*shape,x2,i);
116  float y1=coder->charge(*shape,x1,i);
117  pedTrue[i]=(y2-y1)*(x-x1)+y1;
118  }
119  *fObject = HcalCalibrations (gain->getValues (), pedTrue, respcorr->getValue(), timecorr->getValue(), lutcorr->getValue() );
120  return true;
121  }
122  } else {
123  if (pedestal && gain && respcorr && timecorr && lutcorr) {
124  *fObject = HcalCalibrations (gain->getValues (), pedestal->getValues (), respcorr->getValue(), timecorr->getValue(), lutcorr->getValue() );
125  return true;
126  }
127  }
128  }
129  return false;
130 }
int i
Definition: DBlmapReader.cc:9
const HcalRespCorr * getHcalRespCorr(const HcalGenericDetId &fId) const
const HcalLUTCorr * getHcalLUTCorr(const HcalGenericDetId &fId) const
const HcalTimeCorr * getHcalTimeCorr(const HcalGenericDetId &fId) const
const float * getValues() const
get value for all capId = 0..3
Definition: HcalGain.h:18
float getValue() const
Definition: HcalLUTCorr.h:18
float getValue() const
Definition: HcalTimeCorr.h:18
const HcalGain * getGain(const HcalGenericDetId &fId) const
const HcalQIECoder * getHcalCoder(const HcalGenericDetId &fId) const
float getValue() const
Definition: HcalRespCorr.h:18
const float * getValues() const
get value for all capId = 0..3
Definition: HcalPedestal.h:17
Definition: DDAxes.h:10
const HcalPedestal * getPedestal(const HcalGenericDetId &fId) const
const HcalQIEShape * getHcalShape() const
float charge(const HcalQIEShape &fShape, unsigned fAdc, unsigned fCapId) const
ADC [0..127] + capid [0..3] -&gt; fC conversion.
Definition: HcalQIECoder.cc:22
bool HcalDbService::makeHcalCalibrationWidth ( const HcalGenericDetId fId,
HcalCalibrationWidths fObject,
bool  pedestalInADC 
) const
private

Definition at line 132 of file HcalDbService.cc.

References HcalQIECoder::charge(), getGainWidth(), getHcalCoder(), getHcalShape(), getPedestalWidth(), HcalGainWidth::getValues(), HcalPedestalWidth::getWidth(), i, and x.

Referenced by buildCalibWidths().

133  {
134  if (fObject) {
135  const HcalPedestalWidth* pedestalwidth = getPedestalWidth (fId);
136  const HcalGainWidth* gainwidth = getGainWidth (fId);
137  if (pedestalInADC) {
138  const HcalQIEShape* shape=getHcalShape();
139  const HcalQIECoder* coder=getHcalCoder(fId);
140  if (pedestalwidth && gainwidth && shape && coder) {
141  float pedTrueWidth[4];
142  for (int i=0; i<4; i++) {
143  float x=pedestalwidth->getWidth(i);
144  // assume QIE is linear in low range and use x1=0 and x2=1
145  // y = (y2-y1) * (x) [do not add any constant, only scale!]
146  float y2=coder->charge(*shape,1,i);
147  float y1=coder->charge(*shape,0,i);
148  pedTrueWidth[i]=(y2-y1)*x;
149  }
150  *fObject = HcalCalibrationWidths (gainwidth->getValues (), pedTrueWidth);
151  return true;
152  }
153  } else {
154  if (pedestalwidth && gainwidth) {
155  float pedestalWidth [4];
156  for (int i = 0; i < 4; i++) pedestalWidth [i] = pedestalwidth->getWidth (i);
157  *fObject = HcalCalibrationWidths (gainwidth->getValues (), pedestalWidth);
158  return true;
159  }
160  }
161  }
162  return false;
163 }
const HcalGainWidth * getGainWidth(const HcalGenericDetId &fId) const
int i
Definition: DBlmapReader.cc:9
const float * getValues() const
get value for all capId = 0..3
Definition: HcalGainWidth.h:17
const HcalPedestalWidth * getPedestalWidth(const HcalGenericDetId &fId) const
float getWidth(int fCapId) const
get width (sqrt(sigma_i_i)) for capId = 0..3
const HcalQIECoder * getHcalCoder(const HcalGenericDetId &fId) const
Definition: DDAxes.h:10
const HcalQIEShape * getHcalShape() const
float charge(const HcalQIEShape &fShape, unsigned fAdc, unsigned fCapId) const
ADC [0..127] + capid [0..3] -&gt; fC conversion.
Definition: HcalQIECoder.cc:22
void HcalDbService::setData ( const HcalPedestals fItem)
inline

Definition at line 50 of file HcalDbService.h.

References mPedestals, and mUpdateCalibrations.

50 {mPedestals = fItem; mUpdateCalibrations = true; }
bool mUpdateCalibrations
Definition: HcalDbService.h:90
const HcalPedestals * mPedestals
Definition: HcalDbService.h:72
void HcalDbService::setData ( const HcalPedestalWidths fItem)
inline

Definition at line 51 of file HcalDbService.h.

References mPedestalWidths, and mUpdateCalibWidths.

51 {mPedestalWidths = fItem; mUpdateCalibWidths = true; }
bool mUpdateCalibWidths
Definition: HcalDbService.h:90
const HcalPedestalWidths * mPedestalWidths
Definition: HcalDbService.h:73
void HcalDbService::setData ( const HcalGains fItem)
inline

Definition at line 52 of file HcalDbService.h.

References mGains, and mUpdateCalibrations.

52 {mGains = fItem; mUpdateCalibrations = true; }
bool mUpdateCalibrations
Definition: HcalDbService.h:90
const HcalGains * mGains
Definition: HcalDbService.h:74
void HcalDbService::setData ( const HcalGainWidths fItem)
inline

Definition at line 53 of file HcalDbService.h.

References mGainWidths, and mUpdateCalibWidths.

53 {mGainWidths = fItem; mUpdateCalibWidths = true; }
bool mUpdateCalibWidths
Definition: HcalDbService.h:90
const HcalGainWidths * mGainWidths
Definition: HcalDbService.h:75
void HcalDbService::setData ( const HcalQIEData fItem)
inline

Definition at line 54 of file HcalDbService.h.

References mQIEData, mUpdateCalibrations, and mUpdateCalibWidths.

54 {mQIEData = fItem; mUpdateCalibrations = true; mUpdateCalibWidths = true; }
bool mUpdateCalibWidths
Definition: HcalDbService.h:90
bool mUpdateCalibrations
Definition: HcalDbService.h:90
const HcalQIEData * mQIEData
Definition: HcalDbService.h:77
void HcalDbService::setData ( const HcalChannelQuality fItem)
inline

Definition at line 55 of file HcalDbService.h.

References mChannelQuality.

55 {mChannelQuality = fItem;}
const HcalChannelQuality * mChannelQuality
Definition: HcalDbService.h:78
void HcalDbService::setData ( const HcalElectronicsMap fItem)
inline

Definition at line 56 of file HcalDbService.h.

References mElectronicsMap.

56 {mElectronicsMap = fItem;}
const HcalElectronicsMap * mElectronicsMap
Definition: HcalDbService.h:79
void HcalDbService::setData ( const HcalRespCorrs fItem)
inline

Definition at line 57 of file HcalDbService.h.

References mRespCorrs, and mUpdateCalibrations.

57 {mRespCorrs = fItem; mUpdateCalibrations = true; }
bool mUpdateCalibrations
Definition: HcalDbService.h:90
const HcalRespCorrs * mRespCorrs
Definition: HcalDbService.h:80
void HcalDbService::setData ( const HcalTimeCorrs fItem)
inline

Definition at line 58 of file HcalDbService.h.

References mTimeCorrs, and mUpdateCalibrations.

58 {mTimeCorrs = fItem; mUpdateCalibrations = true; }
bool mUpdateCalibrations
Definition: HcalDbService.h:90
const HcalTimeCorrs * mTimeCorrs
Definition: HcalDbService.h:83
void HcalDbService::setData ( const HcalZSThresholds fItem)
inline

Definition at line 59 of file HcalDbService.h.

References mZSThresholds.

59 {mZSThresholds = fItem;}
const HcalZSThresholds * mZSThresholds
Definition: HcalDbService.h:81
void HcalDbService::setData ( const HcalL1TriggerObjects fItem)
inline

Definition at line 60 of file HcalDbService.h.

References mL1TriggerObjects.

60 {mL1TriggerObjects = fItem;}
const HcalL1TriggerObjects * mL1TriggerObjects
Definition: HcalDbService.h:82
void HcalDbService::setData ( const HcalLUTCorrs fItem)
inline

Definition at line 61 of file HcalDbService.h.

References mLUTCorrs, and mUpdateCalibrations.

61 {mLUTCorrs = fItem; mUpdateCalibrations = true; }
const HcalLUTCorrs * mLUTCorrs
Definition: HcalDbService.h:84
bool mUpdateCalibrations
Definition: HcalDbService.h:90
void HcalDbService::setData ( const HcalPFCorrs fItem)
inline

Definition at line 62 of file HcalDbService.h.

References mPFCorrs.

62 {mPFCorrs = fItem; }
const HcalPFCorrs * mPFCorrs
Definition: HcalDbService.h:85
void HcalDbService::setData ( const HcalLutMetadata fItem)
inline

Definition at line 63 of file HcalDbService.h.

References mLutMetadata.

63 {mLutMetadata = fItem;}
const HcalLutMetadata * mLutMetadata
Definition: HcalDbService.h:86

Member Data Documentation

HcalCalibrationsSet HcalDbService::mCalibSet
mutableprivate

Definition at line 88 of file HcalDbService.h.

Referenced by buildCalibrations(), and getHcalCalibrations().

HcalCalibrationWidthsSet HcalDbService::mCalibWidthSet
mutableprivate

Definition at line 89 of file HcalDbService.h.

Referenced by buildCalibWidths(), and getHcalCalibrationWidths().

const HcalChannelQuality* HcalDbService::mChannelQuality
private

Definition at line 78 of file HcalDbService.h.

Referenced by getHcalChannelStatus(), and setData().

const HcalElectronicsMap* HcalDbService::mElectronicsMap
private

Definition at line 79 of file HcalDbService.h.

Referenced by getHcalMapping(), and setData().

const HcalGains* HcalDbService::mGains
private

Definition at line 74 of file HcalDbService.h.

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

const HcalGainWidths* HcalDbService::mGainWidths
private

Definition at line 75 of file HcalDbService.h.

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

const HcalL1TriggerObjects* HcalDbService::mL1TriggerObjects
private

Definition at line 82 of file HcalDbService.h.

Referenced by getHcalL1TriggerObject(), and setData().

const HcalLUTCorrs* HcalDbService::mLUTCorrs
private

Definition at line 84 of file HcalDbService.h.

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

const HcalLutMetadata* HcalDbService::mLutMetadata
private

Definition at line 86 of file HcalDbService.h.

Referenced by getHcalLutMetadata(), and setData().

const HcalPedestals* HcalDbService::mPedestals
private

Definition at line 72 of file HcalDbService.h.

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

const HcalPedestalWidths* HcalDbService::mPedestalWidths
private

Definition at line 73 of file HcalDbService.h.

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

const HcalPFCorrs* HcalDbService::mPFCorrs
private

Definition at line 85 of file HcalDbService.h.

Referenced by getHcalPFCorr(), and setData().

const HcalQIEData* HcalDbService::mQIEData
private
QieShape* HcalDbService::mQieShapeCache
mutableprivate

Definition at line 76 of file HcalDbService.h.

const HcalRespCorrs* HcalDbService::mRespCorrs
private

Definition at line 80 of file HcalDbService.h.

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

const HcalTimeCorrs* HcalDbService::mTimeCorrs
private

Definition at line 83 of file HcalDbService.h.

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

bool HcalDbService::mUpdateCalibrations
mutableprivate

Definition at line 90 of file HcalDbService.h.

Referenced by getHcalCalibrations(), and setData().

bool HcalDbService::mUpdateCalibWidths
mutableprivate

Definition at line 90 of file HcalDbService.h.

Referenced by getHcalCalibrationWidths(), and setData().

const HcalZSThresholds* HcalDbService::mZSThresholds
private

Definition at line 81 of file HcalDbService.h.

Referenced by getHcalZSThreshold(), and setData().