CMS 3D CMS Logo

List of all members | Classes | Public Types | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes
CTPPSPixelDataFormatter Class Reference

#include <CTPPSPixelDataFormatter.h>

Classes

struct  PPSPixelIndex
 

Public Types

typedef edm::DetSetVector< CTPPSPixelDigiCollection
 
typedef std::vector< CTPPSPixelDigiDetDigis
 
typedef std::vector< CTPPSPixelDataErrorDetErrors
 
typedef std::unordered_map< cms_uint32_t, DetDigisDigis
 
typedef std::map< uint32_t, DetErrorsErrors
 
typedef std::unordered_map< int, FEDRawDataRawData
 
typedef uint32_t Word32
 
typedef uint64_t Word64
 

Public Member Functions

 CTPPSPixelDataFormatter (std::map< CTPPSPixelFramePosition, CTPPSPixelROCInfo > const &mapping)
 
void formatRawData (const bool &isRun3, unsigned int lvl1_ID, RawData &fedRawData, const Digis &digis, std::vector< PPSPixelIndex > v_iDdet2fed)
 
void interpretRawData (const bool &isRun3, bool &errorsInEvent, int fedId, const FEDRawData &data, Collection &digis, Errors &errors)
 
int nDigis () const
 
int nWords () const
 
void setErrorStatus (bool theErrorStatus)
 

Static Public Member Functions

static bool compare (const PPSPixelIndex &a, const PPSPixelIndex &b)
 

Private Member Functions

int checkError (const Word32 &data) const
 
std::string print (const Word64 &word) const
 

Private Attributes

Word32 m_ADC_mask
 
int m_ADC_shift
 
int m_allDetDigis
 
Word32 m_COL_mask
 
int m_COL_shift
 
Word32 m_DCOL_mask
 
int m_DCOL_shift
 
int m_DigiCounter
 
RPixErrorChecker m_ErrorCheck
 
int m_hasDetDigis
 
bool m_IncludeErrors
 
CTPPSPixelIndices m_Indices
 
Word32 m_LINK_mask
 
int m_LINK_shift
 
const std::map< CTPPSPixelFramePosition, CTPPSPixelROCInfo > & m_Mapping
 
Word32 m_PXID_mask
 
int m_PXID_shift
 
Word32 m_ROC_mask
 
int m_ROC_shift
 
Word32 m_ROW_mask
 
int m_ROW_shift
 
int m_WordCounter
 

Detailed Description

Transform CTPPSPixel raw data of a given FED to digi

FED OUTPUT DATA FORMAT (F.Ferro from SiPixel code)

The output is transmitted through a 64 bit S-link connection. The packet format is defined by the CMS RU group to be : 1st packet header, 64 bits, includes a 6 bit FED id. 2nd packet header, 64 bits. .......................... (detector data) packet trailer, 64 bits. of the 64 bit pixel data records consists of 2 32 bit words. Each 32 bit word includes data from 1 pixel, the bit fields are the following:

6 bit link ID (max 36) - this defines the input link within 1 FED. 5 bit ROC ID (max 24) - this defines the readout chip within one link. 5 bit DCOL ID (max 26) - this defines the double column index with 1 chip. 8 bit pixel ID (max 180) - this defines the pixel address within 1 DCOL. 8 bit ADC vales - this has the charge amplitude.

So, 1 pixel occupies 4 bytes. If the number of pixels is odd, one extra 32 bit word is added (value 0) to fill all 64 bits.

The CTPPSPixelDataFormatter interpret/format ONLY detector data words (not FED headers or trailer, which are treated elsewhere).

Definition at line 53 of file CTPPSPixelDataFormatter.h.

Member Typedef Documentation

◆ Collection

Definition at line 55 of file CTPPSPixelDataFormatter.h.

◆ DetDigis

Definition at line 58 of file CTPPSPixelDataFormatter.h.

◆ DetErrors

Definition at line 60 of file CTPPSPixelDataFormatter.h.

◆ Digis

Definition at line 66 of file CTPPSPixelDataFormatter.h.

◆ Errors

typedef std::map<uint32_t, DetErrors> CTPPSPixelDataFormatter::Errors

Definition at line 61 of file CTPPSPixelDataFormatter.h.

◆ RawData

typedef std::unordered_map<int, FEDRawData> CTPPSPixelDataFormatter::RawData

Definition at line 57 of file CTPPSPixelDataFormatter.h.

◆ Word32

Definition at line 63 of file CTPPSPixelDataFormatter.h.

◆ Word64

Definition at line 64 of file CTPPSPixelDataFormatter.h.

Constructor & Destructor Documentation

◆ CTPPSPixelDataFormatter()

CTPPSPixelDataFormatter::CTPPSPixelDataFormatter ( std::map< CTPPSPixelFramePosition, CTPPSPixelROCInfo > const &  mapping)

Definition at line 40 of file CTPPSPixelDataFormatter.cc.

References m_ADC_mask, m_ADC_shift, m_COL_mask, m_COL_shift, m_DCOL_mask, m_DCOL_shift, m_LINK_mask, m_LINK_shift, m_PXID_mask, m_PXID_shift, m_ROC_mask, m_ROC_shift, m_ROW_mask, and m_ROW_shift.

42  int s32 = sizeof(Word32);
43  int s64 = sizeof(Word64);
44  int s8 = sizeof(char);
45  if (s8 != 1 || s32 != 4 * s8 || s64 != 2 * s32) {
46  LogError("UnexpectedSizes") << " unexpected sizes: "
47  << " size of char is: " << s8 << ", size of Word32 is: " << s32
48  << ", size of Word64 is: " << s64 << ", send exception";
49  }
50 
51  m_ADC_shift = 0;
52  m_PXID_shift = m_ADC_shift + m_ADC_bits;
53  m_DCOL_shift = m_PXID_shift + m_PXID_bits;
54  //Run3 shifts
55  m_ROW_shift = m_ADC_shift + m_ADC_bits;
56  m_COL_shift = m_ROW_shift + m_ROW_bits;
57 
58  m_ROC_shift = m_DCOL_shift + m_DCOL_bits;
59 
60  m_LINK_shift = m_ROC_shift + m_ROC_bits;
61  m_LINK_mask = ~(~CTPPSPixelDataFormatter::Word32(0) << m_LINK_bits);
62  m_ROC_mask = ~(~CTPPSPixelDataFormatter::Word32(0) << m_ROC_bits);
63 
64  m_DCOL_mask = ~(~CTPPSPixelDataFormatter::Word32(0) << m_DCOL_bits);
65  m_PXID_mask = ~(~CTPPSPixelDataFormatter::Word32(0) << m_PXID_bits);
66  //Run3 masks
67  m_COL_mask = ~(~CTPPSPixelDataFormatter::Word32(0) << m_COL_bits);
68  m_ROW_mask = ~(~CTPPSPixelDataFormatter::Word32(0) << m_ROW_bits);
69 
70  m_ADC_mask = ~(~CTPPSPixelDataFormatter::Word32(0) << m_ADC_bits);
71 }
const std::map< CTPPSPixelFramePosition, CTPPSPixelROCInfo > & m_Mapping
Log< level::Error, false > LogError

Member Function Documentation

◆ checkError()

int CTPPSPixelDataFormatter::checkError ( const Word32 data) const
private

◆ compare()

static bool CTPPSPixelDataFormatter::compare ( const PPSPixelIndex a,
const PPSPixelIndex b 
)
inlinestatic

Definition at line 93 of file CTPPSPixelDataFormatter.h.

References a, and b.

Referenced by formatRawData(), and CTPPSPixelDigiToRaw::produce().

93  {
94  return a.id < b.id || (a.id == b.id && a.roc < b.roc);
95  }
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119

◆ formatRawData()

void CTPPSPixelDataFormatter::formatRawData ( const bool &  isRun3,
unsigned int  lvl1_ID,
RawData fedRawData,
const Digis digis,
std::vector< PPSPixelIndex v_iDdet2fed 
)

Definition at line 228 of file CTPPSPixelDataFormatter.cc.

References compare(), pps::pixel::ElectronicIndex::dcol, CTPPSPixelIndices::DColumn(), Exception, l1tstage2_dqm_sourceclient-live_cfg::fedId, l1t_dqm_sourceclient-live_cfg::fedRawData, mps_fire::i, L1TdeCSCTPG_cfi::isRun3, pps::pixel::ElectronicIndex::link, LogDebug, LogTrace, m_ADC_shift, m_allDetDigis, m_COL_shift, m_DCOL_shift, m_hasDetDigis, m_Indices, m_LINK_shift, m_PXID_shift, m_ROC_shift, m_ROW_shift, m_WordCounter, print(), pps::pixel::ElectronicIndex::pxid, FastTimerService_cff::range, l1tstage2_dqm_sourceclient-live_cfg::rawData, pps::pixel::ElectronicIndex::roc, rpixValues::ROCSizeInX, alignCSCRings::s, FEDHeader::set(), FEDTrailer::set(), and CTPPSPixelIndices::transformToROC().

232  {
233  std::map<int, vector<Word32> > words;
234  // translate digis into 32-bit raw words and store in map indexed by Fed
235  m_allDetDigis = 0;
236  m_hasDetDigis = 0;
237  for (auto const& im : digis) {
238  m_allDetDigis++;
239  cms_uint32_t rawId = im.first;
240 
241  const DetDigis& detDigis = im.second;
242  for (auto const& it : detDigis) {
243  int nroc = 999, nlink = 999;
244  int rocPixelRow = -1, rocPixelColumn = -1, rocID = -1;
245  int modulePixelColumn = it.column();
246  int modulePixelRow = it.row();
247 
248  m_Indices.transformToROC(modulePixelColumn, modulePixelRow, rocID, rocPixelColumn, rocPixelRow);
249  const int dcol = m_Indices.DColumn(rocPixelColumn);
250  const int pxid = 2 * (rpixValues::ROCSizeInX - rocPixelRow) + (rocPixelColumn % 2);
251 
252  unsigned int urocID = rocID;
253  PPSPixelIndex myTest = {rawId, urocID, 0, 0, 0};
254  // the range has always at most one element
255  auto range = std::equal_range(iDdet2fed.begin(), iDdet2fed.end(), myTest, compare);
256  if (range.first != range.second) {
257  auto i = range.first - iDdet2fed.begin();
258  nlink = iDdet2fed.at(i).fedch;
259  nroc = iDdet2fed.at(i).rocch + 1;
260 
261  pps::pixel::ElectronicIndex cabling = {nlink, nroc, dcol, pxid};
262  if (isRun3) {
263  cms_uint32_t word = (cabling.link << m_LINK_shift) | (cabling.roc << m_ROC_shift) |
264  (rocPixelColumn << m_COL_shift) | (rocPixelRow << m_ROW_shift) |
265  (it.adc() << m_ADC_shift);
266 
267  words[iDdet2fed.at(i).fedid].push_back(word);
268  } else {
269  cms_uint32_t word = (cabling.link << m_LINK_shift) | (cabling.roc << m_ROC_shift) |
270  (cabling.dcol << m_DCOL_shift) | (cabling.pxid << m_PXID_shift) |
271  (it.adc() << m_ADC_shift);
272 
273  words[iDdet2fed.at(i).fedid].push_back(word);
274  }
275  m_WordCounter++;
276  m_hasDetDigis++;
277 
278  } // range
279  } // for DetDigis
280  } // for Digis
281 
282  LogTrace(" allDetDigis/hasDetDigis : ") << m_allDetDigis << "/" << m_hasDetDigis;
283  for (auto const& feddata : words) {
284  int fedId = feddata.first;
285 
286  // since raw words are written in the form of 64-bit packets
287  // add extra 32-bit word to make number of words even if necessary
288  if (words.find(fedId)->second.size() % 2 != 0)
289  words[fedId].emplace_back(0);
290 
291  // size in Bytes; create output structure
292  size_t dataSize = words.find(fedId)->second.size() * sizeof(Word32);
293  int nHeaders = 1;
294  int nTrailers = 1;
295  dataSize += (nHeaders + nTrailers) * sizeof(Word64);
296 
297  FEDRawData rawData{dataSize};
298 
299  // get begining of data;
300  Word64* word = reinterpret_cast<Word64*>(rawData.data());
301 
302  // write one header
303  FEDHeader::set(reinterpret_cast<unsigned char*>(word), 0, lvl1_ID, 0, fedId);
304  word++;
305 
306  // write data
307  unsigned int nWord32InFed = words.find(fedId)->second.size();
308  for (unsigned int i = 0; i < nWord32InFed; i += 2) {
309  *word = (Word64(words.find(fedId)->second[i]) << 32) | words.find(fedId)->second[i + 1];
310  LogDebug("CTPPSPixelDataFormatter") << print(*word);
311  word++;
312  }
313 
314  // write one trailer
315  FEDTrailer::set(reinterpret_cast<unsigned char*>(word), dataSize / sizeof(Word64), 0, 0, 0);
316  word++;
317 
318  // check memory
319  if (word != reinterpret_cast<Word64*>(rawData.data() + dataSize)) {
320  //if (word != reinterpret_cast<Word64* >(rawData->data()+dataSize)) {
321  string s = "** PROBLEM in CTPPSPixelDataFormatter !!!";
322  LogError("CTPPSPixelDataFormatter") << "** PROBLEM in CTPPSPixelDataFormatter!!!";
323  throw cms::Exception(s);
324  } // if (word !=
326  } // for (RI feddata
327 }
std::string print(const Word64 &word) const
static bool compare(const PPSPixelIndex &a, const PPSPixelIndex &b)
Log< level::Error, false > LogError
#define LogTrace(id)
uint64_t word
static void set(unsigned char *trailer, uint32_t lenght, uint16_t crc, uint8_t evt_stat, uint8_t tts, bool moreTrailers=false)
Set all fields in the trailer.
Definition: FEDTrailer.cc:31
int transformToROC(const int col, const int row, int &rocId, int &colROC, int &rowROC) const
unsigned int cms_uint32_t
Definition: typedefs.h:15
std::vector< CTPPSPixelDigi > DetDigis
static void set(unsigned char *header, uint8_t triggerType, uint32_t lvl1ID, uint16_t bxID, uint16_t sourceID, uint8_t version=0, bool moreHeaders=false)
Set all fields in the header.
Definition: FEDHeader.cc:25
static int DColumn(const int colROC)
constexpr int ROCSizeInX
cms_uint64_t Word64
#define LogDebug(id)

◆ interpretRawData()

void CTPPSPixelDataFormatter::interpretRawData ( const bool &  isRun3,
bool &  errorsInEvent,
int  fedId,
const FEDRawData data,
Collection digis,
Errors errors 
)

check CRC bit

check headers

check trailers

data words

Definition at line 78 of file CTPPSPixelDataFormatter.cc.

References gpuClustering::adc, RPixErrorChecker::checkCRC(), RPixErrorChecker::checkHeader(), RPixErrorChecker::checkROC(), RPixErrorChecker::checkTrailer(), cuy::col, RPixErrorChecker::conversionError(), edm::DetSet< T >::data, RPixErrorChecker::dummyDetId, funct::false, l1tstage2_dqm_sourceclient-live_cfg::fedId, edm::DetSetVector< T >::find_or_insert(), RecoTauValidation_cfi::header, CTPPSPixelROCInfo::iD, InvalidLinkId, InvalidPixelId, InvalidROCId, L1TdeCSCTPG_cfi::isRun3, LIKELY, MainPageGenerator::link, LogTrace, m_ADC_mask, m_ADC_shift, m_COL_mask, m_COL_shift, m_DCOL_mask, m_DCOL_shift, m_ErrorCheck, m_LINK_mask, m_LINK_shift, m_Mapping, m_PXID_mask, m_PXID_shift, m_ROC_mask, m_ROC_shift, m_ROW_mask, m_ROW_shift, m_WordCounter, nWords(), print(), l1tstage2_dqm_sourceclient-live_cfg::rawData, CTPPSPixelROC::rawId(), CTPPSPixelROCInfo::roc, PixelMapPlotter::roc, CTPPSPixelROC::toGlobal(), CTPPSPixelROC::toGlobalfromDcol(), Unknown, and UNLIKELY.

