CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Static Protected Attributes
ESDataFormatterV1_1 Class Reference

#include <ESDataFormatterV1_1.h>

Inheritance diagram for ESDataFormatterV1_1:
ESDataFormatter

Public Types

typedef ESDataFormatter::DetDigis DetDigis
 
typedef ESDataFormatter::Digis Digis
 
typedef ESDataFormatter::Word16 Word16
 
typedef ESDataFormatter::Word32 Word32
 
typedef ESDataFormatter::Word64 Word64
 
typedef ESDataFormatter::Word8 Word8
 
- Public Types inherited from ESDataFormatter
typedef std::vector< ESDataFrameDetDigis
 
typedef std::map< int, DetDigisDigis
 
typedef uint16_t Word16
 
typedef uint32_t Word32
 
typedef uint64_t Word64
 
typedef uint8_t Word8
 

Public Member Functions

void DigiToRaw (int fedId, Digis &digis, FEDRawData &fedRawData, const Meta_Data &meta_data) const override
 
 ESDataFormatterV1_1 (const edm::ParameterSet &ps)
 
 ~ESDataFormatterV1_1 () override
 
- Public Member Functions inherited from ESDataFormatter
 ESDataFormatter (const edm::ParameterSet &ps)
 
virtual ~ESDataFormatter ()
 

Static Protected Attributes

static const int bADC0 = 16
 
static const int bADC1 = 16
 
static const int bADC2 = 16
 
static const int bDCH = 4
 
static const int bDCOMFLAG = 8
 
static const int bDEL = 24
 
static const int bDERR = 8
 
static const int bDH = 6
 
static const int bDHEAD = 2
 
static const int bDOPTO = 8
 
static const int bDORBIT = 32
 
static const int bDRUN = 24
 
static const int bDRUNTYPE = 32
 
static const int bDTRGTYPE = 16
 
static const int bDVMAJOR = 8
 
static const int bDVMINOR = 8
 
static const int bE0 = 1
 
static const int bE1 = 1
 
static const int bFIBER = 6
 
static const int bHEAD = 2
 
static const int bKBC = 12
 
static const int bKCE = 1
 
static const int bKCRC = 1
 
static const int bKEC = 8
 
static const int bKET = 1
 
static const int bKFLAG1 = 4
 
static const int bKFLAG2 = 8
 
static const int bKHEAD1 = 2
 
static const int bKHEAD2 = 2
 
static const int bKID = 11
 
static const int bPACE = 2
 
static const int bSTRIP = 5
 
static const int sADC0 = 0
 
static const int sADC1 = bADC0 + sADC0
 
static const int sADC2 = 0
 
static const int sDCH = 0
 
static const int sDCOMFLAG = bDTRGTYPE + sDTRGTYPE
 
static const int sDEL = 0
 
static const int sDERR = bDEL + sDEL
 
static const int sDH = 24
 
static const int sDHEAD = 26
 
static const int sDOPTO = 16
 
static const int sDORBIT = 0
 
static const int sDRUN = 0
 
static const int sDRUNTYPE = 0
 
static const int sDTRGTYPE = 0
 
static const int sDVMAJOR = bDVMINOR + sDVMINOR
 
static const int sDVMINOR = 8
 
static const int sE0 = bSTRIP + sSTRIP + 1
 
static const int sE1 = bE0 + sE0
 
static const int sFIBER = bKID + sKID + 1
 
static const int sHEAD = bE1 + sE1 + 4
 
static const int sKBC = bKFLAG2 + sKFLAG2
 
static const int sKCE = bKCRC + sKCRC
 
static const int sKCRC = bKET + sKET
 
static const int sKEC = 0
 
static const int sKET = 0
 
static const int sKFLAG1 = bKBC + sKBC
 
static const int sKFLAG2 = bKEC + sKEC
 
static const int sKHEAD1 = bFIBER + sFIBER + 2
 
static const int sKHEAD2 = bKHEAD1 + sKHEAD1
 
static const int sKID = bKCE + sKCE + 5
 
static const int sPACE = bADC2 + sADC2
 
static const int sSTRIP = bPACE + sPACE
 

Additional Inherited Members

- Protected Member Functions inherited from ESDataFormatter
std::string print (const Word64 &word) const
 
std::string print (const Word16 &word) const
 
- Protected Attributes inherited from ESDataFormatter
const bool debug_
 
int formatMajor_
 
int formatMinor_
 
const bool printInHex_
 
const edm::ParameterSet pset_
 
const int trgtype_
 

