CMS 3D CMS Logo

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

#include <RPixDetClusterizer.h>

Inheritance diagram for RPixCalibDigi:
CTPPSPixelDigi

Public Member Functions

int electrons () const
 
 RPixCalibDigi (unsigned char row, unsigned char col, unsigned short adc, unsigned short ele)
 
 RPixCalibDigi ()
 
void set_electrons (int a)
 
- Public Member Functions inherited from CTPPSPixelDigi
unsigned short adc () const
 
int channel () const
 
int column () const
 
 CTPPSPixelDigi (int packed_value)
 
 CTPPSPixelDigi (int row, int col, int adc)
 
 CTPPSPixelDigi (int chan, int adc)
 
 CTPPSPixelDigi ()
 
uint32_t packedData () const
 
int row () const
 Access to digi information. More...
 

Private Attributes

int electrons_
 

Additional Inherited Members

- Static Public Member Functions inherited from CTPPSPixelDigi
static std::pair< int, int > channelToPixel (int ch)
 
static int pixelToChannel (int row, int col)
 
- Static Public Attributes inherited from CTPPSPixelDigi
static const uint32_t adc_mask = 0x3FF
 
static const uint32_t adc_shift = 22
 
static const uint32_t adc_width = 10
 
static const uint32_t column_mask = 0x7FF
 
static const uint32_t column_mask_ch = 0x7FF
 
static const uint32_t column_shift = 11
 
static const uint32_t column_width = 11
 
static const uint32_t column_width_ch = 11
 const values for channel definition with bit structure: row_bits+col_bits More...
 
static const uint32_t max_adc = 0x3FF
 
static const uint32_t max_column = 0x7FF
 
static const uint32_t max_row = 0x7FF
 
static const uint32_t row_mask = 0x7FF
 
static const uint32_t row_mask_ch = 0x7FF
 
static const uint32_t row_shift = 0
 const values for digi packing with bit structure: adc_bits+col_bits+row_bits More...
 
static const uint32_t row_width = 11
 
static const uint32_t rowcol_mask = 0x3FFFFF
 

Detailed Description

Definition at line 26 of file RPixDetClusterizer.h.

Constructor & Destructor Documentation

RPixCalibDigi::RPixCalibDigi ( unsigned char  row,
unsigned char  col,
unsigned short  adc,
unsigned short  ele 
)
inline

Definition at line 30 of file RPixDetClusterizer.h.

References electrons_.

31  electrons_ = ele;
32  }
int row() const
Access to digi information.
col
Definition: cuy.py:1009
unsigned short adc() const
RPixCalibDigi::RPixCalibDigi ( )
inline

Definition at line 34 of file RPixDetClusterizer.h.

References electrons_.

34  : CTPPSPixelDigi(){
35  electrons_ = 0;
36 }

Member Function Documentation

int RPixCalibDigi::electrons ( ) const
inline

Definition at line 38 of file RPixDetClusterizer.h.

References electrons_.

Referenced by RPixDetClusterizer::make_cluster().

38  {
39  return electrons_;
40  }
void RPixCalibDigi::set_electrons ( int  a)
inline

Definition at line 41 of file RPixDetClusterizer.h.

References a, and electrons_.

41  {
42  electrons_=a;
43  }
double a
Definition: hdecay.h:121

Member Data Documentation

int RPixCalibDigi::electrons_
private

Definition at line 47 of file RPixDetClusterizer.h.

Referenced by electrons(), RPixCalibDigi(), and set_electrons().