79  {
80  int nWords = rawData.size() / sizeof(Word64);
81  if (nWords == 0)
82  return;
83 
85  const Word64* trailer = reinterpret_cast<const Word64*>(rawData.data()) + (nWords - 1);
86  if (!m_ErrorCheck.checkCRC(errorsInEvent, fedId, trailer, errors))
87  return;
88 
90  const Word64* header = reinterpret_cast<const Word64*>(rawData.data());
91  header--;
92  bool moreHeaders = true;
93  while (moreHeaders) {
94  header++;
95  LogTrace("") << "HEADER: " << print(*header);
96  bool headerStatus = m_ErrorCheck.checkHeader(errorsInEvent, fedId, header, errors);
97  moreHeaders = headerStatus;
98  }
99 
101  bool moreTrailers = true;
102  trailer++;
103  while (moreTrailers) {
104  trailer--;
105  LogTrace("") << "TRAILER: " << print(*trailer);
106  bool trailerStatus = m_ErrorCheck.checkTrailer(errorsInEvent, fedId, nWords, trailer, errors);
107  moreTrailers = trailerStatus;
108  }
109 
111  m_WordCounter += 2 * (nWords - 2);
112  LogTrace("") << "data words: " << (trailer - header - 1);
113 
114  int link = -1;
115  int roc = -1;
116 
117  bool skipROC = false;
118 
119  edm::DetSet<CTPPSPixelDigi>* detDigis = nullptr;
120 
121  const Word32* bw = (const Word32*)(header + 1);
122  const Word32* ew = (const Word32*)(trailer);
123  if (*(ew - 1) == 0) {
124  ew--;
125  m_WordCounter--;
126  }
127  for (auto word = bw; word < ew; ++word) {
128  LogTrace("") << "DATA: " << print(*word);
129 
130  auto ww = *word;
131  if UNLIKELY (ww == 0) {
132  m_WordCounter--;
133  continue;
134  }
135  int nlink = (ww >> m_LINK_shift) & m_LINK_mask;
136  int nroc = (ww >> m_ROC_shift) & m_ROC_mask;
137  int FMC = 0;
138  uint32_t iD = RPixErrorChecker::dummyDetId; //0xFFFFFFFF; //dummyDetId
139  int convroc = nroc - 1;
140  CTPPSPixelFramePosition fPos(fedId, FMC, nlink, convroc);
141 
142  std::map<CTPPSPixelFramePosition, CTPPSPixelROCInfo>::const_iterator mit;
143  mit = m_Mapping.find(fPos);
144 
145  if (mit == m_Mapping.end()) {
146  if (nlink >= maxLinkIndex) {
148  edm::LogError("CTPPSPixelDataFormatter") << " Invalid linkId ";
149  } else if ((nroc - 1) >= maxRocIndex) {
150  // if RocId wrong try to recover at least plane id
151  CTPPSPixelFramePosition fPosDummyROC(fedId, FMC, nlink, 0);
152  mit = m_Mapping.find(fPosDummyROC);
153  if (mit != m_Mapping.end())
154  iD = (*mit).second.iD;
156  edm::LogError("CTPPSPixelDataFormatter")
157  << " Invalid ROC Id " << convroc << " in nlink " << nlink << " of FED " << fedId << " in DetId " << iD;
158  } else {
160  edm::LogError("CTPPSPixelDataFormatter") << " Error unknown ";
161  }
162  continue; //skip word
163  }
164 
165  CTPPSPixelROCInfo rocInfo = (*mit).second;
166  iD = rocInfo.iD;
167  CTPPSPixelROC rocp(iD, rocInfo.roc, convroc);
168 
169  if ((nlink != link) | (nroc != roc)) { // new roc
170  link = nlink;
171  roc = nroc;
172 
173  skipROC = LIKELY((roc - 1) < maxRocIndex) ? false : !m_ErrorCheck.checkROC(errorsInEvent, fedId, iD, ww, errors);
174  if (skipROC)
175  continue;
176 
177  auto rawId = rocp.rawId();
178 
179  detDigis = &digis.find_or_insert(rawId);
180  if ((*detDigis).empty())
181  (*detDigis).data.reserve(32); // avoid the first relocations
182  }
183 
184  int adc = (ww >> m_ADC_shift) & m_ADC_mask;
185 
186  int dcol = (ww >> m_DCOL_shift) & m_DCOL_mask;
187  int pxid = (ww >> m_PXID_shift) & m_PXID_mask;
188  int col = (ww >> m_COL_shift) & m_COL_mask;
189  int row = (ww >> m_ROW_shift) & m_ROW_mask;
190 
191  if (!isRun3 && (dcol < min_Dcol || dcol > max_Dcol || pxid < min_Pixid || pxid > max_Pixid)) {
192  edm::LogError("CTPPSPixelDataFormatter")
193  << " unphysical dcol and/or pxid "
194  << "fedId=" << fedId << " nllink=" << nlink << " convroc=" << convroc << " adc=" << adc << " dcol=" << dcol
195  << " pxid=" << pxid << " detId=" << iD;
196 
198 
199  continue;
200  }
201  if (isRun3 && (col < min_COL || col > max_COL || row < min_ROW || row > max_ROW)) {
202  edm::LogError("CTPPSPixelDataFormatter") << " unphysical col and/or row "
203  << "fedId=" << fedId << " nllink=" << nlink << " convroc=" << convroc
204  << " adc=" << adc << " col=" << col << " row=" << row << " detId=" << iD;
206 
207  continue;
208  }
209 
210  std::pair<int, int> rocPixel;
211  std::pair<int, int> modPixel;
212 
213  if (isRun3) {
214  rocPixel = std::make_pair(row, col);
215  modPixel = rocp.toGlobal(rocPixel);
216  } else {
217  rocPixel = std::make_pair(dcol, pxid);
218  modPixel = rocp.toGlobalfromDcol(rocPixel);
219  }
220 
221  CTPPSPixelDigi testdigi(modPixel.first, modPixel.second, adc);
222 
223  if (detDigis)
224  (*detDigis).data.emplace_back(modPixel.first, modPixel.second, adc);
225  }
226 }
Contains mappind data related to a ROC.
bool checkHeader(bool &errorsInEvent, int fedId, const Word64 *header, Errors &errors) const
bool checkCRC(bool &errorsInEvent, int fedId, const Word64 *trailer, Errors &errors) const
std::string print(const Word64 &word) const
bool checkTrailer(bool &errorsInEvent, int fedId, unsigned int nWords, const Word64 *trailer, Errors &errors) const
#define LIKELY(x)
Definition: Likely.h:20
const std::map< CTPPSPixelFramePosition, CTPPSPixelROCInfo > & m_Mapping
Log< level::Error, false > LogError
bool checkROC(bool &errorsInEvent, int fedId, uint32_t iD, const Word32 &errorWord, Errors &errors) const
#define LogTrace(id)
uint32_t iD
the symbolic id
uint64_t word
cms_uint32_t Word32
void conversionError(int fedId, uint32_t iD, const State &state, const Word32 &errorWord, Errors &errors) const
static constexpr Word32 dummyDetId
collection_type data
Definition: DetSet.h:80
col
Definition: cuy.py:1009
Definition: errors.py:1
#define UNLIKELY(x)
Definition: Likely.h:21
uint16_t *__restrict__ uint16_t const *__restrict__ adc
cms_uint64_t Word64

