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

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

#include <prototype/blob/master/offline/packages/tpc2019/TpcPrototypeUnpacker.h>

+ Inheritance diagram for TpcPrototypeUnpacker::ChannelHeader:
+ Collaboration diagram for TpcPrototypeUnpacker::ChannelHeader:

Public Member Functions

 ChannelHeader ()
 

Public Attributes

int size
 
int packet_type
 = p->iValue(channel * kPACKET_LENGTH + 2) & 0xffff; // that's the Elink packet type
 
int bx_counter
 = ((p->iValue(channel * kPACKET_LENGTH + 4) & 0xffff) << 4) | (p->iValue(channel * kPACKET_LENGTH + 5) & 0xffff);
 
int sampa_address
 = (p->iValue(channel * kPACKET_LENGTH + 3) >> 5) & 0xf;
 
int sampa_channel
 = p->iValue(channel * kPACKET_LENGTH + 3) & 0x1f;
 
int fee_channel
 = (sampa_address << 5) | sampa_channel;
 
int fee_id
 which fee
 
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 216 of file TpcPrototypeUnpacker.h.

View newest version in sPHENIX GitHub at line 216 of file TpcPrototypeUnpacker.h

Constructor & Destructor Documentation

TpcPrototypeUnpacker::ChannelHeader::ChannelHeader ( )
inline

Definition at line 241 of file TpcPrototypeUnpacker.h.

View newest version in sPHENIX GitHub at line 241 of file TpcPrototypeUnpacker.h

Member Data Documentation

int TpcPrototypeUnpacker::ChannelHeader::bx_counter

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

Definition at line 223 of file TpcPrototypeUnpacker.h.

View newest version in sPHENIX GitHub at line 223 of file TpcPrototypeUnpacker.h

Referenced by TpcPrototypeUnpacker::process_event().

int TpcPrototypeUnpacker::ChannelHeader::fee_channel

= (sampa_address << 5) | sampa_channel;

Definition at line 229 of file TpcPrototypeUnpacker.h.

View newest version in sPHENIX GitHub at line 229 of file TpcPrototypeUnpacker.h

Referenced by TpcPrototypeUnpacker::process_event().

int TpcPrototypeUnpacker::ChannelHeader::fee_id

which fee

Definition at line 232 of file TpcPrototypeUnpacker.h.

View newest version in sPHENIX GitHub at line 232 of file TpcPrototypeUnpacker.h

Referenced by TpcPrototypeUnpacker::process_event().

int TpcPrototypeUnpacker::ChannelHeader::max

Definition at line 239 of file TpcPrototypeUnpacker.h.

View newest version in sPHENIX GitHub at line 239 of file TpcPrototypeUnpacker.h

Referenced by TpcPrototypeUnpacker::process_event().

int TpcPrototypeUnpacker::ChannelHeader::packet_type

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

Definition at line 221 of file TpcPrototypeUnpacker.h.

View newest version in sPHENIX GitHub at line 221 of file TpcPrototypeUnpacker.h

Referenced by TpcPrototypeUnpacker::process_event().

int TpcPrototypeUnpacker::ChannelHeader::pad_x

pad coordinate

Definition at line 235 of file TpcPrototypeUnpacker.h.

View newest version in sPHENIX GitHub at line 235 of file TpcPrototypeUnpacker.h

Referenced by TpcPrototypeUnpacker::process_event().

int TpcPrototypeUnpacker::ChannelHeader::pad_y

Definition at line 236 of file TpcPrototypeUnpacker.h.

View newest version in sPHENIX GitHub at line 236 of file TpcPrototypeUnpacker.h

Referenced by TpcPrototypeUnpacker::process_event().

int TpcPrototypeUnpacker::ChannelHeader::pedestal

Definition at line 238 of file TpcPrototypeUnpacker.h.

View newest version in sPHENIX GitHub at line 238 of file TpcPrototypeUnpacker.h

Referenced by TpcPrototypeUnpacker::process_event().

int TpcPrototypeUnpacker::ChannelHeader::sampa_address

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

Definition at line 225 of file TpcPrototypeUnpacker.h.

View newest version in sPHENIX GitHub at line 225 of file TpcPrototypeUnpacker.h

Referenced by TpcPrototypeUnpacker::process_event().

int TpcPrototypeUnpacker::ChannelHeader::sampa_channel

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

Definition at line 227 of file TpcPrototypeUnpacker.h.

View newest version in sPHENIX GitHub at line 227 of file TpcPrototypeUnpacker.h

Referenced by TpcPrototypeUnpacker::process_event().

int TpcPrototypeUnpacker::ChannelHeader::size

Definition at line 219 of file TpcPrototypeUnpacker.h.

View newest version in sPHENIX GitHub at line 219 of file TpcPrototypeUnpacker.h

Referenced by TpcPrototypeUnpacker::process_event().


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