CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Public Attributes | Private Member Functions | Friends
SiPixelPedestals Class Reference

Event Setup object which holds DB information for all pixels. More...

#include <SiPixelPedestals.h>

Public Types

typedef std::map< unsigned int, SiPixelPedestalsVectorSiPixelPedestalsMap
 
typedef std::map< unsigned int, SiPixelPedestalsVector >::const_iterator SiPixelPedestalsMapIterator
 
typedef std::vector< SiPixelDbItemSiPixelPedestalsVector
 
typedef std::vector< SiPixelDbItem >::const_iterator SiPixelPedestalsVectorIterator
 

Public Member Functions

 SiPixelPedestals ()
 Constructor, destructor. More...
 
 ~SiPixelPedestals ()
 

Public Attributes

std::map< int, SiPixelPedestalsVectorm_pedestals
 

Private Member Functions

template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Friends

class boost::serialization::access
 
template<typename CondSerializationT , typename Enabled >
struct cond::serialization::access
 

Detailed Description

Event Setup object which holds DB information for all pixels.

Event Setup object which holds DB information for all pixels. DB info for a single pixel is held in SiPixelDbItem, which contains pedestal, noise, gain and status bits packed into an 32-bit wide unsigned int. The bit allocation is the following: bits [31:24] - status (0 if good, bits TBD set if not good) bits [23:16] - gain (upper 4 bits integer part, 4 bits fractional part) bits [15:8] - pedestal (upper 6 bits integer part, 2 bits fractional part) bits [7:0] - noise (upper 6 bits integer part, 2 bits fractional part)

Event Setup object which holds DB information for all pixels. DB info for a single pixel is held in SiPixelDbItem, which is a bit-packed 32-bit word.

Definition at line 20 of file SiPixelPedestals.h.

Member Typedef Documentation

◆ SiPixelPedestalsMap

Definition at line 30 of file SiPixelPedestals.h.

◆ SiPixelPedestalsMapIterator

typedef std::map<unsigned int, SiPixelPedestalsVector>::const_iterator SiPixelPedestals::SiPixelPedestalsMapIterator

Definition at line 31 of file SiPixelPedestals.h.

◆ SiPixelPedestalsVector

Definition at line 26 of file SiPixelPedestals.h.

◆ SiPixelPedestalsVectorIterator

Definition at line 27 of file SiPixelPedestals.h.

Constructor & Destructor Documentation

◆ SiPixelPedestals()

SiPixelPedestals::SiPixelPedestals ( )

Constructor, destructor.

Definition at line 3 of file SiPixelPedestals.cc.

3 {}

◆ ~SiPixelPedestals()

SiPixelPedestals::~SiPixelPedestals ( )

Definition at line 4 of file SiPixelPedestals.cc.

4 {}

Member Function Documentation

◆ serialize()

template<class Archive >
void SiPixelPedestals::serialize ( Archive &  ar,
const unsigned int  version 
)
private

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 37 of file SiPixelPedestals.h.

◆ cond::serialization::access

template<typename CondSerializationT , typename Enabled >
friend struct cond::serialization::access
friend

Definition at line 37 of file SiPixelPedestals.h.

Member Data Documentation

◆ m_pedestals

std::map<int, SiPixelPedestalsVector> SiPixelPedestals::m_pedestals

Definition at line 35 of file SiPixelPedestals.h.