Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TPCFEETestRecov1::ChannelHeader Class Reference

simple channel header class for ROOT file IO More...

#include <coresoftware/blob/master/offline/packages/tpcdaq/TPCFEETestRecov1.h>

+ Inheritance diagram for TPCFEETestRecov1::ChannelHeader:
+ Collaboration diagram for TPCFEETestRecov1::ChannelHeader:

Public Member Functions

 ChannelHeader ()
 

Public Attributes

int size
 
uint8_t packet_type
 = p->iValue(channel * kPACKET_LENGTH + 2) & 0xffff; // that's the Elink packet type
 
uint32_t bx_counter
 = ((p->iValue(channel * kPACKET_LENGTH + 4) & 0xffff) << 4) | (p->iValue(channel * kPACKET_LENGTH + 5) & 0xffff);
 
uint8_t sampa_address
 = (p->iValue(channel * kPACKET_LENGTH + 3) >> 5) & 0xf;
 
uint16_t sampa_channel
 = p->iValue(channel * kPACKET_LENGTH + 3) & 0x1f;
 
uint16_t fee_channel
 = (sampa_address << 5) | sampa_channel;
 
int pad_x
 pad coordinate
 
int pad_y
 
int pedestal
 
int max
 

Detailed Description

simple channel header class for ROOT file IO

Definition at line 188 of file TPCFEETestRecov1.h.

View newest version in sPHENIX GitHub at line 188 of file TPCFEETestRecov1.h

Constructor & Destructor Documentation

TPCFEETestRecov1::ChannelHeader::ChannelHeader ( )
inline

Definition at line 210 of file TPCFEETestRecov1.h.

View newest version in sPHENIX GitHub at line 210 of file TPCFEETestRecov1.h

Member Data Documentation

uint32_t TPCFEETestRecov1::ChannelHeader::bx_counter

= ((p->iValue(channel * kPACKET_LENGTH + 4) & 0xffff) << 4) | (p->iValue(channel * kPACKET_LENGTH + 5) & 0xffff);

Definition at line 195 of file TPCFEETestRecov1.h.

View newest version in sPHENIX GitHub at line 195 of file TPCFEETestRecov1.h

Referenced by TPCFEETestRecov1::process_event().

uint16_t TPCFEETestRecov1::ChannelHeader::fee_channel

= (sampa_address << 5) | sampa_channel;

Definition at line 201 of file TPCFEETestRecov1.h.

View newest version in sPHENIX GitHub at line 201 of file TPCFEETestRecov1.h

Referenced by TPCFEETestRecov1::process_event().

int TPCFEETestRecov1::ChannelHeader::max

Definition at line 208 of file TPCFEETestRecov1.h.

View newest version in sPHENIX GitHub at line 208 of file TPCFEETestRecov1.h

Referenced by TPCFEETestRecov1::process_event().

uint8_t TPCFEETestRecov1::ChannelHeader::packet_type

= p->iValue(channel * kPACKET_LENGTH + 2) & 0xffff; // that's the Elink packet type

Definition at line 193 of file TPCFEETestRecov1.h.

View newest version in sPHENIX GitHub at line 193 of file TPCFEETestRecov1.h

Referenced by TPCFEETestRecov1::process_event().

int TPCFEETestRecov1::ChannelHeader::pad_x

pad coordinate

Definition at line 204 of file TPCFEETestRecov1.h.

View newest version in sPHENIX GitHub at line 204 of file TPCFEETestRecov1.h

Referenced by TPCFEETestRecov1::process_event().

int TPCFEETestRecov1::ChannelHeader::pad_y

Definition at line 205 of file TPCFEETestRecov1.h.

View newest version in sPHENIX GitHub at line 205 of file TPCFEETestRecov1.h

Referenced by TPCFEETestRecov1::process_event().

int TPCFEETestRecov1::ChannelHeader::pedestal

Definition at line 207 of file TPCFEETestRecov1.h.

View newest version in sPHENIX GitHub at line 207 of file TPCFEETestRecov1.h

Referenced by TPCFEETestRecov1::process_event().

uint8_t TPCFEETestRecov1::ChannelHeader::sampa_address

= (p->iValue(channel * kPACKET_LENGTH + 3) >> 5) & 0xf;

Definition at line 197 of file TPCFEETestRecov1.h.

View newest version in sPHENIX GitHub at line 197 of file TPCFEETestRecov1.h

Referenced by TPCFEETestRecov1::process_event().

uint16_t TPCFEETestRecov1::ChannelHeader::sampa_channel

= p->iValue(channel * kPACKET_LENGTH + 3) & 0x1f;

Definition at line 199 of file TPCFEETestRecov1.h.

View newest version in sPHENIX GitHub at line 199 of file TPCFEETestRecov1.h

Referenced by TPCFEETestRecov1::process_event().

int TPCFEETestRecov1::ChannelHeader::size

Definition at line 191 of file TPCFEETestRecov1.h.

View newest version in sPHENIX GitHub at line 191 of file TPCFEETestRecov1.h

Referenced by TPCFEETestRecov1::process_event().


The documentation for this class was generated from the following file: