CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Private Member Functions | Private Attributes
PixelDataFormatter Class Reference

#include <PixelDataFormatter.h>

Public Types

typedef std::vector< PixelDigiDetDigis
 
typedef std::vector
< SiPixelRawDataError
DetErrors
 
typedef std::map< cms_uint32_t,
DetDigis
Digis
 
typedef std::map< cms_uint32_t,
DetErrors
Errors
 
typedef std::pair
< DetDigis::const_iterator,
DetDigis::const_iterator > 
Range
 
typedef std::map< int, FEDRawDataRawData
 
typedef cms_uint32_t Word32
 
typedef cms_uint64_t Word64
 

Public Member Functions

void formatRawData (unsigned int lvl1_ID, RawData &fedRawData, const Digis &digis)
 
void interpretRawData (bool &errorsInEvent, int fedId, const FEDRawData &data, Digis &digis, Errors &errors)
 
int nDigis () const
 
int nWords () const
 
void passFrameReverter (const SiPixelFrameReverter *reverter)
 
 PixelDataFormatter (const SiPixelFedCabling *map)
 
void setErrorStatus (bool ErrorStatus)
 
void setModulesToUnpack (const std::set< unsigned int > *moduleIds)
 
void setQualityStatus (bool QualityStatus, const SiPixelQuality *QualityInfo)
 

Private Member Functions

int checkError (const Word32 &data) const
 
int digi2word (cms_uint32_t detId, const PixelDigi &digi, std::map< int, std::vector< Word32 > > &words) const
 
cms_uint32_t errorDetId (const SiPixelFrameConverter *converter, int fedId, int errorType, const Word32 &word) const
 
std::string print (const PixelDigi &digi) const
 
std::string print (const Word64 &word) const
 
int word2digi (const int fedId, const SiPixelFrameConverter *converter, const bool includeError, const bool useQuality, const Word32 &word, Digis &digis) const
 

Private Attributes

int allDetDigis
 
const SiPixelQualitybadPixelInfo
 
bool debug
 
ErrorChecker errorcheck
 
int hasDetDigis
 
bool includeErrors
 
const std::set< unsigned int > * modulesToUnpack
 
const SiPixelFedCablingtheCablingTree
 
int theDigiCounter
 
const SiPixelFrameRevertertheFrameReverter
 
int theWordCounter
 
bool useQualityInfo
 

Detailed Description

Transforms Pixel raw data of a given FED to orca digi and vice versa.

FED OUTPUT DATA FORMAT 6/02, d.k. (11/02 updated for 100*150 pixels)

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 PixelDataFormatter interpret/format ONLY detector data words (not FED headers or trailer, which are treated elsewhere).

Definition at line 51 of file PixelDataFormatter.h.

Member Typedef Documentation

Definition at line 56 of file PixelDataFormatter.h.

Definition at line 59 of file PixelDataFormatter.h.

Definition at line 57 of file PixelDataFormatter.h.

Definition at line 60 of file PixelDataFormatter.h.

typedef std::pair<DetDigis::const_iterator, DetDigis::const_iterator> PixelDataFormatter::Range

Definition at line 58 of file PixelDataFormatter.h.

typedef std::map<int, FEDRawData> PixelDataFormatter::RawData

Definition at line 55 of file PixelDataFormatter.h.

Definition at line 62 of file PixelDataFormatter.h.

Definition at line 63 of file PixelDataFormatter.h.

Constructor & Destructor Documentation

PixelDataFormatter::PixelDataFormatter ( const SiPixelFedCabling map)

Definition at line 47 of file PixelDataFormatter.cc.

References allDetDigis, hasDetDigis, includeErrors, and useQualityInfo.

49 {
50  int s32 = sizeof(Word32);
51  int s64 = sizeof(Word64);
52  int s8 = sizeof(char);
53  if ( s8 != 1 || s32 != 4*s8 || s64 != 2*s32) {
54  LogError("UnexpectedSizes")
55  <<" unexpected sizes: "
56  <<" size of char is: " << s8
57  <<", size of Word32 is: " << s32
58  <<", size of Word64 is: " << s64
59  <<", send exception" ;
60  }
61  includeErrors = false;
62  useQualityInfo = false;
63  allDetDigis = 0;
64  hasDetDigis = 0;
65 }
const std::set< unsigned int > * modulesToUnpack
const SiPixelQuality * badPixelInfo
const SiPixelFedCabling * theCablingTree

Member Function Documentation

int PixelDataFormatter::checkError ( const Word32 data) const
private
int PixelDataFormatter::digi2word ( cms_uint32_t  detId,
const PixelDigi digi,
std::map< int, std::vector< Word32 > > &  words 
) const
private

Definition at line 228 of file PixelDataFormatter.cc.

References PixelDigi::adc(), ADC_shift, PixelDigi::column(), sipixelobjects::ElectronicIndex::dcol, DCOL_shift, sipixelobjects::ElectronicIndex::link, LINK_shift, LogDebug, print(), sipixelobjects::ElectronicIndex::pxid, PXID_shift, sipixelobjects::ElectronicIndex::roc, ROC_shift, PixelDigi::row(), theFrameReverter, theWordCounter, and SiPixelFrameReverter::toCabling().

Referenced by formatRawData().

230 {
231  LogDebug("PixelDataFormatter")
232 // <<" detId: " << detId
233  <<print(digi);
234 
235  DetectorIndex detector = {detId, digi.row(), digi.column()};
236  ElectronicIndex cabling;
237  int fedId = theFrameReverter->toCabling(cabling, detector);
238  if (fedId<0) return fedId;
239 
240  Word32 word =
241  (cabling.link << LINK_shift)
242  | (cabling.roc << ROC_shift)
243  | (cabling.dcol << DCOL_shift)
244  | (cabling.pxid << PXID_shift)
245  | (digi.adc() << ADC_shift);
246  words[fedId].push_back(word);
247  theWordCounter++;
248 
249  return 0;
250 }
#define LogDebug(id)
int row() const
Definition: PixelDigi.h:35
const int DCOL_shift
Definition: ErrorChecker.cc:31
int toCabling(sipixelobjects::ElectronicIndex &cabling, const sipixelobjects::DetectorIndex &detector) const
const int PXID_shift
Definition: ErrorChecker.cc:30
const int LINK_shift
Definition: ErrorChecker.cc:33
const int ADC_shift
Definition: ErrorChecker.cc:29
std::string print(const PixelDigi &digi) const
unsigned short adc() const
Definition: PixelDigi.h:38
const SiPixelFrameReverter * theFrameReverter
const int ROC_shift
Definition: ErrorChecker.cc:32
int column() const
Definition: PixelDigi.h:36
cms_uint32_t PixelDataFormatter::errorDetId ( const SiPixelFrameConverter converter,
int  fedId,
int  errorType,
const Word32 word 
) const
private
void PixelDataFormatter::formatRawData ( unsigned int  lvl1_ID,
RawData fedRawData,
const Digis digis 
)

Definition at line 160 of file PixelDataFormatter.cc.

References allDetDigis, FEDRawData::data(), digi2word(), edm::hlt::Exception, hasDetDigis, i, LogDebug, LogTrace, print(), alignCSCRings::s, FEDTrailer::set(), FEDHeader::set(), ntuplemaker::status, and theDigiCounter.

Referenced by SiPixelDigiToRaw::produce().

161 {
162  std::map<int, vector<Word32> > words;
163 
164  // translate digis into 32-bit raw words and store in map indexed by Fed
165  for (Digis::const_iterator im = digis.begin(); im != digis.end(); im++) {
166  allDetDigis++;
167  cms_uint32_t rawId = im->first;
168  hasDetDigis++;
169  const DetDigis & detDigis = im->second;
170  for (DetDigis::const_iterator it = detDigis.begin(); it != detDigis.end(); it++) {
171  theDigiCounter++;
172  const PixelDigi & digi = (*it);
173  int status = digi2word( rawId, digi, words);
174  if (status) {
175  LogError("FormatDataException")
176  <<" digi2word returns error #"<<status
177  <<" Ndigis: "<<theDigiCounter << endl
178  <<" detector: "<<rawId<< endl
179  << print(digi) <<endl;
180  } // if (status)
181  } // for (DetDigis
182  } // for (Digis
183  LogTrace(" allDetDigis/hasDetDigis : ") << allDetDigis<<"/"<<hasDetDigis;
184 
185  typedef std::map<int, vector<Word32> >::const_iterator RI;
186  for (RI feddata = words.begin(); feddata != words.end(); feddata++) {
187  int fedId = feddata->first;
188  // since raw words are written in the form of 64-bit packets
189  // add extra 32-bit word to make number of words even if necessary
190  if (words.find(fedId)->second.size() %2 != 0) words[fedId].push_back( Word32(0) );
191 
192  // size in Bytes; create output structure
193  int dataSize = words.find(fedId)->second.size() * sizeof(Word32);
194  int nHeaders = 1;
195  int nTrailers = 1;
196  dataSize += (nHeaders+nTrailers)*sizeof(Word64);
197  FEDRawData * rawData = new FEDRawData(dataSize);
198 
199  // get begining of data;
200  Word64 * word = reinterpret_cast<Word64* >(rawData->data());
201 
202  // write one header
203  FEDHeader::set( reinterpret_cast<unsigned char*>(word), 0, lvl1_ID, 0, fedId);
204  word++;
205 
206  // write data
207  unsigned int nWord32InFed = words.find(fedId)->second.size();
208  for (unsigned int i=0; i < nWord32InFed; i+=2) {
209  *word = (Word64(words.find(fedId)->second[i]) << 32 ) | words.find(fedId)->second[i+1];
210  LogDebug("PixelDataFormatter") << print(*word);
211  word++;
212  }
213 
214  // write one trailer
215  FEDTrailer::set( reinterpret_cast<unsigned char*>(word), dataSize/sizeof(Word64), 0,0,0);
216  word++;
217 
218  // check memory
219  if (word != reinterpret_cast<Word64* >(rawData->data()+dataSize)) {
220  string s = "** PROBLEM in PixelDataFormatter !!!";
221  throw cms::Exception(s);
222  } // if (word !=
223  fedRawData[fedId] = *rawData;
224  delete rawData;
225  } // for (RI feddata
226 }
#define LogDebug(id)
int i
Definition: DBlmapReader.cc:9
static void set(unsigned char *trailer, int evt_lgth, int crc, int evt_stat, int tts, bool T=false)
Set all fields in the trailer.
Definition: FEDTrailer.cc:44
static void set(unsigned char *header, int evt_ty, int lvl1_ID, int bx_ID, int source_ID, int version=0, bool H=false)
Set all fields in the header.
Definition: FEDHeader.cc:42
std::string print(const PixelDigi &digi) const
uint64_t Word64
unsigned int cms_uint32_t
Definition: typedefs.h:15
#define LogTrace(id)
std::vector< PixelDigi > DetDigis
int digi2word(cms_uint32_t detId, const PixelDigi &digi, std::map< int, std::vector< Word32 > > &words) const
const unsigned char * data() const
Return a const pointer to the beginning of the data buffer.
Definition: FEDRawData.cc:29
tuple status
Definition: ntuplemaker.py:245
void PixelDataFormatter::interpretRawData ( bool &  errorsInEvent,
int  fedId,
const FEDRawData data,
Digis digis,
Errors errors 
)

Definition at line 89 of file PixelDataFormatter.cc.

References ErrorChecker::checkCRC(), ErrorChecker::checkHeader(), ErrorChecker::checkROC(), ErrorChecker::checkTrailer(), ErrorChecker::conversionError(), FEDRawData::data(), debug, edm::MessageDrop::debugEnabled, errorcheck, errorMatrix2Lands::header, includeErrors, edm::MessageDrop::instance(), LogDebug, LogTrace, nWords(), print(), FEDRawData::size(), theCablingTree, theWordCounter, useQualityInfo, w2, word2digi(), and WORD32_mask.

Referenced by SiPixelRawToDigi::produce().

90 {
92  int nWords = rawData.size()/sizeof(Word64);
93  if (nWords==0) return;
94 
95  SiPixelFrameConverter * converter = (theCablingTree) ?
96  new SiPixelFrameConverter(theCablingTree, fedId) : 0;
97 
98  // check CRC bit
99  const Word64* trailer = reinterpret_cast<const Word64* >(rawData.data())+(nWords-1);
100  bool CRC_OK = errorcheck.checkCRC(errorsInEvent, fedId, trailer, errors);
101 
102  if(CRC_OK) {
103  // check headers
104  const Word64* header = reinterpret_cast<const Word64* >(rawData.data()); header--;
105  bool moreHeaders = true;
106  while (moreHeaders) {
107  header++;
108  if (debug) LogTrace("")<<"HEADER: " << print(*header);
109  bool headerStatus = errorcheck.checkHeader(errorsInEvent, fedId, header, errors);
110  moreHeaders = headerStatus;
111  }
112 
113  // check trailers
114  bool moreTrailers = true;
115  trailer++;
116  while (moreTrailers) {
117  trailer--;
118  if (debug) LogTrace("")<<"TRAILER: " << print(*trailer);
119  bool trailerStatus = errorcheck.checkTrailer(errorsInEvent, fedId, nWords, trailer, errors);
120  moreTrailers = trailerStatus;
121  }
122 
123  // data words
124  theWordCounter += 2*(nWords-2);
125  if (debug) LogTrace("")<<"data words: "<< (trailer-header-1);
126  for (const Word64* word = header+1; word != trailer; word++) {
127  if (debug) LogTrace("")<<"DATA: " << print(*word);
128  Word32 w1 = *word & WORD32_mask;
129  Word32 w2 = *word >> 32 & WORD32_mask;
130  if (w1==0) theWordCounter--;
131  if (w2==0) theWordCounter--;
132 
133  // check status of word...
134  bool notErrorROC1 = errorcheck.checkROC(errorsInEvent, fedId, converter, w1, errors);
135  if (notErrorROC1) {
136  int status1 = word2digi(fedId, converter, includeErrors, useQualityInfo, w1, digis);
137  if (status1) {
138  LogDebug("PixelDataFormatter::interpretRawData")
139  << "status #" <<status1<<" returned for word1";
140  errorsInEvent = true;
141  errorcheck.conversionError(fedId, converter, status1, w1, errors);
142  }
143  }
144  bool notErrorROC2 = errorcheck.checkROC(errorsInEvent, fedId, converter, w2, errors);
145  if (notErrorROC2) {
146  int status2 = word2digi(fedId, converter, includeErrors, useQualityInfo, w2, digis);
147  if (status2) {
148  LogDebug("PixelDataFormatter::interpretRawData")
149  << "status #" <<status2<<" returned for word2";
150  errorsInEvent = true;
151  errorcheck.conversionError(fedId, converter, status2, w2, errors);
152  }
153  }
154  }
155  } // end if(CRC_OK)
156  delete converter;
157 }
#define LogDebug(id)
common ppss p3p6s2 common epss epspn46 common const1 w2
Definition: inclppp.h:1
bool checkTrailer(bool &errorsInEvent, int fedId, int nWords, const Word64 *trailer, Errors &errors)
Definition: ErrorChecker.cc:87
static MessageDrop * instance()
Definition: MessageDrop.cc:65
static bool debugEnabled
Definition: MessageDrop.h:105
bool checkROC(bool &errorsInEvent, int fedId, const SiPixelFrameConverter *converter, Word32 &errorWord, Errors &errors)
bool checkCRC(bool &errorsInEvent, int fedId, const Word64 *trailer, Errors &errors)
Definition: ErrorChecker.cc:56
std::string print(const PixelDigi &digi) const
uint64_t Word64
const PixelDataFormatter::Word64 WORD32_mask
#define LogTrace(id)
void conversionError(int fedId, const SiPixelFrameConverter *converter, int status, Word32 &errorWord, Errors &errors)
int word2digi(const int fedId, const SiPixelFrameConverter *converter, const bool includeError, const bool useQuality, const Word32 &word, Digis &digis) const
const SiPixelFedCabling * theCablingTree
bool checkHeader(bool &errorsInEvent, int fedId, const Word64 *header, Errors &errors)
Definition: ErrorChecker.cc:69
int PixelDataFormatter::nDigis ( ) const
inline

Definition at line 72 of file PixelDataFormatter.h.

References theDigiCounter.

Referenced by SiPixelDigiToRaw::produce(), and SiPixelRawToDigi::produce().

72 { return theDigiCounter; }
int PixelDataFormatter::nWords ( ) const
inline
void PixelDataFormatter::passFrameReverter ( const SiPixelFrameReverter reverter)

Definition at line 84 of file PixelDataFormatter.cc.

References theFrameReverter.

Referenced by SiPixelDigiToRaw::produce().

85 {
86  theFrameReverter = reverter;
87 }
const SiPixelFrameReverter * theFrameReverter
std::string PixelDataFormatter::print ( const PixelDigi digi) const
private

Definition at line 304 of file PixelDataFormatter.cc.

References PixelDigi::adc(), PixelDigi::column(), and PixelDigi::row().

Referenced by digi2word(), formatRawData(), interpretRawData(), and word2digi().

305 {
306  ostringstream str;
307  str << " DIGI: row: " << digi.row() <<", col: " << digi.column() <<", adc: " << digi.adc();
308  return str.str();
309 }
int row() const
Definition: PixelDigi.h:35
unsigned short adc() const
Definition: PixelDigi.h:38
int column() const
Definition: PixelDigi.h:36
std::string PixelDataFormatter::print ( const Word64 word) const
private

Definition at line 311 of file PixelDataFormatter.cc.

312 {
313  ostringstream str;
314  str <<"word64: " << reinterpret_cast<const bitset<64>&> (word);
315  return str.str();
316 }
void PixelDataFormatter::setErrorStatus ( bool  ErrorStatus)

Definition at line 67 of file PixelDataFormatter.cc.

References errorcheck, includeErrors, and ErrorChecker::setErrorStatus().

Referenced by SiPixelRawToDigi::produce().

68 {
69  includeErrors = ErrorStatus;
71 }
void setErrorStatus(bool ErrorStatus)
Definition: ErrorChecker.cc:51
void PixelDataFormatter::setModulesToUnpack ( const std::set< unsigned int > *  moduleIds)

Definition at line 79 of file PixelDataFormatter.cc.

References modulesToUnpack.

Referenced by SiPixelRawToDigi::produce().

80 {
81  modulesToUnpack = moduleIds;
82 }
const std::set< unsigned int > * modulesToUnpack
void PixelDataFormatter::setQualityStatus ( bool  QualityStatus,
const SiPixelQuality QualityInfo 
)

Definition at line 73 of file PixelDataFormatter.cc.

References badPixelInfo, and useQualityInfo.

Referenced by SiPixelRawToDigi::produce().

74 {
75  useQualityInfo = QualityStatus;
76  badPixelInfo = QualityInfo;
77 }
const SiPixelQuality * badPixelInfo
int PixelDataFormatter::word2digi ( const int  fedId,
const SiPixelFrameConverter converter,
const bool  includeError,
const bool  useQuality,
const Word32 word,
Digis digis 
) const
private

Definition at line 253 of file PixelDataFormatter.cc.

References ecalMGPA::adc(), ADC_mask, ADC_shift, badPixelInfo, sipixelobjects::DetectorIndex::col, sipixelobjects::ElectronicIndex::dcol, DCOL_mask, DCOL_shift, debug, SiPixelFedCabling::findItem(), sipixelobjects::PixelROC::idInDetUnit(), SiPixelQuality::IsRocBad(), sipixelobjects::ElectronicIndex::link, LINK_mask, LINK_shift, LogTrace, modulesToUnpack, scaleCards::path, print(), sipixelobjects::ElectronicIndex::pxid, PXID_mask, PXID_shift, sipixelobjects::DetectorIndex::rawId, sipixelobjects::ElectronicIndex::roc, ROC_mask, ROC_shift, sipixelobjects::LocalPixel::rocCol(), sipixelobjects::LocalPixel::rocRow(), sipixelobjects::DetectorIndex::row, ntuplemaker::status, theCablingTree, theDigiCounter, and SiPixelFrameConverter::toDetector().

Referenced by interpretRawData().

255 {
256  // do not interpret false digis
257  if (word == 0 ) return 0;
258 
259  ElectronicIndex cabling;
260  cabling.dcol = (word >> DCOL_shift) & DCOL_mask;
261  cabling.pxid = (word >> PXID_shift) & PXID_mask;
262  cabling.link = (word >> LINK_shift) & LINK_mask;
263  cabling.roc = (word >> ROC_shift) & ROC_mask;
264  int adc = (word >> ADC_shift) & ADC_mask;
265 
266  if (debug) {
267  LocalPixel::DcolPxid pixel = {cabling.dcol,cabling.pxid};
268  LocalPixel local(pixel);
269  LogTrace("")<<" link: "<<cabling.link<<", roc: "<<cabling.roc
270  <<" rocRow: "<<local.rocRow()<<", rocCol:"<<local.rocCol()
271  <<" (dcol: "<<cabling.dcol<<", pxid:"<<cabling.pxid<<"), adc:"<<adc;
272  }
273 
274  if (!converter) return 0;
275 
276  DetectorIndex detIdx;
277  int status = converter->toDetector(cabling, detIdx);
278  if (status) return status;
279 
280  // exclude ROC(raw) based on bad ROC list bad in SiPixelQuality
281  // enable: process.siPixelDigis.UseQualityInfo = True
282  // 20-10-2010 A.Y.
283  if (useQuality&&badPixelInfo) {
284  CablingPathToDetUnit path = {static_cast<unsigned int>(fedId),
285  static_cast<unsigned int>(cabling.link),
286  static_cast<unsigned int>(cabling.roc)};
287  const PixelROC * roc = theCablingTree->findItem(path);
288  short rocInDet = (short) roc->idInDetUnit();
289  bool badROC = badPixelInfo->IsRocBad(detIdx.rawId, rocInDet);
290  if (badROC) return 0;
291  }
292 
293  if (modulesToUnpack && modulesToUnpack->find(detIdx.rawId) == modulesToUnpack->end()) return 0;
294 
295  PixelDigi pd(detIdx.row, detIdx.col, adc);
296  digis[detIdx.rawId].push_back(pd);
297 
298  theDigiCounter++;
299 
300  if (debug) LogTrace("") << print(pd);
301  return 0;
302 }
int adc(sample_type sample)
get the ADC sample (12 bits)
virtual const sipixelobjects::PixelROC * findItem(const sipixelobjects::CablingPathToDetUnit &) const =0
const int DCOL_shift
Definition: ErrorChecker.cc:31
const ErrorChecker::Word32 DCOL_mask
Definition: ErrorChecker.cc:42
bool IsRocBad(const uint32_t &detid, const short &rocNb) const
identify pixel inside single ROC
Definition: LocalPixel.h:7
const int PXID_shift
Definition: ErrorChecker.cc:30
const PixelDataFormatter::Word32 ADC_mask
list path
Definition: scaleCards.py:51
const int LINK_shift
Definition: ErrorChecker.cc:33
const ErrorChecker::Word32 ROC_mask
Definition: ErrorChecker.cc:41
const int ADC_shift
Definition: ErrorChecker.cc:29
unsigned int idInDetUnit() const
id of this ROC in DetUnit etermined by token path
Definition: PixelROC.h:43
std::string print(const PixelDigi &digi) const
const ErrorChecker::Word32 PXID_mask
Definition: ErrorChecker.cc:43
const std::set< unsigned int > * modulesToUnpack
const SiPixelQuality * badPixelInfo
#define LogTrace(id)
double collumn and pixel ID in double collumn representation
Definition: LocalPixel.h:22
const int ROC_shift
Definition: ErrorChecker.cc:32
const ErrorChecker::Word32 LINK_mask
Definition: ErrorChecker.cc:40
int toDetector(const sipixelobjects::ElectronicIndex &cabling, sipixelobjects::DetectorIndex &detector) const
const SiPixelFedCabling * theCablingTree
tuple status
Definition: ntuplemaker.py:245

Member Data Documentation

int PixelDataFormatter::allDetDigis
private

Definition at line 91 of file PixelDataFormatter.h.

Referenced by formatRawData(), and PixelDataFormatter().

const SiPixelQuality* PixelDataFormatter::badPixelInfo
private

Definition at line 85 of file PixelDataFormatter.h.

Referenced by setQualityStatus(), and word2digi().

bool PixelDataFormatter::debug
private

Definition at line 90 of file PixelDataFormatter.h.

Referenced by interpretRawData(), and word2digi().

ErrorChecker PixelDataFormatter::errorcheck
private

Definition at line 93 of file PixelDataFormatter.h.

Referenced by interpretRawData(), and setErrorStatus().

int PixelDataFormatter::hasDetDigis
private

Definition at line 92 of file PixelDataFormatter.h.

Referenced by formatRawData(), and PixelDataFormatter().

bool PixelDataFormatter::includeErrors
private

Definition at line 88 of file PixelDataFormatter.h.

Referenced by interpretRawData(), PixelDataFormatter(), and setErrorStatus().

const std::set<unsigned int>* PixelDataFormatter::modulesToUnpack
private

Definition at line 86 of file PixelDataFormatter.h.

Referenced by setModulesToUnpack(), and word2digi().

const SiPixelFedCabling* PixelDataFormatter::theCablingTree
private

Definition at line 83 of file PixelDataFormatter.h.

Referenced by interpretRawData(), and word2digi().

int PixelDataFormatter::theDigiCounter
mutableprivate

Definition at line 80 of file PixelDataFormatter.h.

Referenced by formatRawData(), nDigis(), and word2digi().

const SiPixelFrameReverter* PixelDataFormatter::theFrameReverter
private

Definition at line 84 of file PixelDataFormatter.h.

Referenced by digi2word(), and passFrameReverter().

int PixelDataFormatter::theWordCounter
mutableprivate

Definition at line 81 of file PixelDataFormatter.h.

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

bool PixelDataFormatter::useQualityInfo
private

Definition at line 89 of file PixelDataFormatter.h.

Referenced by interpretRawData(), PixelDataFormatter(), and setQualityStatus().