Detailed Description

Definition at line 20 of file ESDataFormatterV1_1.h.

Member Typedef Documentation

◆ DetDigis

Definition at line 22 of file ESDataFormatterV1_1.h.

◆ Digis

Definition at line 23 of file ESDataFormatterV1_1.h.

◆ Word16

Definition at line 26 of file ESDataFormatterV1_1.h.

◆ Word32

Definition at line 27 of file ESDataFormatterV1_1.h.

◆ Word64

Definition at line 28 of file ESDataFormatterV1_1.h.

◆ Word8

Definition at line 25 of file ESDataFormatterV1_1.h.

Constructor & Destructor Documentation

◆ ESDataFormatterV1_1()

ESDataFormatterV1_1::ESDataFormatterV1_1 ( const edm::ParameterSet ps)

Definition at line 83 of file ESDataFormatterV1_1.cc.

83 : ESDataFormatter(ps) {}
ESDataFormatter(const edm::ParameterSet &ps)

◆ ~ESDataFormatterV1_1()

ESDataFormatterV1_1::~ESDataFormatterV1_1 ( )
override

Definition at line 85 of file ESDataFormatterV1_1.cc.

85 {}

Member Function Documentation

◆ DigiToRaw()

void ESDataFormatterV1_1::DigiToRaw ( int  fedId,
Digis digis,
FEDRawData fedRawData,
const Meta_Data meta_data 
) const
overridevirtual

Implements ESDataFormatter.

Definition at line 124 of file ESDataFormatterV1_1.cc.

References ESSample::adc(), ESDataFormatter::Meta_Data::bx, evf::compute_crc(), gather_cfg::cout, data, ESDataFormatter::debug_, l1tstage2_dqm_sourceclient-live_cfg::fedId, l1t_dqm_sourceclient-live_cfg::fedRawData, mps_fire::i, ESDataFrame::id(), l1ctLayer2EG_cff::id, ESDataFormatter::Meta_Data::lv1, ESDataFormatter::Meta_Data::orbit_number, ESDetId::plane(), ESDataFormatter::print(), ESDataFormatter::Meta_Data::run_number, sADC0, sADC1, sADC2, ESDataFrame::sample(), sDEL, sDH, sDHEAD, sDORBIT, sDRUN, sDVMAJOR, sDVMINOR, sE0, sE1, FEDHeader::set(), FEDTrailer::set(), sFIBER, sHEAD, ESDetId::six(), ESDetId::siy(), ESDataFrame::size(), sKBC, sKCE, sKCRC, sKEC, sKET, sKFLAG1, sKFLAG2, sKHEAD1, sKHEAD2, sKID, sPACE, sSTRIP, ESDetId::strip(), ESDataFormatter::trgtype_, w(), and ESDetId::zside().

124  {
125  map<int, vector<Word64> > map_data;
126  map_data.clear();
127 
128  int ts[3] = {0, 0, 0};
129  Word32 word1, word2;
130  Word64 word;
131  vector<Word64> words;
132 
133  const DetDigis& detDigis = digis[fedId];
134 
135  // if (detDigis==digis.end()) {
136  // cout << "ESDataFormatterV1_1::DigiToRaw : could not find digi vector in digis map for fedID: "
137  // << fedId << endl ;
138  // return 0;
139  // }
140 
141  for (DetDigis::const_iterator it = detDigis.begin(); it != detDigis.end(); ++it) {
142  const ESDataFrame& dataframe = (*it);
143  const ESDetId& detId = dataframe.id();
144 
145  for (int is = 0; is < dataframe.size(); ++is)
146  ts[is] = dataframe.sample(is).adc();
147 
148  // calculate fake kchip and pace id
149  int kchip = -1;
150  int pace = -1;
151  int ix = -1;
152  int iy = -1;
153 
154  ix = detId.six() % 2;
155  iy = detId.siy() % 2;
156  if (ix == 1 && iy == 1)
157  pace = 0;
158  else if (ix == 0 && iy == 1)
159  pace = 1;
160  else if (ix == 1 && iy == 0)
161  pace = 2;
162  else if (ix == 0 && iy == 0)
163  pace = 3;
164 
165  ix = (1 + detId.six()) / 2;
166  iy = (1 + detId.siy()) / 2;
167  if (detId.zside() == 1 && detId.plane() == 1)
168  kchip = ix + (iy - 1) * 20 - 1;
169  else if (detId.zside() == 1 && detId.plane() == 2)
170  kchip = ix + (iy - 1) * 20 + 399;
171  else if (detId.zside() == -1 && detId.plane() == 1)
172  kchip = ix + (iy - 1) * 20 + 799;
173  else if (detId.zside() == -1 && detId.plane() == 2)
174  kchip = ix + (iy - 1) * 20 + 1199;
175 
176  if (debug_)
177  cout << "Si : " << detId.zside() << " " << detId.plane() << " " << detId.six() << " " << detId.siy() << " "
178  << detId.strip() << " (" << kchip << "," << pace << ") " << ts[2] << " " << ts[1] << " " << ts[0] << endl;
179 
180  word1 = (ts[1] << sADC1) | (ts[0] << sADC0);
181  word2 =
182  (2 << sHEAD) | (0 << sE1) | (0 << sE0) | ((detId.strip() - 1) << sSTRIP) | (pace << sPACE) | (ts[2] << sADC2);
183  word = (Word64(word2) << 32) | Word64(word1);
184 
185  map_data[kchip].push_back(word);
186  }
187 
188  map<int, vector<Word64> >::const_iterator kit;
189  for (kit = map_data.begin(); kit != map_data.end(); ++kit) {
190  if (debug_)
191  cout << "KCHIP : " << kit->first << endl;
192 
193  word1 = (0 << sKFLAG1) | (0 << sKBC) | (0 << sKFLAG2) | (0 << sKEC);
194  word2 = (1 << sKHEAD2) | (0 << sKHEAD1) | (0 << sFIBER) | (kit->first << sKID) | (0 << sKCE) | (0 << sKCRC) |
195  (0 << sKET);
196  word = (Word64(word2) << 32) | Word64(word1);
197 
198  if (debug_)
199  cout << "KCHIP : " << print(word) << endl;
200  words.push_back(word);
201 
202  const vector<Word64>& data = kit->second;
203  for (unsigned int id = 0; id < data.size(); ++id) {
204  if (debug_)
205  cout << "Data : " << print(data[id]) << endl;
206  words.push_back(data[id]);
207  }
208  }
209 
210  int dataSize = (words.size() + 8) * sizeof(Word64);
211 
212  // DCC words
213  vector<Word64> DCCwords;
214  word2 = (0 << sDHEAD) | (1 << sDH) | (meta_data.run_number << sDRUN);
215  word1 = (dataSize << sDEL);
216  word = (Word64(word2) << 32) | Word64(word1);
217  DCCwords.push_back(word);
218  word2 = (0 << sDHEAD) | (2 << sDH);
219  word1 = 0;
220  word = (Word64(word2) << 32) | Word64(word1);
221  DCCwords.push_back(word);
222  word2 = (0 << sDHEAD) | (3 << sDH) | (1 << sDVMAJOR) | (1 << sDVMINOR);
223  word1 = (meta_data.orbit_number << sDORBIT);
224  word = (Word64(word2) << 32) | Word64(word1);
225  DCCwords.push_back(word);
226  word2 = (0 << sDHEAD) | (4 << sDH);
227  word1 = 0;
228  word = (Word64(word2) << 32) | Word64(word1);
229  DCCwords.push_back(word);
230  word2 = (0 << sDHEAD) | (5 << sDH);
231  word1 = 0;
232  word = (Word64(word2) << 32) | Word64(word1);
233  DCCwords.push_back(word);
234  word2 = (0 << sDHEAD) | (6 << sDH);
235  word1 = 0;
236  word = (Word64(word2) << 32) | Word64(word1);
237  DCCwords.push_back(word);
238 
239  // Output (data size in Bytes)
240  fedRawData.resize(dataSize);
241 
242  Word64* w = reinterpret_cast<Word64*>(fedRawData.data());
243 
244  // header
245  FEDHeader::set(reinterpret_cast<unsigned char*>(w), trgtype_, meta_data.lv1, meta_data.bx, fedId);
246  w++;
247 
248  // ES-DCC
249  for (unsigned int i = 0; i < DCCwords.size(); ++i) {
250  if (debug_)
251  cout << "DCC : " << print(DCCwords[i]) << endl;
252  *w = DCCwords[i];
253  w++;
254  }
255 
256  // event data
257  for (unsigned int i = 0; i < words.size(); ++i) {
258  *w = words[i];
259  w++;
260  }
261 
262  // trailer
263  FEDTrailer::set(reinterpret_cast<unsigned char*>(w),
264  dataSize / sizeof(Word64),
265  evf::compute_crc(fedRawData.data(), dataSize),
266  0,
267  0);
268  w++;
269 }
const ESDetId & id() const
Definition: ESDataFrame.h:19
static const int sDEL
static const int sKFLAG2
static const int sDHEAD
int size() const
Definition: ESDataFrame.h:21
T w() const
static const int sDORBIT
static const int sFIBER
static const int sDVMINOR
ESDataFormatter::DetDigis DetDigis
static const int sKCE
static const int sPACE
int zside() const
Definition: ESDetId.h:39
static const int sKHEAD1
static const int sKHEAD2
static const int sKEC
static const int sHEAD
int adc() const
get the ADC sample (singed 16 bits)
Definition: ESSample.h:16
const ESSample & sample(int i) const
Definition: ESDataFrame.h:24
uint64_t word
static const int sADC1
ESDataFormatter::Word64 Word64
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
static const int sE0
int plane() const
Definition: ESDetId.h:41
const int trgtype_
cms_uint32_t Word32
unsigned short compute_crc(unsigned char *buffer, unsigned int bufSize)
Definition: CRC16.h:46
static const int sKCRC
static const int sKID
static const int sKET
static const int sE1
static const int sKBC
static const int sADC2
static const int sDRUN
int siy() const
Definition: ESDetId.h:45
static const int sSTRIP
std::string print(const Word64 &word) const
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
const bool debug_
static const int sADC0
int six() const
Definition: ESDetId.h:43
int strip() const
Definition: ESDetId.h:47
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 const int sDH
static const int sKFLAG1
static const int sDVMAJOR
cms_uint64_t Word64

