CMS 3D CMS Logo

Public Member Functions | Private Attributes

HcalQIEData Class Reference

#include <HcalQIEData.h>

Inheritance diagram for HcalQIEData:
HcalCondObjectContainer< HcalQIECoder > HcalCondObjectContainerBase

List of all members.

Public Member Functions

bool addCoder (const HcalQIECoder &fCoder)
const HcalQIECodergetCoder (DetId fId) const
 get QIE parameters
const HcalQIEShapegetShape (const HcalQIECoder *coder) const
const HcalQIEShapegetShape (DetId fId) const
 get basic shape
 HcalQIEData (const HcalTopology *topo)
 HcalQIEData ()
std::string myname () const
void setupShape ()
void sort ()
bool sorted () const

Private Attributes

HcalQIEShape mShape [2]

Detailed Description

Author:
Fedor Ratnikov (UMd), with changes by Radek Ofierzynski (preserve backwards compatibility of methods for this release) POOL object to store QIE parameters $Author: ratnikov
Date:
2012/11/12 20:51:13
Revision:
1.14
Author:
Fedor Ratnikov (UMd) POOL object to store QIE basic shape $Author: ratnikov
Date:
2013/03/26 11:31:11
Revision:
1.5
Author:
Fedor Ratnikov (UMd) POOL object to store calibration mode QIE coder parameters for one channel $Id
Fedor Ratnikov (UMd) POOL object to store QIE coder parameters for one channel $Author: ratnikov
Date:
2013/03/25 16:23:33
Revision:
1.4
Author:
Fedor Ratnikov (UMd) POOL object to store pedestal values 4xCapId $Author: ratnikov
Date:
2013/03/25 16:23:33
Revision:
1.8

Definition at line 23 of file HcalQIEData.h.


Constructor & Destructor Documentation

HcalQIEData::HcalQIEData ( ) [inline]

Definition at line 27 of file HcalQIEData.h.

References setupShape().

HcalQIEData::HcalQIEData ( const HcalTopology topo) [inline]

Definition at line 30 of file HcalQIEData.h.

References setupShape().


Member Function Documentation

bool HcalQIEData::addCoder ( const HcalQIECoder fCoder) [inline]

Definition at line 42 of file HcalQIEData.h.

References HcalCondObjectContainer< HcalQIECoder >::addValues().

Referenced by fillDefaults(), and HcalDbOnline::getObject().

{ return addValues(fCoder); }
const HcalQIECoder* HcalQIEData::getCoder ( DetId  fId) const [inline]

get QIE parameters

Definition at line 38 of file HcalQIEData.h.

References HcalCondObjectContainer< HcalQIECoder >::getValues().

Referenced by HcalCondXML::dumpObject(), HcalDbService::getHcalCoder(), and getShape().

{ return getValues(fId); }
const HcalQIEShape& HcalQIEData::getShape ( DetId  fId) const [inline]

get basic shape

Definition at line 35 of file HcalQIEData.h.

References getCoder(), mShape, and HcalQIECoder::qieIndex().

Referenced by HcalDbService::getHcalShape().

{ return mShape[getCoder(fId)->qieIndex()];}
const HcalQIEShape& HcalQIEData::getShape ( const HcalQIECoder coder) const [inline]

Definition at line 36 of file HcalQIEData.h.

References mShape, and HcalQIECoder::qieIndex().

{ return mShape[coder->qieIndex()];}
std::string HcalQIEData::myname ( ) const [inline, virtual]

Reimplemented from HcalCondObjectContainer< HcalQIECoder >.

Definition at line 46 of file HcalQIEData.h.

References AlCaHLTBitMon_QueryRunRegistry::string.

{return (std::string)"HcalQIEData";}
void HcalQIEData::setupShape ( )

Definition at line 3 of file HcalQIEData.cc.

References mShape, and HcalQIEShape::setLowEdges().

Referenced by HcalQIEData().

                             {
  //qie8
  const float binMin [32] = {-1,  0,  1,  2,  3,  4,  5,  6,  7,  8,
                             9, 10, 11, 12, 13, 14, 16, 18, 20, 22,
                             24, 26, 28, 31, 34, 37, 40, 44, 48, 52,
                             57, 62};
  mShape[0].setLowEdges(32,binMin);


  //qie10
  const float binMin2 [64] = {-1,  0,  1,  2,  3,    4,  5,  6,  7,  8,    9, 10, 11, 12, 13,   14,  // 16*1
                             15, 17, 19, 21, 23,   25, 27, 29, 31, 33,   35, 37, 39, 41, 43,   45, 47, 49, 51, 53,//20*2
                             55, 59, 63, 67, 71,   75, 79, 83, 87, 91,   95, 99, 103,107,111, 115,119,123,127,131,  135,//21*4 
                             139, 147, 155, 163, 171, 179, 187};// 7*8
  mShape[1].setLowEdges(64,binMin2);
}
void HcalQIEData::sort ( ) [inline]

Definition at line 44 of file HcalQIEData.h.

Referenced by fillDefaults(), and HcalDbOnline::getObject().

{}
bool HcalQIEData::sorted ( ) const [inline]

Definition at line 40 of file HcalQIEData.h.

{ return true; }

Member Data Documentation

Definition at line 51 of file HcalQIEData.h.

Referenced by getShape(), and setupShape().