CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
CSCCFEBSCAControllerWord Struct Reference

#include <CSCCFEBTimeSlice.h>

Public Member Functions

 CSCCFEBSCAControllerWord (unsigned short frame)
 
 CSCCFEBSCAControllerWord ()
 

Public Attributes

unsigned short l1a_phase: 1
 
unsigned short lct_phase: 1
 
unsigned short sca_blk: 4
 
unsigned short sca_full: 1
 
unsigned short trig_time: 8
 
unsigned short ts_flag: 1
 

Detailed Description

Definition at line 36 of file CSCCFEBTimeSlice.h.

Constructor & Destructor Documentation

◆ CSCCFEBSCAControllerWord() [1/2]

CSCCFEBSCAControllerWord::CSCCFEBSCAControllerWord ( unsigned short  frame)
explicit

TRIG_TIME indicates which of the eight time samples in the 400ns SCA block (lowest bit is the first sample, highest bit the eighth sample) corresponds to the arrival of the LCT; it should be at some fixed phase relative to the peak of the CSC pulse. SCA_BLK is the SCA Capacitor block used for this time sample. L1A_PHASE and LCT_PHASE show the phase of the 50ns CFEB digitization clock at the time the trigger was received (1=clock high, 0=clock low). SCA_FULL indicates lost SCA data due to SCA full condition. The TS_FLAG bit indicates the number of time samples to digitize per event; high=16 time samples, low=8 time samples.

Definition at line 21 of file CSCCFEBTimeSlice.cc.

28 {
29  memcpy(this, &frame, 2);
30 }

◆ CSCCFEBSCAControllerWord() [2/2]

CSCCFEBSCAControllerWord::CSCCFEBSCAControllerWord ( )
inline

Definition at line 42 of file CSCCFEBTimeSlice.h.

42 { bzero(this, 2); }

Member Data Documentation

◆ l1a_phase

unsigned short CSCCFEBSCAControllerWord::l1a_phase

Definition at line 46 of file CSCCFEBTimeSlice.h.

Referenced by cscdqm::EventProcessor::processCSC().

◆ lct_phase

unsigned short CSCCFEBSCAControllerWord::lct_phase

Definition at line 47 of file CSCCFEBTimeSlice.h.

◆ sca_blk

unsigned short CSCCFEBSCAControllerWord::sca_blk

Definition at line 45 of file CSCCFEBTimeSlice.h.

Referenced by cscdqm::EventProcessor::processCSC().

◆ sca_full

unsigned short CSCCFEBSCAControllerWord::sca_full

Definition at line 48 of file CSCCFEBTimeSlice.h.

◆ trig_time

unsigned short CSCCFEBSCAControllerWord::trig_time

Definition at line 44 of file CSCCFEBTimeSlice.h.

Referenced by cscdqm::EventProcessor::processCSC().

◆ ts_flag

unsigned short CSCCFEBSCAControllerWord::ts_flag

Definition at line 49 of file CSCCFEBTimeSlice.h.

Referenced by CSCCFEBData::CSCCFEBData().