Member Data Documentation

◆ bADC0

const int ESDataFormatterV1_1::bADC0 = 16
staticprotected

Definition at line 43 of file ESDataFormatterV1_1.h.

◆ bADC1

const int ESDataFormatterV1_1::bADC1 = 16
staticprotected

Definition at line 43 of file ESDataFormatterV1_1.h.

◆ bADC2

const int ESDataFormatterV1_1::bADC2 = 16
staticprotected

Definition at line 43 of file ESDataFormatterV1_1.h.

◆ bDCH

const int ESDataFormatterV1_1::bDCH = 4
staticprotected

Definition at line 38 of file ESDataFormatterV1_1.h.

◆ bDCOMFLAG

const int ESDataFormatterV1_1::bDCOMFLAG = 8
staticprotected

Definition at line 37 of file ESDataFormatterV1_1.h.

◆ bDEL

const int ESDataFormatterV1_1::bDEL = 24
staticprotected

Definition at line 37 of file ESDataFormatterV1_1.h.

◆ bDERR

const int ESDataFormatterV1_1::bDERR = 8
staticprotected

Definition at line 37 of file ESDataFormatterV1_1.h.

◆ bDH

const int ESDataFormatterV1_1::bDH = 6
staticprotected

Definition at line 37 of file ESDataFormatterV1_1.h.

◆ bDHEAD

const int ESDataFormatterV1_1::bDHEAD = 2
staticprotected

Definition at line 37 of file ESDataFormatterV1_1.h.

◆ bDOPTO

const int ESDataFormatterV1_1::bDOPTO = 8
staticprotected

Definition at line 38 of file ESDataFormatterV1_1.h.

◆ bDORBIT

const int ESDataFormatterV1_1::bDORBIT = 32
staticprotected

Definition at line 37 of file ESDataFormatterV1_1.h.

◆ bDRUN

const int ESDataFormatterV1_1::bDRUN = 24
staticprotected

Definition at line 37 of file ESDataFormatterV1_1.h.

◆ bDRUNTYPE

const int ESDataFormatterV1_1::bDRUNTYPE = 32
staticprotected

Definition at line 37 of file ESDataFormatterV1_1.h.

◆ bDTRGTYPE

const int ESDataFormatterV1_1::bDTRGTYPE = 16
staticprotected

Definition at line 37 of file ESDataFormatterV1_1.h.

◆ bDVMAJOR

const int ESDataFormatterV1_1::bDVMAJOR = 8
staticprotected

Definition at line 38 of file ESDataFormatterV1_1.h.

◆ bDVMINOR

const int ESDataFormatterV1_1::bDVMINOR = 8
staticprotected

Definition at line 38 of file ESDataFormatterV1_1.h.

◆ bE0

const int ESDataFormatterV1_1::bE0 = 1
staticprotected

Definition at line 43 of file ESDataFormatterV1_1.h.

◆ bE1

const int ESDataFormatterV1_1::bE1 = 1
staticprotected