◆ nDigis()

int CTPPSPixelDataFormatter::nDigis ( ) const
inline

Definition at line 77 of file CTPPSPixelDataFormatter.h.

References m_DigiCounter.

◆ nWords()

int CTPPSPixelDataFormatter::nWords ( ) const
inline

Definition at line 72 of file CTPPSPixelDataFormatter.h.

References m_WordCounter.

Referenced by interpretRawData().

◆ print()

std::string CTPPSPixelDataFormatter::print ( const Word64 word) const
private

Definition at line 329 of file CTPPSPixelDataFormatter.cc.

References str.

Referenced by formatRawData(), and interpretRawData().

329  {
330  std::ostringstream str;
331  str << "word64: " << reinterpret_cast<const std::bitset<64>&>(word);
332  return str.str();
333 }
uint64_t word
#define str(s)

◆ setErrorStatus()

void CTPPSPixelDataFormatter::setErrorStatus ( bool  theErrorStatus)

Member Data Documentation

◆ m_ADC_mask

Word32 CTPPSPixelDataFormatter::m_ADC_mask
private

Definition at line 104 of file CTPPSPixelDataFormatter.h.

Referenced by CTPPSPixelDataFormatter(), and interpretRawData().

◆ m_ADC_shift

int CTPPSPixelDataFormatter::m_ADC_shift
private

