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 ()
 
 RPixCalibDigi (unsigned char row, unsigned char col, unsigned short adc, unsigned short ele)
 
void set_electrons (int a)
 
- Public Member Functions inherited from CTPPSPixelDigi
unsigned short adc () const
 
int channel () const
 
int column () const
 
 CTPPSPixelDigi ()
 
 CTPPSPixelDigi (int chan, int adc)
 
 CTPPSPixelDigi (int packed_value)
 
 CTPPSPixelDigi (int row, int col, int adc)
 
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 23 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 29 of file RPixDetClusterizer.h.

31  : CTPPSPixelDigi() { electrons_ = 0; }
32 

◆ RPixCalibDigi() [2/2]

RPixCalibDigi::RPixCalibDigi ( )
inline

Definition at line 34 of file RPixDetClusterizer.h.

34 { electrons_ = a; }

References a, and electrons_.

Member Function Documentation

◆ electrons()

int RPixCalibDigi::electrons ( ) const
inline

Definition at line 36 of file RPixDetClusterizer.h.

36 :
37  int electrons_;

Referenced by RPixDetClusterizer::make_cluster().

◆ set_electrons()

void RPixCalibDigi::set_electrons ( int  a)
inline

Definition at line 37 of file RPixDetClusterizer.h.

40 {

Member Data Documentation

◆ electrons_

int RPixCalibDigi::electrons_
private

Definition at line 40 of file RPixDetClusterizer.h.

Referenced by RPixCalibDigi().

a
double a
Definition: hdecay.h:119
RPixCalibDigi::electrons_
int electrons_
Definition: RPixDetClusterizer.h:40
CTPPSPixelDigi::CTPPSPixelDigi
CTPPSPixelDigi()
Definition: CTPPSPixelDigi.h:21