Definition at line 43 of file ESDataFormatterV1_1.h.

◆ bFIBER

const int ESDataFormatterV1_1::bFIBER = 6
staticprotected

Definition at line 41 of file ESDataFormatterV1_1.h.

◆ bHEAD

const int ESDataFormatterV1_1::bHEAD = 2
staticprotected

Definition at line 43 of file ESDataFormatterV1_1.h.

◆ bKBC

const int ESDataFormatterV1_1::bKBC = 12
staticprotected

Definition at line 41 of file ESDataFormatterV1_1.h.

◆ bKCE

const int ESDataFormatterV1_1::bKCE = 1
staticprotected

Definition at line 41 of file ESDataFormatterV1_1.h.

◆ bKCRC

const int ESDataFormatterV1_1::bKCRC = 1
staticprotected

Definition at line 41 of file ESDataFormatterV1_1.h.

◆ bKEC

const int ESDataFormatterV1_1::bKEC = 8
staticprotected

Definition at line 41 of file ESDataFormatterV1_1.h.

◆ bKET

const int ESDataFormatterV1_1::bKET = 1
staticprotected

Definition at line 41 of file ESDataFormatterV1_1.h.

◆ bKFLAG1

const int ESDataFormatterV1_1::bKFLAG1 = 4
staticprotected

Definition at line 41 of file ESDataFormatterV1_1.h.

◆ bKFLAG2

const int ESDataFormatterV1_1::bKFLAG2 = 8
staticprotected

Definition at line 41 of file ESDataFormatterV1_1.h.

◆ bKHEAD1

const int ESDataFormatterV1_1::bKHEAD1 = 2
staticprotected

Definition at line 41 of file ESDataFormatterV1_1.h.

◆ bKHEAD2

const int ESDataFormatterV1_1::bKHEAD2 = 2
staticprotected

Definition at line 41 of file ESDataFormatterV1_1.h.

◆ bKID

const int ESDataFormatterV1_1::bKID = 11
staticprotected

Definition at line 41 of file ESDataFormatterV1_1.h.

◆ bPACE

const int ESDataFormatterV1_1::bPACE = 2
staticprotected

Definition at line 43 of file ESDataFormatterV1_1.h.

◆ bSTRIP

const int ESDataFormatterV1_1::bSTRIP = 5
staticprotected

Definition at line 43 of file ESDataFormatterV1_1.h.

◆ sADC0

const int ESDataFormatterV1_1::sADC0 = 0
staticprotected

Definition at line 44 of file ESDataFormatterV1_1.h.

Referenced by DigiToRaw().

◆ sADC1

const int ESDataFormatterV1_1::sADC1 = bADC0 + sADC0
staticprotected

Definition at line 44 of file ESDataFormatterV1_1.h.

Referenced by DigiToRaw().

◆ sADC2

const int ESDataFormatterV1_1::sADC2 = 0
staticprotected

Definition at line 44 of file ESDataFormatterV1_1.h.

Referenced by DigiToRaw().

◆ sDCH

const int ESDataFormatterV1_1::sDCH = 0
staticprotected

Definition at line 40 of file ESDataFormatterV1_1.h.

◆ sDCOMFLAG

const int ESDataFormatterV1_1::sDCOMFLAG = bDTRGTYPE + sDTRGTYPE
staticprotected

Definition at line 39 of file ESDataFormatterV1_1.h.

◆ sDEL

const int ESDataFormatterV1_1::sDEL = 0
staticprotected

Definition at line 39 of file ESDataFormatterV1_1.h.

Referenced by DigiToRaw().

◆ sDERR

const int ESDataFormatterV1_1::sDERR = bDEL + sDEL
staticprotected

Definition at line 39 of file ESDataFormatterV1_1.h.

◆ sDH

const int ESDataFormatterV1_1::sDH = 24
staticprotected

Definition at line 39 of file ESDataFormatterV1_1.h.

Referenced by DigiToRaw().

◆ sDHEAD

const int ESDataFormatterV1_1::sDHEAD = 26
staticprotected

Definition at line 39 of file ESDataFormatterV1_1.h.

Referenced by DigiToRaw().

◆ sDOPTO

const int ESDataFormatterV1_1::sDOPTO = 16
staticprotected

Definition at line 40 of file ESDataFormatterV1_1.h.

◆ sDORBIT

const int ESDataFormatterV1_1::sDORBIT = 0
staticprotected

Definition at line 39 of file ESDataFormatterV1_1.h.

Referenced by DigiToRaw().

◆ sDRUN

