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 24 of file RPixDetClusterizer.h.

Constructor & Destructor Documentation

◆ RPixCalibDigi() [1/2]

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

Definition at line 26 of file RPixDetClusterizer.h.

References electrons_.

27  : CTPPSPixelDigi(row, col, adc) {
28  electrons_ = ele;
29  }
unsigned short adc() const
col
Definition: cuy.py:1009
int row() const
Access to digi information.

◆ RPixCalibDigi() [2/2]

RPixCalibDigi::RPixCalibDigi ( )
inline

Definition at line 31 of file RPixDetClusterizer.h.

References electrons_.

Member Function Documentation

◆ electrons()

int RPixCalibDigi::electrons ( ) const
inline

Definition at line 33 of file RPixDetClusterizer.h.

References electrons_.

Referenced by RPixDetClusterizer::make_cluster().

33 { return electrons_; }

◆ set_electrons()

void RPixCalibDigi::set_electrons ( int  a)
inline

Definition at line 34 of file RPixDetClusterizer.h.

References a, and electrons_.

34 { electrons_ = a; }
double a
Definition: hdecay.h:121

Member Data Documentation

◆ electrons_

int RPixCalibDigi::electrons_
private

Definition at line 37 of file RPixDetClusterizer.h.

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