46 unsigned short gInIntRep = int( g * mult_factor );
67 unsigned short gInIntRep = int( gain * mult_factor );
80 int gain_w,
int status_w)
81 : noise_width(noise_w), pedestal_width(pedestal_w), status_width(status_w)
87 if ( noise_w+pedestal_w+gain_w+status_w != 32) {
88 std::cout << std::endl <<
"Error in SiPixelDbItem::Packing constructor:"
89 <<
"sum of field widths != 32" << std::endl;
Pack the pixel information to use less memory.
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e g
PackedPixDbType pedestal_mask
PackedPixDbType status_mask
PackedPixDbType gain_mask
void set(short noise, short pedestal, float gain, char status)
A fast version which sets all in one go.
PackedPixDbType noise_mask
Packing(int noise_w, int pedestal_w, int gain_w, int status_w)
void setPedestal(short p)
PackedPixDbType packedVal_