const int ESDataFormatterV1_1::sDRUN = 0
staticprotected

Definition at line 39 of file ESDataFormatterV1_1.h.

Referenced by DigiToRaw().

◆ sDRUNTYPE

const int ESDataFormatterV1_1::sDRUNTYPE = 0
staticprotected

Definition at line 39 of file ESDataFormatterV1_1.h.

◆ sDTRGTYPE

const int ESDataFormatterV1_1::sDTRGTYPE = 0
staticprotected

Definition at line 39 of file ESDataFormatterV1_1.h.

◆ sDVMAJOR

const int ESDataFormatterV1_1::sDVMAJOR = bDVMINOR + sDVMINOR
staticprotected

Definition at line 40 of file ESDataFormatterV1_1.h.

Referenced by DigiToRaw().

◆ sDVMINOR

const int ESDataFormatterV1_1::sDVMINOR = 8
staticprotected

Definition at line 40 of file ESDataFormatterV1_1.h.

Referenced by DigiToRaw().

◆ sE0

const int ESDataFormatterV1_1::sE0 = bSTRIP + sSTRIP + 1
staticprotected

Definition at line 44 of file ESDataFormatterV1_1.h.

Referenced by DigiToRaw().

◆ sE1

const int ESDataFormatterV1_1::sE1 = bE0 + sE0
staticprotected

Definition at line 44 of file ESDataFormatterV1_1.h.

Referenced by DigiToRaw().

◆ sFIBER

const int ESDataFormatterV1_1::sFIBER = bKID + sKID + 1
staticprotected

Definition at line 42 of file ESDataFormatterV1_1.h.

Referenced by DigiToRaw().

◆ sHEAD

const int ESDataFormatterV1_1::sHEAD = bE1 + sE1 + 4
staticprotected

Definition at line 44 of file ESDataFormatterV1_1.h.

Referenced by DigiToRaw().

◆ sKBC

const int ESDataFormatterV1_1::sKBC = bKFLAG2 + sKFLAG2
staticprotected

Definition at line 42 of file ESDataFormatterV1_1.h.

Referenced by DigiToRaw().

◆ sKCE

const int ESDataFormatterV1_1::sKCE = bKCRC + sKCRC
staticprotected

Definition at line 42 of file ESDataFormatterV1_1.h.

Referenced by DigiToRaw().

◆ sKCRC

const int ESDataFormatterV1_1::sKCRC = bKET + sKET
staticprotected

Definition at line 42 of file ESDataFormatterV1_1.h.

Referenced by DigiToRaw().

◆ sKEC

const int ESDataFormatterV1_1::sKEC = 0
staticprotected

Definition at line 42 of file ESDataFormatterV1_1.h.

Referenced by DigiToRaw().

◆ sKET

const int ESDataFormatterV1_1::sKET = 0
staticprotected

Definition at line 42 of file ESDataFormatterV1_1.h.

Referenced by DigiToRaw().

◆ sKFLAG1

const int ESDataFormatterV1_1::sKFLAG1 = bKBC + sKBC
staticprotected

Definition at line 42 of file ESDataFormatterV1_1.h.

Referenced by DigiToRaw().

◆ sKFLAG2

const int ESDataFormatterV1_1::sKFLAG2 = bKEC + sKEC
staticprotected

Definition at line 42 of file ESDataFormatterV1_1.h.

Referenced by DigiToRaw().

◆ sKHEAD1

const int ESDataFormatterV1_1::sKHEAD1 = bFIBER + sFIBER + 2
staticprotected

Definition at line 42 of file ESDataFormatterV1_1.h.

Referenced by DigiToRaw().

◆ sKHEAD2

const int ESDataFormatterV1_1::sKHEAD2 = bKHEAD1 + sKHEAD1
staticprotected

Definition at line 42 of file ESDataFormatterV1_1.h.

Referenced by DigiToRaw().

◆ sKID

const int ESDataFormatterV1_1::sKID = bKCE + sKCE + 5
staticprotected

Definition at line 42 of file ESDataFormatterV1_1.h.

Referenced by DigiToRaw().

◆ sPACE

const int ESDataFormatterV1_1::sPACE = bADC2 + sADC2
staticprotected

Definition at line 44 of file ESDataFormatterV1_1.h.

Referenced by DigiToRaw().

◆ sSTRIP

const int ESDataFormatterV1_1::sSTRIP = bPACE + sPACE
staticprotected

Definition at line 44 of file ESDataFormatterV1_1.h.

Referenced by DigiToRaw().