◆ m_allDetDigis

int CTPPSPixelDataFormatter::m_allDetDigis
private

Definition at line 113 of file CTPPSPixelDataFormatter.h.

Referenced by formatRawData().

◆ m_COL_mask

Word32 CTPPSPixelDataFormatter::m_COL_mask
private

Definition at line 104 of file CTPPSPixelDataFormatter.h.

Referenced by CTPPSPixelDataFormatter(), and interpretRawData().

◆ m_COL_shift

int CTPPSPixelDataFormatter::m_COL_shift
private

◆ m_DCOL_mask

Word32 CTPPSPixelDataFormatter::m_DCOL_mask
private

Definition at line 104 of file CTPPSPixelDataFormatter.h.

Referenced by CTPPSPixelDataFormatter(), and interpretRawData().

◆ m_DCOL_shift

int CTPPSPixelDataFormatter::m_DCOL_shift
private

◆ m_DigiCounter

int CTPPSPixelDataFormatter::m_DigiCounter
private

Definition at line 112 of file CTPPSPixelDataFormatter.h.

Referenced by nDigis().

◆ m_ErrorCheck

RPixErrorChecker CTPPSPixelDataFormatter::m_ErrorCheck
private

Definition at line 101 of file CTPPSPixelDataFormatter.h.

Referenced by interpretRawData(), and setErrorStatus().

◆ m_hasDetDigis

int CTPPSPixelDataFormatter::m_hasDetDigis
private

Definition at line 114 of file CTPPSPixelDataFormatter.h.

Referenced by formatRawData().

◆ m_IncludeErrors

bool CTPPSPixelDataFormatter::m_IncludeErrors
private

Definition at line 100 of file CTPPSPixelDataFormatter.h.

Referenced by setErrorStatus().

◆ m_Indices

CTPPSPixelIndices CTPPSPixelDataFormatter::m_Indices
private

Definition at line 115 of file CTPPSPixelDataFormatter.h.

Referenced by formatRawData().

◆ m_LINK_mask

Word32 CTPPSPixelDataFormatter::m_LINK_mask
private

Definition at line 104 of file CTPPSPixelDataFormatter.h.

Referenced by CTPPSPixelDataFormatter(), and interpretRawData().

◆ m_LINK_shift

int CTPPSPixelDataFormatter::m_LINK_shift
private

◆ m_Mapping

const std::map<CTPPSPixelFramePosition, CTPPSPixelROCInfo>& CTPPSPixelDataFormatter::m_Mapping
private

Definition at line 110 of file CTPPSPixelDataFormatter.h.

Referenced by interpretRawData().

◆ m_PXID_mask

Word32 CTPPSPixelDataFormatter::m_PXID_mask
private

Definition at line 104 of file CTPPSPixelDataFormatter.h.

Referenced by CTPPSPixelDataFormatter(), and interpretRawData().

◆ m_PXID_shift

int CTPPSPixelDataFormatter::m_PXID_shift
private

◆ m_ROC_mask

Word32 CTPPSPixelDataFormatter::m_ROC_mask
private

Definition at line 104 of file CTPPSPixelDataFormatter.h.

Referenced by CTPPSPixelDataFormatter(), and interpretRawData().

◆ m_ROC_shift

int CTPPSPixelDataFormatter::m_ROC_shift
private

◆ m_ROW_mask

Word32 CTPPSPixelDataFormatter::m_ROW_mask
private

Definition at line 104 of file CTPPSPixelDataFormatter.h.

Referenced by CTPPSPixelDataFormatter(), and interpretRawData().

◆ m_ROW_shift

int CTPPSPixelDataFormatter::m_ROW_shift
private

◆ m_WordCounter

int CTPPSPixelDataFormatter::m_WordCounter
private

Definition at line 98 of file CTPPSPixelDataFormatter.h.

Referenced by formatRawData(), interpretRawData(), and nWords().